projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: do not compile common fastboot code when building the SPL
[oweals/u-boot.git]
/
common
/
iomux.c
diff --git
a/common/iomux.c
b/common/iomux.c
index cf4da45707522635d1f4f2ba3f4e2f9eacdae961..0e4e6803e7a832fe0ced120beb8d665ab3969762 100644
(file)
--- a/
common/iomux.c
+++ b/
common/iomux.c
@@
-2,14
+2,15
@@
* (C) Copyright 2008
* Gary Jennejohn, DENX Software Engineering GmbH, garyj@denx.de.
*
* (C) Copyright 2008
* Gary Jennejohn, DENX Software Engineering GmbH, garyj@denx.de.
*
- * SPDX-License-Identifier: GPL-2.0+
+ * SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
*/
#include <common.h>
+#include <console.h>
#include <serial.h>
#include <malloc.h>
#include <serial.h>
#include <malloc.h>
-#if
def CONFIG_CONSOLE_MUX
+#if
CONFIG_IS_ENABLED(CONSOLE_MUX)
void iomux_printdevs(const int console)
{
int i;
void iomux_printdevs(const int console)
{
int i;
@@
-144,4
+145,4
@@
int iomux_doenv(const int console, const char *arg)
free(cons_set);
return 0;
}
free(cons_set);
return 0;
}
-#endif /* CON
FIG_CON
SOLE_MUX */
+#endif /* CONSOLE_MUX */