Commit 9723d2aa authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

ubi support

parent de55fc5d
...@@ -19,5 +19,6 @@ CONFIG_ZYNQ_GEM=y ...@@ -19,5 +19,6 @@ CONFIG_ZYNQ_GEM=y
CONFIG_ZYNQ_QSPI=n CONFIG_ZYNQ_QSPI=n
CONFIG_CMD_NAND=y CONFIG_CMD_NAND=y
# i2c config is in ../include/configs/elphel393.h
# CONFIG_CMD_I2C=y # CONFIG_CMD_I2C=y
CONFIG_DM_I2C=n CONFIG_DM_I2C=n
...@@ -94,6 +94,23 @@ ...@@ -94,6 +94,23 @@
/*#define CONFIG_EZYNQ_SKIP_DDR*/ /*#define CONFIG_EZYNQ_SKIP_DDR*/
#define CONFIG_EZYNQ_SKIP_CLK #define CONFIG_EZYNQ_SKIP_CLK
#define CONFIG_MTD_DEVICE
/* UBI support in full U-Boot */
#define CONFIG_MTD_PARTITIONS
#define CONFIG_CMD_MTDPARTS
#define CONFIG_CMD_UBI
#define CONFIG_CMD_UBIFS
#define CONFIG_RBTREE
#define CONFIG_LZO
#define MTDIDS_DEFAULT "nand0=nand"
#define MTDPARTS_DEFAULT "mtdparts=nand:1m(u-boot-spl)," \
"4m(u-boot)," \
"1m(device-tree)," \
"16m(kernel)," \
"256m(rootfs)," \
"256m(rootfs)"
/* Default environment */ /* Default environment */
#define CONFIG_EXTRA_ENV_SETTINGS \ #define CONFIG_EXTRA_ENV_SETTINGS \
"ethaddr=00:0e:64:10:00:00\0" \ "ethaddr=00:0e:64:10:00:00\0" \
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment