aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Grinberg2013-04-21 20:06:55 -0500
committerTom Rini2013-05-10 07:25:56 -0500
commit0b800a6b267de24466ca5a463db6497d7362f128 (patch)
tree33674516805583668dcc52667890da0f9d4df8b5
parent26528632aa16ba8d6368fa872f9ea1ad9973bf86 (diff)
downloadu-boot-0b800a6b267de24466ca5a463db6497d7362f128.tar.gz
u-boot-0b800a6b267de24466ca5a463db6497d7362f128.tar.xz
u-boot-0b800a6b267de24466ca5a463db6497d7362f128.zip
cm-t35: update config file
Several minor updates to the cm-t35 config file. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Tested-by: Nikita Kiryanov <nikita@compulab.co.il>
-rw-r--r--include/configs/cm_t35.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index 726714dd21..c6e357a8ce 100644
--- a/include/configs/cm_t35.h
+++ b/include/configs/cm_t35.h
@@ -135,12 +135,12 @@
135#define CONFIG_CMD_CACHE 135#define CONFIG_CMD_CACHE
136#define CONFIG_CMD_EXT2 /* EXT2 Support */ 136#define CONFIG_CMD_EXT2 /* EXT2 Support */
137#define CONFIG_CMD_FAT /* FAT support */ 137#define CONFIG_CMD_FAT /* FAT support */
138#define CONFIG_CMD_JFFS2 /* JFFS2 Support */
139#define CONFIG_CMD_MTDPARTS /* Enable MTD parts commands */ 138#define CONFIG_CMD_MTDPARTS /* Enable MTD parts commands */
140#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ 139#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
140#define CONFIG_MTD_PARTITIONS
141#define MTDIDS_DEFAULT "nand0=nand" 141#define MTDIDS_DEFAULT "nand0=nand"
142#define MTDPARTS_DEFAULT "mtdparts=nand:512k(x-loader),"\ 142#define MTDPARTS_DEFAULT "mtdparts=nand:512k(x-loader),"\
143 "1920k(u-boot),128k(u-boot-env),"\ 143 "1920k(u-boot),256k(u-boot-env),"\
144 "4m(kernel),-(fs)" 144 "4m(kernel),-(fs)"
145 145
146#define CONFIG_CMD_I2C /* I2C serial bus support */ 146#define CONFIG_CMD_I2C /* I2C serial bus support */
@@ -182,14 +182,6 @@
182 182
183#define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND */ 183#define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND */
184 /* devices */ 184 /* devices */
185#define CONFIG_JFFS2_NAND
186/* nand device jffs2 lives on */
187#define CONFIG_JFFS2_DEV "nand0"
188/* start of jffs2 partition */
189#define CONFIG_JFFS2_PART_OFFSET 0x680000
190#define CONFIG_JFFS2_PART_SIZE 0xf980000 /* size of jffs2 */
191 /* partition */
192
193/* Environment information */ 185/* Environment information */
194#define CONFIG_BOOTDELAY 10 186#define CONFIG_BOOTDELAY 10
195#define CONFIG_ZERO_BOOTDELAY_CHECK 187#define CONFIG_ZERO_BOOTDELAY_CHECK
@@ -204,9 +196,9 @@
204 "defaultdisplay=dvi\0" \ 196 "defaultdisplay=dvi\0" \
205 "mmcdev=0\0" \ 197 "mmcdev=0\0" \
206 "mmcroot=/dev/mmcblk0p2 rw\0" \ 198 "mmcroot=/dev/mmcblk0p2 rw\0" \
207 "mmcrootfstype=ext3 rootwait\0" \ 199 "mmcrootfstype=ext4 rootwait\0" \
208 "nandroot=/dev/mtdblock4 rw\0" \ 200 "nandroot=/dev/mtdblock4 rw\0" \
209 "nandrootfstype=jffs2\0" \ 201 "nandrootfstype=ubifs\0" \
210 "mmcargs=setenv bootargs console=${console} " \ 202 "mmcargs=setenv bootargs console=${console} " \
211 "mpurate=${mpurate} " \ 203 "mpurate=${mpurate} " \
212 "vram=${vram} " \ 204 "vram=${vram} " \
@@ -232,7 +224,7 @@
232 "bootm ${loadaddr}\0" \ 224 "bootm ${loadaddr}\0" \
233 "nandboot=echo Booting from nand ...; " \ 225 "nandboot=echo Booting from nand ...; " \
234 "run nandargs; " \ 226 "run nandargs; " \
235 "nand read ${loadaddr} 280000 400000; " \ 227 "nand read ${loadaddr} 2a0000 400000; " \
236 "bootm ${loadaddr}\0" \ 228 "bootm ${loadaddr}\0" \
237 229
238#define CONFIG_BOOTCOMMAND \ 230#define CONFIG_BOOTCOMMAND \