[U-Boot] [PATCH 5/9] mpc8641: make DIAG_ADDR == FLASH_BASE

Becky Bruce becky.bruce at freescale.com
Wed Nov 5 21:55:33 CET 2008


Currently, that's what it is, but it's hardcoded.

Signed-off-by: Becky Bruce <becky.bruce at freescale.com>
---
 include/configs/MPC8641HPCN.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index d77f0fc..0a6d5f9 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -40,7 +40,7 @@
 #define CONFIG_LINUX_RESET_VEC	0x100	/* Reset vector used by Linux */
 
 #ifdef RUN_DIAG
-#define CONFIG_SYS_DIAG_ADDR	     0xff800000
+#define CONFIG_SYS_DIAG_ADDR	     CONFIG_SYS_FLASH_BASE
 #endif
 
 #define CONFIG_SYS_RESET_ADDRESS    0xfff00100
-- 
1.5.5.1



More information about the U-Boot mailing list