]> git.sur5r.net Git - u-boot/commit
arm: socfpga: Guard commands with CONFIG_SPL_BUILD tests
authorTom Rini <trini@konsulko.com>
Fri, 22 Dec 2017 17:19:22 +0000 (12:19 -0500)
committerMarek Vasut <marex@denx.de>
Tue, 9 Jan 2018 11:38:55 +0000 (12:38 +0100)
commitb4b9814f1c737d175213b85c5bf1cab0806e2a73
tree7ca8e73a00975bbb5698f2fb9884bff4ab94a1a9
parent08cc52abc9a5a6900af908a59cbaf8b1acfc88d2
arm: socfpga: Guard commands with CONFIG_SPL_BUILD tests

In order for these commands to not be included in SPL we need to guard
compilation with CONFIG_SPL_BUILD checks.  Reorganize some sections of
code slightly in order to avoid new warnings and mark the command
functions as static as they should have been before.

Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-socfpga/clock_manager.c
arch/arm/mach-socfpga/misc_gen5.c