aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Cameron <quozl@laptop.org>2019-08-13 10:24:33 +1000
committerGitHub <noreply@github.com>2019-08-13 10:24:33 +1000
commit8cea9802712461f96f54ffc4f0560cfd30b0295e (patch)
tree26f4dfbe6bfade625c8b5fb8de816080dbd7036b
parent3642927b5812c54c7956344d119c7898e9bf8ed1 (diff)
parent68fd56cde7d01130f73132ed8aaeb0dc51832323 (diff)
downloadopenfirmware-8cea9802712461f96f54ffc4f0560cfd30b0295e.tar.gz
Merge pull request #3 from lkundrak/lr/xo175-zimage-fix
arm/linux: drop an extra copy of the loaded address
-rw-r--r--cpu/arm/linux.fth2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm/linux.fth b/cpu/arm/linux.fth
index 4ffc8401..b7f6e92c 100644
--- a/cpu/arm/linux.fth
+++ b/cpu/arm/linux.fth
@@ -166,7 +166,7 @@ defer place-ramdisk
: init-zimage? ( -- flag )
loaded ( adr len )
- dup h# 30 < if drop false exit then ( adr len )
+ dup h# 30 < if 2drop false exit then ( adr len )
over h# 24 + l@ h# 016f2818 <> if drop false exit then ( adr len )
swap >r ( len r: adr )
r@ h# 28 + l@ r@ + ( len start r: adr )