summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2023-02-06 21:33:53 +0300
committerChristophe Leroy <christophe.leroy@csgroup.eu>2023-02-11 10:47:58 +0300
commit7df55bb9b58b325b2aaa902c724826e4c30492f1 (patch)
treea3895aebbfb89445cfbbe953bd36852c4b879b37 /include
parentd126006635aa345269d8502a90f634e89742ae85 (diff)
downloadu-boot-7df55bb9b58b325b2aaa902c724826e4c30492f1.tar.xz
board: MCR3000: Modernise the settings to properly work on lastest u-boot version
Both U-boot and Linux kernel have grown over the last releases and don't fit anymore in the 2M EPROM of the board. So, rework the setup to allow storing the Linux kernel image on the UBIFS NAND Flash. Also add support to FIT images as this is what the Linux kernel look like nowadays. Also increase CFG_SYS_BOOTMAPSZ to 32Mbytes and define CONFIG_SYS_BOOTM_LEN with the same value, otherwise it defaults to 8M which is not sufficient anymore with nowadays Linux kernels. And set the netmask to 255.255.255.0 as a class C address is used. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Reviewed-by: FRANJOU Stephane <stephane.franjou@csgroup.eu>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mcr3000.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/mcr3000.h b/include/configs/mcr3000.h
index 8d78fd362a..6b16b050ff 100644
--- a/include/configs/mcr3000.h
+++ b/include/configs/mcr3000.h
@@ -23,10 +23,10 @@
/*
* For booting Linux, the board info and command line data
- * have to be in the first 8 MB of memory, since this is
+ * have to be in the first 32 MB of memory, since this is
* the maximum mapped by the Linux kernel during initialization.
*/
-#define CFG_SYS_BOOTMAPSZ (8 << 20)
+#define CFG_SYS_BOOTMAPSZ (32 << 20)
/* Environment Configuration */