summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2018-05-31 14:41:48 +0200
committerMarek Vasut <marek.vasut+renesas@gmail.com>2018-06-01 09:42:13 +0200
commit1b53142bd035d50e0ec1ddeb48f883083dd7f597 (patch)
tree009cd8f9feec3040d42ca315a00a254bd44c1678 /configs
parent684b34e7c343a4779e726d7d6825f9290e8bfb02 (diff)
downloadu-boot-1b53142bd035d50e0ec1ddeb48f883083dd7f597.tar.gz
u-boot-1b53142bd035d50e0ec1ddeb48f883083dd7f597.tar.xz
u-boot-1b53142bd035d50e0ec1ddeb48f883083dd7f597.zip
ARM: rmobile: Represent SF partitioning with mtdparts on Lager
Add mtdparts description for the board. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'configs')
-rw-r--r--configs/lager_defconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/lager_defconfig b/configs/lager_defconfig
index 70083bcbfe..0eaf33d7f8 100644
--- a/configs/lager_defconfig
+++ b/configs/lager_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
@@ -59,9 +62,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