]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: fix linker size check off-by-one errors
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Thu, 25 Apr 2019 19:22:39 +0000 (21:22 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 5 May 2019 12:48:50 +0000 (08:48 -0400)
commit1b1d8c19f5b4b799232eee70e8916cd2491872ec
treed35522cb3804e13e5ed2912e0dc9a7df8c2d580a
parentaaa64803700c29905927b7ebf81fa7bb6ef3c200
spl: fix linker size check off-by-one errors

This fixes SPL linker script size checks for 3 lds files where the size
checks were implemented as "x < YYY_MAX_SIZE".

Fix the size checks to be "x <= YYY_MAX_SIZE" instead.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
arch/arm/cpu/u-boot-spl.lds
arch/arm/mach-at91/arm926ejs/u-boot-spl.lds
arch/microblaze/cpu/u-boot-spl.lds