From e68687bf3c3642cf27325c80908d16a060642070 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Thu, 31 May 2018 14:41:04 +0200 Subject: [PATCH] ARM: rmobile: Represent SF partitioning with mtdparts on Alt Add mtdparts description for the board. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/alt_defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/alt_defconfig b/configs/alt_defconfig index b0b864c1a1..49f344babd 100644 --- a/configs/alt_defconfig +++ b/configs/alt_defconfig @@ -46,6 +46,9 @@ CONFIG_CMD_EXT2=y CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FAT=y +CONFIG_CMD_MTDPARTS=y +CONFIG_MTDIDS_DEFAULT="nor0=spi0.0" +CONFIG_MTDPARTS_DEFAULT="mtdparts=spi0.0:256k(u-boot-spl),512k(u-boot-env1),512k(u-boot-env2),768k(u-boot),-(user)" CONFIG_OF_CONTROL=y CONFIG_OF_EMBED=y CONFIG_ENV_IS_IN_SPI_FLASH=y @@ -58,9 +61,11 @@ CONFIG_SYS_I2C_RCAR_IIC=y CONFIG_DM_MMC=y CONFIG_SH_MMCIF=y CONFIG_RENESAS_SDHI=y +CONFIG_MTD=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_SPANSION=y +CONFIG_SPI_FLASH_MTD=y CONFIG_PHY_MICREL=y CONFIG_DM_ETH=y CONFIG_SH_ETHER=y -- 2.25.1