summaryrefslogtreecommitdiff
path: root/lib_arm
diff options
context:
space:
mode:
Diffstat (limited to 'lib_arm')
-rw-r--r--lib_arm/board.c7
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)