Skip to contentSkip to conversation

configs: lx2162aqds: enable CONFIG_BOARD_EARLY_INIT_R

PATCH Yangbo Lu 2 participants 3 messages Sep 11, 2020 – Dec 11, 2020

lore
Share & tools
lore

Yangbo Lu

author
#0 lore raw

From: Guanhua Gao <[email protected]>

From: Yangbo Lu <[email protected]>

Enable CONFIG_BOARD_EARLY_INIT_R for SDHC adapter card identification and configuration.

configs/lx2162aqds_tfa_SECURE_BOOT_defconfig +1 -0
index 9b1850c..e658592 100644
@@ -16,6 +16,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyAMA0,115200 root=/dev/ram0 earlycon=pl011,mmio32,0x21c0000 ramdisk_size=0x2000000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf"
 # CONFIG_USE_BOOTCOMMAND is not set
+CONFIG_BOARD_EARLY_INIT_R=y
 CONFIG_MISC_INIT_R=y
 CONFIG_CMD_GREPENV=y
 CONFIG_CMD_EEPROM=y
configs/lx2162aqds_tfa_defconfig +1 -0
index 07837b9..ade6b7b 100644
@@ -18,6 +18,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyAMA0,115200 root=/dev/ram0 earlycon=pl011,mmio32,0x21c0000 ramdisk_size=0x2000000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf"
 # CONFIG_USE_BOOTCOMMAND is not set
+CONFIG_BOARD_EARLY_INIT_R=y
 CONFIG_MISC_INIT_R=y
 CONFIG_CMD_GREPENV=y
 CONFIG_CMD_EEPROM=y
configs/lx2162aqds_tfa_verified_boot_defconfig +1 -0
index 5d4ad47..3131fb3 100644
@@ -20,6 +20,7 @@ CONFIG_BOOTDELAY=10
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyAMA0,115200 root=/dev/ram0 earlycon=pl011,mmio32,0x21c0000 ramdisk_size=0x2000000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf"
 # CONFIG_USE_BOOTCOMMAND is not set
+CONFIG_BOARD_EARLY_INIT_R=y
 CONFIG_MISC_INIT_R=y
 CONFIG_CMD_GREPENV=y
 CONFIG_CMD_EEPROM=y
Reviewed-by
#1 lore raw
Quoted 56 lines

-----Original Message-----
From: Yangbo Lu <[email protected]>
Sent: Friday, September 11, 2020 3:57 PM
To: u-boot at lists.denx.de; Priyanka Jain <[email protected]>
Cc: Y.b. Lu <[email protected]>
Subject: configs: lx2162aqds: enable CONFIG_BOARD_EARLY_INIT_R

From: Guanhua Gao <[email protected]>

From: Yangbo Lu <[email protected]>

Enable CONFIG_BOARD_EARLY_INIT_R for SDHC adapter card identification and configuration.

configs/lx2162aqds_tfa_SECURE_BOOT_defconfig +0 -0
index 9b1850c..e658592 100644
@@ -16,6 +16,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y

CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="console=ttyAMA0,115200 root=/dev/ram0 earlycon=pl011,mmio32,0x21c0000 ramdisk_size=0x2000000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf"
# CONFIG_USE_BOOTCOMMAND is not set +CONFIG_BOARD_EARLY_INIT_R=y CONFIG_MISC_INIT_R=y
CONFIG_CMD_GREPENV=y
CONFIG_CMD_EEPROM=y

configs/lx2162aqds_tfa_defconfig +0 -0
index 07837b9..ade6b7b 100644
@@ -18,6 +18,7 @@ CONFIG_BOOTDELAY=10

CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="console=ttyAMA0,115200 root=/dev/ram0 earlycon=pl011,mmio32,0x21c0000 ramdisk_size=0x2000000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf"
# CONFIG_USE_BOOTCOMMAND is not set +CONFIG_BOARD_EARLY_INIT_R=y CONFIG_MISC_INIT_R=y
CONFIG_CMD_GREPENV=y
CONFIG_CMD_EEPROM=y

configs/lx2162aqds_tfa_verified_boot_defconfig +0 -0
index 5d4ad47..3131fb3 100644
@@ -20,6 +20,7 @@ CONFIG_BOOTDELAY=10

CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="console=ttyAMA0,115200 root=/dev/ram0

Quoted 8 lines

earlycon=pl011,mmio32,0x21c0000 ramdisk_size=0x2000000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf"
# CONFIG_USE_BOOTCOMMAND is not set +CONFIG_BOARD_EARLY_INIT_R=y CONFIG_MISC_INIT_R=y
CONFIG_CMD_GREPENV=y
CONFIG_CMD_EEPROM=y

#2 lore raw
In reply to Yangbo Lu
Quoted 7 lines

-----Original Message-----
From: Yangbo Lu <[email protected]>
Sent: Friday, September 11, 2020 3:57 PM
To: u-boot at lists.denx.de; Priyanka Jain <[email protected]>
Cc: Y.b. Lu <[email protected]>
Subject: configs: lx2162aqds: enable CONFIG_BOARD_EARLY_INIT_R

Quoted 9 lines

From: Guanhua Gao <[email protected]>

From: Yangbo Lu <[email protected]>

Enable CONFIG_BOARD_EARLY_INIT_R for SDHC adapter card identification and configuration.

<snip>
Applied to fsl-qoriq after rebase.
Awaiting upstream

Thanks
Priyanka