arm: imx: Rework i.MX specific commands to be excluded from SPL
authorTom Rini <trini@konsulko.com>
Wed, 3 Jan 2018 13:52:39 +0000 (08:52 -0500)
committerStefano Babic <sbabic@denx.de>
Fri, 12 Jan 2018 13:28:04 +0000 (14:28 +0100)
commit20b9f2eaf5fbb1e7befbdc4f7863fd69c942d744
tree790158bd5575bd65f115716b747a789d31872ced
parente7528a3d7436fd0d073ecdd8527f9a0dc535e172
arm: imx: Rework i.MX specific commands to be excluded from SPL

The "clocks" and "bootaux" commands are only usable in full U-Boot, not
SPL, so do not link them inside of SPL.  Rework a little of the bootaux
related code to make use of __weak and declare parts of it static as
it's local to the file.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/imx_bootaux.c
arch/arm/mach-imx/mx5/clock.c
arch/arm/mach-imx/mx7/clock.c
arch/arm/mach-imx/mx7ulp/clock.c