ls1012a: use default scan_dev_for_boot
PATCH 1/1 ls1012a: use default scan_dev_for_boot
From: Mian Yousaf Kaukab <[email protected]>
scan_dev_for_efi is supposed to be called from scan_dev_for_boot. However, this call is missing for ls1012a boards. As a result EFI boot doesn?t work. Fix this issue by removing custom definition of scan_dev_for_boot and use the default definition instead.
--- include/configs/ls1012a2g5rdb.h | 7 ------- include/configs/ls1012afrdm.h | 7 ------- include/configs/ls1012afrwy.h | 7 ------- include/configs/ls1012aqds.h | 7 ------- include/configs/ls1012ardb.h | 7 ------- 5 files changed, 35 deletions(-)
include/configs/ls1012a2g5rdb.h +0 -7
@@ -61,13 +61,6 @@"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;" \ -"\0" \"boot_a_script=" \"load ${devtype} ${devnum}:${distro_bootpart} " \"${scriptaddr} ${prefix}${script}; " \
include/configs/ls1012afrdm.h +0 -7
@@ -47,13 +47,6 @@"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;" \ -"\0" \"installer=load usb 0:2 $load_addr " \"/flex_installer_arm64.itb; " \"bootm $load_addr#$board\0" \
include/configs/ls1012afrwy.h +0 -7
@@ -80,13 +80,6 @@"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;" \ -"\0" \"boot_a_script=" \"load ${devtype} ${devnum}:${distro_bootpart} " \"${scriptaddr} ${prefix}${script}; " \
include/configs/ls1012aqds.h +0 -7
@@ -131,13 +131,6 @@"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;" \ -"\0" \"boot_a_script=" \"load ${devtype} ${devnum}:${distro_bootpart} " \"${scriptaddr} ${prefix}${script}; " \
include/configs/ls1012ardb.h +0 -7
@@ -79,13 +79,6 @@"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;" \ -"\0" \"boot_a_script=" \"load ${devtype} ${devnum}:${distro_bootpart} " \"${scriptaddr} ${prefix}${script}; " \
Signature · 1 line
2.26.2
PATCH 1/1 ls1012a: use default scan_dev_for_boot
Quoted 118 lines
-----Original Message-----
From: Mian Yousaf Kaukab <[email protected]>
Sent: Tuesday, March 30, 2021 7:34 PM
To: u-boot at lists.denx.de; Priyanka Jain <[email protected]>
Cc: Andy Tang <[email protected]>; Biwen Li <[email protected]>; Pramod Kumar <[email protected]>; Rajesh Bhagat <[email protected]>; Mian Yousaf Kaukab <[email protected]>
Subject: [PATCH] ls1012a: use defaultscan_dev_for_bootFrom: Mian Yousaf Kaukab <[email protected]>
scan_dev_for_efiis supposed to be called fromscan_dev_for_boot. However, this call is missing for ls1012a boards. As a result EFI boot doesn?t work. Fix this issue by removing custom definition ofscan_dev_for_bootand use the default definition instead.Signed-off-by Mian Yousaf Kaukab <[email protected]>---
include/configs/ls1012a2g5rdb.h | 7 ------- include/configs/ls1012afrdm.h | 7 ------- include/configs/ls1012afrwy.h | 7 ------- include/configs/ls1012aqds.h | 7 ------- include/configs/ls1012ardb.h | 7 ------- 5 files changed, 35 deletions(-)include/configs/ls1012a2g5rdb.h +0
-7@@ -61,13 +61,6 @@"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;" \ -"\0" \"boot_a_script=" \"load ${devtype} ${devnum}:${distro_bootpart} " \"${scriptaddr} ${prefix}${script}; " \include/configs/ls1012afrdm.h index renamed from include/configs/ls1012afrdm.h +0
-0
8de20e3ff450..02dd59892bcc100644include/configs/ls1012afrdm.h +0
-7@@ -47,13 +47,6 @@"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;" \ -"\0" \"installer=load usb 0:2 $load_addr " \"/flex_installer_arm64.itb; " \"bootm $load_addr#$board\0" \include/configs/ls1012afrwy.h index renamed from include/configs/ls1012afrwy.h +0
-0
29c344c63a95..ba152834d5ac100644include/configs/ls1012afrwy.h +0
-7@@ -80,13 +80,6 @@"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;" \ -"\0" \"boot_a_script=" \"load ${devtype} ${devnum}:${distro_bootpart} " \"${scriptaddr} ${prefix}${script}; " \include/configs/ls1012aqds.h index renamed from include/configs/ls1012aqds.h +0
-0
c4c9b7f5019f..36be8f42c978100644include/configs/ls1012aqds.h +0
-7@@ -131,13 +131,6 @@"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;" \ -"\0" \"boot_a_script=" \"load ${devtype} ${devnum}:${distro_bootpart} " \"${scriptaddr} ${prefix}${script}; " \include/configs/ls1012ardb.h index renamed from include/configs/ls1012ardb.h +0
-0
94e742ee8446..582945b2ab19100644include/configs/ls1012ardb.h +0
-8@@ -79,13 +79,6 @@"run scan_dev_for_boot; " \"fi; " \"done\0" \ -"scan_dev_for_boot=" \ -"echo Scanning ${devtype} " \ -"${devnum}:${distro_bootpart}...; " \ -"for prefix in ${boot_prefixes}; do " \ -"run scan_dev_for_scripts; " \ -"done;" \ -"\0" \"boot_a_script=" \"load ${devtype} ${devnum}:${distro_bootpart} " \"${scriptaddr} ${prefix}${script}; " \ --
Quoted 1 line
2.26.2