From: Marek Vasut Date: Thu, 31 May 2018 12:41:53 +0000 (+0200) Subject: ARM: rmobile: Represent SF partitioning with mtdparts on Porter X-Git-Tag: v2018.07-rc1~12^2~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0c1562e7ee5698a8951a22ab2fe6368402051a0a;p=u-boot ARM: rmobile: Represent SF partitioning with mtdparts on Porter Add mtdparts description for the board. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- diff --git a/configs/porter_defconfig b/configs/porter_defconfig index b04627efa3..0588387cbd 100644 --- a/configs/porter_defconfig +++ b/configs/porter_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 @@ -57,9 +60,11 @@ CONFIG_DM_I2C=y CONFIG_SYS_I2C_RCAR_IIC=y CONFIG_DM_MMC=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