[PATCH 1/4] configs: evb-ast2500: Remove MMC support from default settings

Cédric Le Goater clg at kaod.org
Thu Oct 27 08:44:07 CEST 2022


On 10/27/22 08:39, Joel Stanley wrote:
> On Wed, 26 Oct 2022 at 13:11, Cédric Le Goater <clg at kaod.org> wrote:
>>
>> This saves ~50K in the resulting u-boot.bin file which is important to
>> fit in the U-Boot partition defined in the flash layout of upstream Linux.
> 
> The downside is we stop testing it builds for ast2500. I guess as long
> as it's being built for the 2600 that's okay?

We can not have both MMC and FIT in the same build because of the size
of the U-Boot partition. FIT is required to boot.

C.


> 
>>
>> Signed-off-by: Cédric Le Goater <clg at kaod.org>
>> ---
>>   configs/evb-ast2500_defconfig | 5 ++---
>>   1 file changed, 2 insertions(+), 3 deletions(-)
>>
>> diff --git a/configs/evb-ast2500_defconfig b/configs/evb-ast2500_defconfig
>> index 500c85b8d500..ad0feeb71df5 100644
>> --- a/configs/evb-ast2500_defconfig
>> +++ b/configs/evb-ast2500_defconfig
>> @@ -23,7 +23,7 @@ CONFIG_SYS_PBSIZE=276
>>   CONFIG_CMD_EEPROM=y
>>   CONFIG_CMD_GPIO=y
>>   CONFIG_CMD_I2C=y
>> -CONFIG_CMD_MMC=y
>> +# CONFIG_CMD_MMC is not set
>>   CONFIG_CMD_DHCP=y
>>   CONFIG_BOOTP_BOOTFILESIZE=y
>>   CONFIG_CMD_MII=y
>> @@ -38,8 +38,7 @@ CONFIG_ASPEED_GPIO=y
>>   CONFIG_DM_I2C=y
>>   CONFIG_SYS_I2C_ASPEED=y
>>   CONFIG_I2C_EEPROM=y
>> -CONFIG_MMC_SDHCI=y
>> -CONFIG_MMC_SDHCI_ASPEED=y
>> +# CONFIG_MMC is not set
>>   CONFIG_DM_SPI_FLASH=y
>>   CONFIG_SPI_FLASH_SFDP_SUPPORT=y
>>   CONFIG_SPI_FLASH_GIGADEVICE=y
>> --
>> 2.37.3
>>



More information about the U-Boot mailing list