summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c')
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c b/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
index f9c09824d1..d81133229d 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
@@ -107,8 +107,10 @@
#include <bsp/irq.h>
#if defined(HAS_UBOOT)
-bd_t *uboot_bdinfo_ptr = (bd_t *)1; /* will be overwritten from startup code */
-bd_t uboot_bdinfo_copy; /* will be overwritten with copy of bdinfo */
+/* will be overwritten from startup code */
+bd_t *bsp_uboot_board_info_ptr = (bd_t *)1;
+/* will be overwritten with copy of board information */
+bd_t bsp_uboot_board_info;
#endif
/*
@@ -142,14 +144,13 @@ void bsp_start(void)
myCpuRevision = get_ppc_cpu_revision();
#if defined(HAS_UBOOT)
- uboot_bdinfo_copy = *uboot_bdinfo_ptr;
- uboot_bdinfo_ptr = &uboot_bdinfo_copy;
+ bsp_uboot_board_info = *bsp_uboot_board_info_ptr;
#endif
#if defined(HAS_UBOOT) && defined(SHOW_MORE_INIT_SETTINGS)
{
void dumpUBootBDInfo( bd_t * );
- dumpUBootBDInfo( uboot_bdinfo_ptr );
+ dumpUBootBDInfo( bsp_uboot_board_info_ptr );
}
#endif