diff options
author | Detlev Zundel | 2010-01-22 14:47:59 +0100 |
---|---|---|
committer | Wolfgang Denk | 2010-01-24 15:29:29 +0100 |
commit | 82826d5422331e9c99e5408dcf0348c8e0c257a6 (patch) | |
tree | e1604684fe1919c1069494a8e1fec0253c840404 /lib_ppc | |
parent | a84b655fab2bc021fdafa91d1196cf826474cdd8 (diff) |
mpc512x: Add display of reset status register
Content of the RSR is put into gd early so we can output it together
with the CPU info. The clearing of gd in board_init_f is redundant for
this architecture as it is done in cpu_init_f so we remove it.
Signed-off-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'lib_ppc')
-rw-r--r-- | lib_ppc/board.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c index dd22f99c679..2889b2c2c51 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -1,5 +1,5 @@ /* - * (C) Copyright 2000-2006 + * (C) Copyright 2000-2010 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * See file CREDITS for list of people who contributed to this @@ -378,8 +378,9 @@ void board_init_f (ulong bootflag) /* compiler optimization barrier needed for GCC >= 3.4 */ __asm__ __volatile__("": : :"memory"); -#if !defined(CONFIG_CPM2) && !defined(CONFIG_MPC83xx) && \ - !defined(CONFIG_MPC85xx) && !defined(CONFIG_MPC86xx) +#if !defined(CONFIG_CPM2) && !defined(CONFIG_MPC512X) && \ + !defined(CONFIG_MPC83xx) && !defined(CONFIG_MPC85xx) && \ + !defined(CONFIG_MPC86xx) /* Clear initial global data */ memset ((void *) gd, 0, sizeof (gd_t)); #endif |