[U-Boot-Users] address question in lib_ppc/board.c
wyu hotmail
santerash at hotmail.com
Wed Jun 2 14:52:04 CEST 2004
Hi,
I'm porting my custom PPC405EP board from bubinga405ep board, now I have a
question about macro CFG_MONITOR_BASE:
In include/configs/BUBINGA405EP.h, CFG_MONITOR_BASE was defined as
0xFFF80000, base address of FLASH.
in function board_init_f:
len = (ulong)&_end - CFG_MONITOR_BASE;
Here, _led is 0xfffaca58
But in function board_init_r:
gd->reloc_off = dest_addr - CFG_MONITOR_BASE;
Here, dest_addr is an address in SDRAM, in my board, dest_addr = 0x1fd3000,
that is, dest_addr < CFG_MONITOR_BASE. How to understand this?
Thanks,
yuwp
More information about the U-Boot
mailing list