mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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 <qiang.zhao@nxp.com> Cc: York Sun <york.sun@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: York Sun <york.sun@nxp.com> Reviewed-by: Qiang Zhao <qiang.zhao@nxp.com>
This commit is contained in:
parent
da28a03ed4
commit
3a72a0efcc
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue