diff mbox series

[U-Boot,2/2] configs: sama5d27_som1_ek: Activate misc init for uSD variant

Message ID 20190206141941.24802-3-ada@thorsis.com
State Accepted
Commit 0ecab03d657ce2b93152c8a617270593ab75f3ea
Delegated to: Eugen Hristev
Headers show
Series configs: Minor fixes | expand

Commit Message

Alexander Dahl Feb. 6, 2019, 2:19 p.m. UTC
This was already set for 'sama5d27_som1_ek_mmc_defconfig' (first SD
card, full size). Without this option set, the MAC address is not read
from the I²C EEPROM at boot, and remains unset:

    U-Boot 2019.01 (Jan 01 2019 - 00:00:00 +0000)

    CPU: SAMA5D27 1G bits DDR2 SDRAM
    Crystal frequency:       24 MHz
    CPU clock        :      492 MHz
    Master clock     :      164 MHz
    DRAM:  128 MiB
    MMC:   sdio-host@a0000000: 0, sdio-host@b0000000: 1
    Loading Environment from FAT... OK
    In:    serial
    Out:   serial
    Err:   serial
    Net:
    Error: ethernet@f8008000 address not set.
    eth-1: ethernet@f8008000
    Hit any key to stop autoboot:  0

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 configs/sama5d27_som1_ek_mmc1_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Eugen Hristev Feb. 8, 2019, 7:53 a.m. UTC | #1
On 06.02.2019 16:19, Alexander Dahl wrote:
> This was already set for 'sama5d27_som1_ek_mmc_defconfig' (first SD
> card, full size). Without this option set, the MAC address is not read
> from the I²C EEPROM at boot, and remains unset:
> 
>      U-Boot 2019.01 (Jan 01 2019 - 00:00:00 +0000)
> 
>      CPU: SAMA5D27 1G bits DDR2 SDRAM
>      Crystal frequency:       24 MHz
>      CPU clock        :      492 MHz
>      Master clock     :      164 MHz
>      DRAM:  128 MiB
>      MMC:   sdio-host@a0000000: 0, sdio-host@b0000000: 1
>      Loading Environment from FAT... OK
>      In:    serial
>      Out:   serial
>      Err:   serial
>      Net:
>      Error: ethernet@f8008000 address not set.
>      eth-1: ethernet@f8008000
>      Hit any key to stop autoboot:  0
> 
> Signed-off-by: Alexander Dahl <ada@thorsis.com>


Applied to u-boot-atmel/master
Thanks !
diff mbox series

Patch

diff --git a/configs/sama5d27_som1_ek_mmc1_defconfig b/configs/sama5d27_som1_ek_mmc1_defconfig
index 5f4abe8605..9ba8d79e31 100644
--- a/configs/sama5d27_som1_ek_mmc1_defconfig
+++ b/configs/sama5d27_som1_ek_mmc1_defconfig
@@ -23,6 +23,7 @@  CONFIG_SD_BOOT=y
 CONFIG_BOOTDELAY=3
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk root=/dev/mmcblk1p2 rw rootwait"
+CONFIG_MISC_INIT_R=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL_SEPARATE_BSS=y
 CONFIG_HUSH_PARSER=y