]> git.sur5r.net Git - u-boot/commit
arm: ls1021atwr: Rework local commands to not be included in SPL
authorTom Rini <trini@konsulko.com>
Wed, 3 Jan 2018 14:01:33 +0000 (09:01 -0500)
committerYork Sun <york.sun@nxp.com>
Mon, 15 Jan 2018 20:44:24 +0000 (12:44 -0800)
commit68ae7772aff3f6e96a805e0ae411a1c42460865e
tree0f6d1d4bdd4eebf60d4444b7090fd3eb3882df13
parent3a72a0efccfcddee667f006af41aac7249f4e362
arm: ls1021atwr: Rework local commands to not be included in SPL

Move some of the code for the "lane_bank" and "cpld" code local
commands so that they are not built for SPL as they can only be
used in full U-Boot.  This means we can mark a few functions as
static as well now.

Cc: Alison Wang <alison.wang@freescale.com>
Cc: Sumit Garg <sumit.garg@nxp.com>
Cc: York Sun <york.sun@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Alison Wang <alison.wang@nxp.com>
Tested-by: Alison Wang <alison.wang@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/ls1021atwr/ls1021atwr.c