diff options
author | Scott Sweeny <scott.sweeny@timesys.com> | 2009-05-01 17:07:42 -0400 |
---|---|---|
committer | Scott Sweeny <scott.sweeny@timesys.com> | 2009-05-01 17:07:42 -0400 |
commit | 56829283f4cd2bde16116a474cac1156c9761477 (patch) | |
tree | bb98e507a815dbe6aee44ad9cc398acfd500f681 /lib_arm | |
parent | 3dc50005c0cbd385a3c6e4896f4080e310e6bca4 (diff) |
Add support for syncing NOR flash
This patch originally from LogicPD OMAP35x Release 1.5.0
Original Patch Name: u-boot-1.1.4-omap3430-lv-som-28-lolo-nor-sync.patch
Diffstat (limited to 'lib_arm')
-rw-r--r-- | lib_arm/board.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c index 69f231c4760..7d2cab61d5a 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -318,6 +318,13 @@ void start_armboot (void) /* armboot_start is defined in the board-specific linker script */ mem_malloc_init (_armboot_start - CFG_MALLOC_LEN); +#ifdef CFG_FIX_FLASH_SYNC + { + extern void fix_flash_sync(); + fix_flash_sync(); + } +#endif + #if (CONFIG_COMMANDS & CFG_CMD_NAND) #ifdef ENV_IS_VARIABLE if (is_nand) |