mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-24 18:03:06 +02:00
u-boot: split rpi aarch64 quirk into parts
on of the changed variables was used before the old quirk. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -15,7 +15,7 @@ if test ${cpu} = "armv8"; then
|
||||
echo ;
|
||||
else
|
||||
setenv kernel_type -multi;
|
||||
fi;
|
||||
fi;
|
||||
|
||||
# Import uEnv txt...
|
||||
if fatload ${boot_dev} ${boot_part} ${kernel_addr_r} uEnv.txt; then
|
||||
@@ -34,6 +34,14 @@ if test "${board}" = "sunxi"; then
|
||||
setenv fdtfile ${DTBSUNXI};
|
||||
fi;
|
||||
|
||||
# Quirk for RPi on aarch64 becuase u-boot cannot use the
|
||||
# initrd on aarch64 and without ramdisk no UUID
|
||||
if test ${cpu} = "armv8"; then
|
||||
if test ${board} = "rpi"; then
|
||||
setenv root_dev /dev/mmcblk0p3;
|
||||
fi;
|
||||
fi;
|
||||
|
||||
# Check if serial console is enabled
|
||||
if test "${SERIAL-CONSOLE}" = "ON"; then
|
||||
if test ${console} = ""; then
|
||||
@@ -93,8 +101,7 @@ fi;
|
||||
# initrd on aarch64
|
||||
if test ${cpu} = "armv8"; then
|
||||
if test ${board} = "rpi"; then
|
||||
setenv ramdisk_addr -;
|
||||
setenv root_dev /dev/mmcblk0p3;
|
||||
setenv ramdisk_addr -;
|
||||
fi;
|
||||
fi;
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user