powerpc/ps3: Add check for otheros image size
authorGeoff Levand <geoff@infradead.org>
Sat, 16 May 2020 16:20:46 +0000 (09:20 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 20 May 2020 13:39:56 +0000 (23:39 +1000)
commitaa3bc365ee73765af5059678bf55b0f3e4a3e6c4
treebd0435b25ebff9a220cac0abd1f270adca60d56d
parent8f53f9c0f68ab2168f637494b9e24034899c1310
powerpc/ps3: Add check for otheros image size

The ps3's otheros flash loader has a size limit of 16 MiB for the
uncompressed image.  If that limit will be reached output the
flash image file as 'otheros-too-big.bld'.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/897c2a59-378e-7c9b-3976-d0a0def90913@infradead.org
arch/powerpc/boot/wrapper