f6434a9561
MTD support must be enabled when using mtdparts. Indeed, functions like get_mtd_info(), get_mtd_device() and put_mtd_device() are in drivers/mtd/mtd_uboot.c and are built only with CONFIG_MTD. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
32 lines
859 B
Plaintext
32 lines
859 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_SPL=y
|
|
CONFIG_MACH_SUN8I_A33=y
|
|
CONFIG_DRAM_CLK=600
|
|
CONFIG_DRAM_ZQ=15291
|
|
CONFIG_DRAM_ODT_EN=y
|
|
CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"
|
|
CONFIG_AXP_GPIO=y
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_USE_PREBOOT=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
CONFIG_CMD_MTDPARTS=y
|
|
# CONFIG_SPL_DOS_PARTITION is not set
|
|
# CONFIG_SPL_EFI_PARTITION is not set
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun8i-r16-nintendo-nes-classic-edition"
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD_RAW_NAND=y
|
|
CONFIG_SYS_NAND_BLOCK_SIZE=0x20000
|
|
CONFIG_SYS_NAND_PAGE_SIZE=0x800
|
|
CONFIG_SYS_NAND_OOBSIZE=0x40
|
|
CONFIG_AXP_DLDO1_VOLT=3300
|
|
CONFIG_AXP_ELDO2_VOLT=1800
|
|
CONFIG_CONS_INDEX=5
|
|
CONFIG_USB_MUSB_GADGET=y
|
|
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
|
|
CONFIG_USB_FUNCTION_MASS_STORAGE=y
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_RAW_NAND=y
|