[U-Boot] [PATCH] 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 --- board/freescale/p1010rdb/p1010rdb.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/board/freescale/p1010rdb/p1010rdb.c b/board/freescale/p1010rdb/p1010rdb.c index aa04e993c460..a5d85c228279 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

On 01/03/2018 06:13 AM, Tom Rini wrote:
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

On 01/03/2018 06:13 AM, Tom Rini wrote:
-----Original Message----- From: Tom Rini [mailto:trini@konsulko.com] Sent: Wednesday, January 03, 2018 10:13 PM To: u-boot@lists.denx.de Cc: Qiang Zhao qiang.zhao@nxp.com; York Sun york.sun@nxp.com Subject: [PATCH] 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: Qiang Zhao qiang.zhao@nxp.com

On 01/03/2018 06:13 AM, Tom Rini wrote:
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
Applied to fsl-qoriq master. Thanks.
York
participants (3)
-
Qiang Zhao
-
Tom Rini
-
York Sun