mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
u-boot: remove rpi ramdisk quirk for aarch64
the u-boot bug that destroy the ramdisk on aarch64 is fixed now Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -34,14 +34,6 @@ 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
|
||||
@@ -97,14 +89,6 @@ else
|
||||
setenv ramdisk_addr -;
|
||||
fi;
|
||||
|
||||
# Quirk for RPi on aarch64 becuase u-boot cannot use the
|
||||
# initrd on aarch64
|
||||
if test ${cpu} = "armv8"; then
|
||||
if test ${board} = "rpi"; then
|
||||
setenv ramdisk_addr -;
|
||||
fi;
|
||||
fi;
|
||||
|
||||
bootz ${kernel_addr_r} ${ramdisk_addr} ${fdt_addr_r};
|
||||
booti ${kernel_addr_r} ${ramdisk_addr} ${fdt_addr_r};
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user