summaryrefslogtreecommitdiff
path: root/include/configs/omap3_overo.h
diff options
context:
space:
mode:
authorAsh Charles <ashcharles@gmail.com>2014-05-21 14:04:50 -0700
committerTom Rini <trini@ti.com>2014-05-23 16:12:02 -0400
commitbcb2cf1b5af517910f7a0bf9748751247ff704aa (patch)
treee2acbc91dbaafe6f62883ceb6004013209a3dd17 /include/configs/omap3_overo.h
parente5c809d785a740345532b9f8e58ee80f6b28222a (diff)
downloadu-boot-imx-bcb2cf1b5af517910f7a0bf9748751247ff704aa.zip
u-boot-imx-bcb2cf1b5af517910f7a0bf9748751247ff704aa.tar.gz
u-boot-imx-bcb2cf1b5af517910f7a0bf9748751247ff704aa.tar.bz2
OMAP3: overo: eliminate hard-coded partition offsets
The linux kernel is at nand0,3 using the current layout, but is best accessed through the partition label "linux". Since CONFIG_CMD_MTDPARTS is defined the CONFIG_JFFS2 settings are unreferenced; use "setenv partition rootfs" to set the default mtd partition for jffs2. Signed-off-by: Peter A. Bigot <pab@pabigot.com> Tested-by: Ash Charles <ash@gumstix.com>
Diffstat (limited to 'include/configs/omap3_overo.h')
-rw-r--r--include/configs/omap3_overo.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index 321e110..706c8cc 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -154,14 +154,6 @@
/* at CS0 */
#define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND */
/* devices */
-#define CONFIG_JFFS2_NAND
-/* nand device jffs2 lives on */
-#define CONFIG_JFFS2_DEV "nand0"
-/* start of jffs2 partition */
-#define CONFIG_JFFS2_PART_OFFSET 0x680000
-#define CONFIG_JFFS2_PART_SIZE 0xf980000 /* size of jffs2 */
- /* partition */
-
/* Environment information */
#define CONFIG_BOOTDELAY 5
@@ -207,7 +199,7 @@
"bootm ${loadaddr}\0" \
"nandboot=echo Booting from nand ...; " \
"run nandargs; " \
- "nand read ${loadaddr} 280000 400000; " \
+ "nand read ${loadaddr} linux; " \
"bootm ${loadaddr}\0" \
#define CONFIG_BOOTCOMMAND \