]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: sunxi: Avoid using .bss for SPL
authorSamuel Holland <samuel@sholland.org>
Tue, 31 Oct 2023 04:57:40 +0000 (23:57 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 12 Nov 2023 16:46:46 +0000 (16:46 +0000)
commit0070d57c339061e4725909b3081d70b83c2132d1
treee1144bb3fac7077ae26ebbb90e4b88eb43f2dab8
parentd379bcbfafc7162c145946bb907bb4a935a0bbd9
pinctrl: sunxi: Avoid using .bss for SPL

sunxi platforms put .bss in DRAM, so .bss is not available in SPL before
DRAM controller initialization. Therefore, this buffer must be placed in
the .data section.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
drivers/pinctrl/sunxi/pinctrl-sunxi.c