Skip to content

Commit

Permalink
[POWERPC] 83xx: Make 83xx perfmon support selectable
Browse files Browse the repository at this point in the history
Not all e300 cores support the performance monitors, and the ones
that don't will be confused by the mf/mtpmr instructions.  This
allows the support to be optional, so the 8349 can turn it off
while the 8379 can turn it on.  Sadly, those aren't config options,
so it will be left to the defconfigs and the users to make that
determination.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Andy Fleming authored and Kumar Gala committed Mar 10, 2008
1 parent 1757f2d commit ad562c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion arch/powerpc/platforms/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ config PPC_83xx
select FSL_SOC
select MPC83xx
select IPIC
select FSL_EMB_PERFMON

config PPC_86xx
bool "Freescale 86xx"
Expand Down
7 changes: 6 additions & 1 deletion arch/powerpc/platforms/Kconfig.cputype
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@ config FSL_BOOKE
default y

config FSL_EMB_PERFMON
bool
bool "Freescale Embedded Perfmon"
depends on E500 || PPC_83xx
help
This is the Performance Monitor support found on the e500 core
and some e300 cores (c3 and c4). Select this only if your
core supports the Embedded Performance Monitor APU

config PTE_64BIT
bool
Expand Down

0 comments on commit ad562c7

Please sign in to comment.