summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2018-01-03 09:13:04 -0500
committerYork Sun <[email protected]>2018-01-15 12:44:24 -0800
commit3a72a0efccfcddee667f006af41aac7249f4e362 (patch)
tree69bb2cf205ab40aa83077c5ca24c9b9b198c7594
parentda28a03ed4a1420c5b748cfe08d991cf8da0df32 (diff)
powerpc: P1010RDB: Rework local command to not be included in SPL
Add a CONFIG_SPL_BUILD guard around the code for the "mux" command so it is not included in SPL. Cc: Qiang Zhao <[email protected]> Cc: York Sun <[email protected]> Signed-off-by: Tom Rini <[email protected]> Reviewed-by: York Sun <[email protected]> Reviewed-by: Qiang Zhao <[email protected]>
-rw-r--r--board/freescale/p1010rdb/p1010rdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/p1010rdb/p1010rdb.c b/board/freescale/p1010rdb/p1010rdb.c
index aa04e993c46..a5d85c22827 100644
--- a/board/freescale/p1010rdb/p1010rdb.c
+++ b/board/freescale/p1010rdb/p1010rdb.c
@@ -550,6 +550,7 @@ int misc_init_r(void)
return 0;
}
+#ifndef CONFIG_SPL_BUILD
static int pin_mux_cmd(cmd_tbl_t *cmdtp, int flag, int argc,
char * const argv[])
{
@@ -569,3 +570,4 @@ U_BOOT_CMD(
"configure multiplexing pin for IFC/SDHC bus in runtime",
"bus_type (e.g. mux sdhc)"
);
+#endif