]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: rawnand: omap_gpmc: Reduce .bss usage
authorRoger Quadros <rogerq@kernel.org>
Tue, 11 Oct 2022 11:50:06 +0000 (14:50 +0300)
committerDario Binacchi <dario.binacchi@amarulasolutions.com>
Sat, 10 Dec 2022 13:35:54 +0000 (14:35 +0100)
commitec2c9240d508e67eca3d633ecb7f4740e2673a6a
treea2d54da84b299d84f100e0cd959d7d6ba705c530
parent664d5369269f80d0883ede4573425e3546c87080
mtd: rawnand: omap_gpmc: Reduce .bss usage

Allocate omap_ecclayout on the heap as we have
limited .bss space on AM64 R5 SPL configuration.

Reduces .bss usage by 2984 bytes.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Reviewed-By: Michael Trimarchi <michael@amarulasolutions.com>
Link: https://lore.kernel.org/all/20221011115012.6181-9-rogerq@kernel.org
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
drivers/mtd/nand/raw/omap_gpmc.c