Fix SPL address in sun50i boot script

This commit is contained in:
zador-blood-stained 2017-02-01 15:03:36 +03:00
parent ea3440ee28
commit df6d79a670

View File

@ -11,9 +11,9 @@ setenv rootfstype "ext4"
setenv console "both"
# Print boot source
itest.b *0x28 == 0x00 && echo "U-boot loaded from SD"
itest.b *0x28 == 0x02 && echo "U-boot loaded from eMMC or secondary SD"
itest.b *0x28 == 0x03 && echo "U-boot loaded from SPI"
itest.b *0x10028 == 0x00 && echo "U-boot loaded from SD"
itest.b *0x10028 == 0x02 && echo "U-boot loaded from eMMC or secondary SD"
itest.b *0x10028 == 0x03 && echo "U-boot loaded from SPI"
echo "Boot script loaded from ${devtype}"