]> git.dujemihanovic.xyz Git - u-boot.git/commit
ppc4xx: Add routine to retrieve CPU number
authorAdam Graham <agraham@amcc.com>
Wed, 8 Oct 2008 17:13:19 +0000 (10:13 -0700)
committerStefan Roese <sr@denx.de>
Tue, 21 Oct 2008 15:34:56 +0000 (17:34 +0200)
commitc9c11d751e4242cf29c3c3c290d971f6d0cb1d15
tree0853e69da0ba907deb4a96da879f814da8a9cdce
parent59217bae40e90982ab5400d849c08af683ace036
ppc4xx: Add routine to retrieve CPU number

Provide a weak defined routine to retrieve the CPU number for
reference boards that have multiple CPU's.  Default behavior
is the existing single CPU print output.  Reference boards with
multiple CPU's need to provide a board specific routine.
See board/amcc/arches/arches.c for an example.

Signed-off-by: Adam Graham <agraham@amcc.com>
Signed-off-by: Victor Gallardo <vgallardo@amcc.com>
Signed-off-by: Stefan Roese <sr@denx.de>
cpu/ppc4xx/cpu.c
include/ppc4xx.h