|
|
@ -62,6 +62,17 @@ |
|
|
|
#define CONFIG_TEGRA_NAND |
|
|
|
#define CONFIG_TEGRA_NAND |
|
|
|
#define CONFIG_SYS_MAX_NAND_DEVICE 1 |
|
|
|
#define CONFIG_SYS_MAX_NAND_DEVICE 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Dynamic MTD partition support */ |
|
|
|
|
|
|
|
#define CONFIG_CMD_MTDPARTS /* Enable 'mtdparts' command line support */ |
|
|
|
|
|
|
|
#define CONFIG_MTD_PARTITIONS |
|
|
|
|
|
|
|
#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ |
|
|
|
|
|
|
|
#define MTDIDS_DEFAULT "nand0=tegra_nand" |
|
|
|
|
|
|
|
#define MTDPARTS_DEFAULT "mtdparts=tegra_nand:" \ |
|
|
|
|
|
|
|
"2m(u-boot)ro," \
|
|
|
|
|
|
|
|
"1m(u-boot-env)," \
|
|
|
|
|
|
|
|
"1m(cfgblock)ro," \
|
|
|
|
|
|
|
|
"-(ubi)" |
|
|
|
|
|
|
|
|
|
|
|
/* Environment in NAND, 64K is a bit excessive but erase block is 512K anyway */ |
|
|
|
/* Environment in NAND, 64K is a bit excessive but erase block is 512K anyway */ |
|
|
|
#define CONFIG_ENV_IS_IN_NAND |
|
|
|
#define CONFIG_ENV_IS_IN_NAND |
|
|
|
#define CONFIG_ENV_OFFSET (SZ_2M) |
|
|
|
#define CONFIG_ENV_OFFSET (SZ_2M) |
|
|
@ -74,6 +85,9 @@ |
|
|
|
/* Miscellaneous commands */ |
|
|
|
/* Miscellaneous commands */ |
|
|
|
#define CONFIG_FAT_WRITE |
|
|
|
#define CONFIG_FAT_WRITE |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define BOARD_EXTRA_ENV_SETTINGS \ |
|
|
|
|
|
|
|
"mtdparts=" MTDPARTS_DEFAULT "\0" |
|
|
|
|
|
|
|
|
|
|
|
/* Increase console I/O buffer size */ |
|
|
|
/* Increase console I/O buffer size */ |
|
|
|
#undef CONFIG_SYS_CBSIZE |
|
|
|
#undef CONFIG_SYS_CBSIZE |
|
|
|
#define CONFIG_SYS_CBSIZE 1024 |
|
|
|
#define CONFIG_SYS_CBSIZE 1024 |
|
|
|