[U-Boot-Users] [PATCH] MPC85XX Monitor Length Reduction
Jon Loeliger
jdl at freescale.com
Mon Nov 1 18:21:27 CET 2004
Wolfgang,
Here is a small patch for the MPC85XX ADS and CDS boards
that reverts the MONITOR_LEN back to 256Meg to avoid issues
with the environment area being locked in flash.
Thanks,
jdl
* Patch by Jon Loeliger, 01-Nov-2004
Revert MONITOR_LEN to 256M on MPC85XX ADS and CDS boards
to avoid issues with locked environment in flash.
diff -u --exclude=CVS -r u-boot-public-cvs/u-boot-20041018/include/configs/MPC8540ADS.h internal-development/u-boot-pq3/include/configs/MPC8540ADS.h
--- u-boot-public-cvs/u-boot-20041018/include/configs/MPC8540ADS.h 2004-10-10 15:23:59.000000000 -0500
+++ internal-development/u-boot-pq3/include/configs/MPC8540ADS.h 2004-08-30 13:48:44.000000000 -0500
@@ -264,8 +264,8 @@
#define CFG_GBL_DATA_OFFSET (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE)
#define CFG_INIT_SP_OFFSET CFG_GBL_DATA_OFFSET
-#define CFG_MONITOR_LEN (512 * 1024) /* Reserve 256 kB for Mon */
+#define CFG_MONITOR_LEN (256 * 1024) /* Reserve 256 kB for Mon */
#define CFG_MALLOC_LEN (128 * 1024) /* Reserved for malloc */
/* Serial Port */
diff -u --exclude=CVS -r u-boot-public-cvs/u-boot-20041018/include/configs/MPC8541CDS.h internal-development/u-boot-pq3/include/configs/MPC8541CDS.h
--- u-boot-public-cvs/u-boot-20041018/include/configs/MPC8541CDS.h 2004-10-10 16:27:34.000000000 -0500
+++ internal-development/u-boot-pq3/include/configs/MPC8541CDS.h 2004-10-21 13:52:03.000000000 -0500
@@ -248,7 +248,7 @@
#define CFG_GBL_DATA_OFFSET (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE)
#define CFG_INIT_SP_OFFSET CFG_GBL_DATA_OFFSET
-#define CFG_MONITOR_LEN (512 * 1024) /* Reserve 512 kB for Mon */
+#define CFG_MONITOR_LEN (256 * 1024) /* Reserve 256 kB for Mon */
#define CFG_MALLOC_LEN (128 * 1024) /* Reserved for malloc */
/* Serial Port */
diff -u --exclude=CVS -r u-boot-public-cvs/u-boot-20041018/include/configs/MPC8555CDS.h internal-development/u-boot-pq3/include/configs/MPC8555CDS.h
--- u-boot-public-cvs/u-boot-20041018/include/configs/MPC8555CDS.h 2004-10-10 16:27:34.000000000 -0500
+++ internal-development/u-boot-pq3/include/configs/MPC8555CDS.h 2004-10-21 13:52:03.000000000 -0500
@@ -248,7 +248,7 @@
#define CFG_GBL_DATA_OFFSET (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE)
#define CFG_INIT_SP_OFFSET CFG_GBL_DATA_OFFSET
-#define CFG_MONITOR_LEN (512 * 1024) /* Reserve 512 kB for Mon */
+#define CFG_MONITOR_LEN (256 * 1024) /* Reserve 256 kB for Mon */
#define CFG_MALLOC_LEN (128 * 1024) /* Reserved for malloc */
/* Serial Port */
diff -u --exclude=CVS -r u-boot-public-cvs/u-boot-20041018/include/configs/MPC8560ADS.h internal-development/u-boot-pq3/include/configs/MPC8560ADS.h
--- u-boot-public-cvs/u-boot-20041018/include/configs/MPC8560ADS.h 2004-10-10 15:24:00.000000000 -0500
+++ internal-development/u-boot-pq3/include/configs/MPC8560ADS.h 2004-08-30 13:48:44.000000000 -0500
@@ -267,8 +267,8 @@
#define CFG_GBL_DATA_OFFSET (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE)
#define CFG_INIT_SP_OFFSET CFG_GBL_DATA_OFFSET
-#define CFG_MONITOR_LEN (512 * 1024) /* Reserve 256 kB for Mon */
+#define CFG_MONITOR_LEN (256 * 1024) /* Reserve 256 kB for Mon */
#define CFG_MALLOC_LEN (128 * 1024) /* Reserved for malloc */
/* Serial Port */
More information about the U-Boot
mailing list