move the flash setup to "#ifndef CONFIG_SYS_NO_FLASH"
PATCH 1/1 move the flash setup to "#ifndef CONFIG_SYS_NO_FLASH"
From: Xiangfu Liu <[email protected]>
Hi Wolfgang Denk
in my Ben Nanonote board. there is no flash. I got a error about no "CONFIG_SYS_FLASH_BASE" define. so I move this line to "#ifndef CONFIG_SYS_NO_FLASH"
I have tested with "MAKEALL". no warning or error relate this patch.
this patch is base on [master] branch commit:
1f82ff4777f360e92aa37bbbed647f7b9d9d2044
--- arch/mips/lib/board.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/lib/board.c +1 -1
@@ -349,9 +349,9 @@ void board_init_r (gd_t *id, ulong dest_addr) size =flash_init ();display_flash_config (size); bd->bi_flashsize = size; + bd->bi_flashstart =CONFIG_SYS_FLASH_BASE ;#endif - bd->bi_flashstart =CONFIG_SYS_FLASH_BASE ;#if CONFIG_SYS_MONITOR_BASE ==CONFIG_SYS_FLASH_BASE bd->bi_flashoffset = monitor_flash_len;/* reserved area for U-Boot */ #else
Signature · 1 line
1.7.1
PATCH 1/1 move the flash setup to "#ifndef CONFIG_SYS_NO_FLASH"
Dear xiangfu,
Quoted 7 lines · In message <[email protected]> you…
From: Xiangfu Liu <[email protected]>
Hi Wolfgang Denk
in my Ben Nanonote board. there is no flash. I got a error about no "
CONFIG_SYS_FLASH_BASE" define. so I move this line to "#ifndefCONFIG_SYS_NO_FLASH"
Is there any specific reason for posting the same message 4 times from two different mail addresses?
Please stop doing this!
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de You can fool some of the people all of the time, and You can fool all of the people some of the time, but You can't fool mom.
PATCH 1/1 move the flash setup to "#ifndef CONFIG_SYS_NO_FLASH"
oh. very sorry about the same message.
the "git send-emails" give me some error.
so I thought the email don't sended.
thanks for let me know :)
Quoted 20 lines · Wolfgang Denk
Dear xiangfu,
Quoted 7 lines · In message<[email protected]> you…
From: Xiangfu Liu<[email protected]>
Hi Wolfgang Denk
in my Ben Nanonote board. there is no flash. I got a error about no "
CONFIG_SYS_FLASH_BASE" define. so I move this line to "#ifndefCONFIG_SYS_NO_FLASH"Is there any specific reason for posting the same message 4 times from two different mail addresses?
Please stop doing this!
Best regards,
Wolfgang Denk
Signature · 3 lines
Best Regards Xiangfu Liu http://www.openmobilefree.net