Skip to contentSkip to conversation

powerpc: P1010RDB: Rework local command to not be included in SPL

PATCH New Tom Rini 3 participants 4 messages Jan 3, 2018 – Jan 19, 2018

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 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]>
---
 board/freescale/p1010rdb/p1010rdb.c | 2 ++
 1 file changed, 2 insertions(+)
board/freescale/p1010rdb/p1010rdb.c +2 -0
index aa04e993c460..a5d85c228279 100644
@@ -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
Signature · 1 line
2.7.4
#2 lore raw

PATCH 1/1 powerpc: P1010RDB: Rework local command to not be included in SPL

In reply to Tom Rini
Quoted 8 lines · Tom Rini

-----Original Message-----
From: Tom Rini [mailto:trini at konsulko.com]
Sent: Wednesday, January 03, 2018 10:13 PM
To: u-boot at lists.denx.de
Cc: Qiang Zhao <[email protected]>; York Sun <[email protected]>
Subject: [PATCH] powerpc: P1010RDB: Rework local command to not be included in SPL

Quoted 7 lines

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]>

---