From 61b8c34e86e306ad597c1d57790c0774715c0b49 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Thu, 11 Apr 2019 04:56:59 +0200 Subject: arm: mvebu: turris_omnia: use MMC driver model Enable DM_MMC for compliance with the driver model migration. Signed-off-by: Pierre Bourdon Cc: Marek Behun Signed-off-by: Stefan Roese --- configs/turris_omnia_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/turris_omnia_defconfig') diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig index 85f214148a..5ef3548647 100644 --- a/configs/turris_omnia_defconfig +++ b/configs/turris_omnia_defconfig @@ -42,6 +42,7 @@ CONFIG_SCSI_AHCI=y CONFIG_ATSHA204A=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_MV=y +CONFIG_DM_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_SPANSION=y CONFIG_PHY_MARVELL=y -- cgit From 5edb9b2d713736d82e6529ecf04d8a44227944b5 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Wed, 24 Apr 2019 16:05:06 +0200 Subject: arm: mvebu: turris_omnia: Use thumb instructions in SPL to save space MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With the latest changes to the drivers (SPI_FLASH_SPANSION etc), Travis reports that the SPL image is too big. Let's use the thumb instructions in SPL to save some space and make the image fit again. Signed-off-by: Stefan Roese Cc: Baruch Siach Cc: Marek Behun Reviewed-by: Marek BehĂșn --- configs/turris_omnia_defconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configs/turris_omnia_defconfig') diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig index 5ef3548647..a528a9b5bc 100644 --- a/configs/turris_omnia_defconfig +++ b/configs/turris_omnia_defconfig @@ -1,4 +1,5 @@ CONFIG_ARM=y +CONFIG_SPL_SYS_THUMB_BUILD=y CONFIG_ARCH_MVEBU=y CONFIG_SYS_TEXT_BASE=0x00800000 CONFIG_SPL_LIBCOMMON_SUPPORT=y @@ -7,13 +8,13 @@ CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_TARGET_TURRIS_OMNIA=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL=y +CONFIG_NR_DRAM_BANKS=2 CONFIG_DEBUG_UART_BASE=0xd0012000 CONFIG_DEBUG_UART_CLOCK=250000000 CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI_SUPPORT=y CONFIG_DEBUG_UART=y CONFIG_DISTRO_DEFAULTS=y -CONFIG_NR_DRAM_BANKS=2 CONFIG_BOOTDELAY=3 CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_MISC_INIT_R=y @@ -40,9 +41,9 @@ CONFIG_ENV_SPI_MAX_HZ=50000000 CONFIG_SPL_OF_TRANSLATE=y CONFIG_SCSI_AHCI=y CONFIG_ATSHA204A=y +CONFIG_DM_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_MV=y -CONFIG_DM_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_SPANSION=y CONFIG_PHY_MARVELL=y -- cgit