浏览代码

Fix lowboot support on MCC200 board

Wolfgang Denk 19 年之前
父节点
当前提交
f149d8643e
共有 3 个文件被更改,包括 7 次插入1 次删除
  1. 2 0
      CHANGELOG
  2. 1 1
      Makefile
  3. 4 0
      include/configs/mcc200.h

+ 2 - 0
CHANGELOG

@@ -2,6 +2,8 @@
 Changes since U-Boot 1.1.4:
 Changes since U-Boot 1.1.4:
 ======================================================================
 ======================================================================
 
 
+* Fix lowboot support on MCC200 board
+
 * Coding Style cleanup
 * Coding Style cleanup
 
 
 * Write RTC seconds first to maintain settings integrity per
 * Write RTC seconds first to maintain settings integrity per

+ 1 - 1
Makefile

@@ -326,7 +326,7 @@ mcc200_config	\
 mcc200_lowboot_config:	unconfig
 mcc200_lowboot_config:	unconfig
 	@ >include/config.h
 	@ >include/config.h
 	@[ -z "$(findstring lowboot_,$@)" ] || \
 	@[ -z "$(findstring lowboot_,$@)" ] || \
-		{ echo "TEXT_BASE = 0xFE000000" >board/mcc200/config.tmp ; \
+		{ echo "TEXT_BASE = 0xFC000000" >board/mcc200/config.tmp ; \
 		  echo "... with lowboot configuration" ; \
 		  echo "... with lowboot configuration" ; \
 		}
 		}
 	@./mkconfig mcc200 ppc mpc5xxx mcc200
 	@./mkconfig mcc200 ppc mpc5xxx mcc200

+ 4 - 0
include/configs/mcc200.h

@@ -172,6 +172,10 @@
 
 
 #define CONFIG_ENV_OVERWRITE	1	/* allow modification of vendor params */
 #define CONFIG_ENV_OVERWRITE	1	/* allow modification of vendor params */
 
 
+#if TEXT_BASE == CFG_FLASH_BASE
+#define CFG_LOWBOOT	1
+#endif
+
 /*
 /*
  * Memory map
  * Memory map
  */
  */