]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Blackfin: post: setup default CONFIG_SYS_POST_WORD_ADDR
authorMike Frysinger <vapier@gentoo.org>
Mon, 9 May 2011 23:37:55 +0000 (19:37 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 12 Jul 2011 06:17:45 +0000 (02:17 -0400)
Set the default post word location to an L1 data location for all
Blackfin parts so things "just work" for most people.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/config.h
include/configs/bf537-stamp.h

index 89814cd5853b11bc9f59519c827027359e9b11a5..bc3c25215f22b1d4f92e0095dee296ad67642cba 100644 (file)
 #ifndef CONFIG_SYS_MEMTEST_END
 # define CONFIG_SYS_MEMTEST_END (CONFIG_STACKBASE - 8192 + 4)
 #endif
+#ifndef CONFIG_SYS_POST_WORD_ADDR
+# define CONFIG_SYS_POST_WORD_ADDR (L1_DATA_B_SRAM + L1_DATA_B_SRAM_SIZE - 4)
+#endif
 
 /* Check to make sure everything fits in external RAM */
 #if CONFIG_SYS_MAX_RAM_SIZE && \
index c31e914f86fff3a7d4d176331ebcd91b39d98376..da14a4f06b58b9289a4d5266aa76309ab48245db 100644 (file)
 #define FLASH_START_POST_BLOCK 11      /* Should > = 11 */
 #define FLASH_END_POST_BLOCK   71      /* Should < = 71 */
 #endif
-#define CONFIG_SYS_POST_WORD_ADDR      0xFF903FFC
 
 /* These are for board tests */
 #if 0