Commit bcb2cf1b5af517910f7a0bf9748751247ff704aa

Authored by Ash Charles
Committed by Tom Rini
1 parent e5c809d785

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>

Showing 1 changed file with 1 additions and 9 deletions Side-by-side Diff

include/configs/omap3_overo.h
... ... @@ -154,14 +154,6 @@
154 154 /* at CS0 */
155 155 #define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND */
156 156 /* devices */
157   -#define CONFIG_JFFS2_NAND
158   -/* nand device jffs2 lives on */
159   -#define CONFIG_JFFS2_DEV "nand0"
160   -/* start of jffs2 partition */
161   -#define CONFIG_JFFS2_PART_OFFSET 0x680000
162   -#define CONFIG_JFFS2_PART_SIZE 0xf980000 /* size of jffs2 */
163   - /* partition */
164   -
165 157 /* Environment information */
166 158 #define CONFIG_BOOTDELAY 5
167 159  
... ... @@ -207,7 +199,7 @@
207 199 "bootm ${loadaddr}\0" \
208 200 "nandboot=echo Booting from nand ...; " \
209 201 "run nandargs; " \
210   - "nand read ${loadaddr} 280000 400000; " \
  202 + "nand read ${loadaddr} linux; " \
211 203 "bootm ${loadaddr}\0" \
212 204  
213 205 #define CONFIG_BOOTCOMMAND \