aboutsummaryrefslogtreecommitdiff
path: root/include/configs/am335x_guardian.h
diff options
context:
space:
mode:
authorMoses Christopher2020-03-25 06:45:44 +0000
committerLokesh Vutla2020-04-14 15:44:48 +0530
commitb1c95cc7044e9afbf23e91720a81aa7deacd4a51 (patch)
tree67db9a32022764c5edc7e812725d817d92209d33 /include/configs/am335x_guardian.h
parent891483186052b259852f3f48926ff307763f4eb0 (diff)
am335x, guardian: fix spl usb-eth boot
- On Guardian board, usb-eth boot in SPL stage fails due to certain misconfiguration. Hence, add the same to fix the issue. - configs are set based on the conditional statement present in arch/arm/mach-omap2/am33xx/board.c - disable tiny printf in SPL stage: As the library is optimized, the ability to deal with ethaddr is lost. The following message would be printed on the console, Error: flags type check failure for "ethaddr" <= "80a81144M" (type: m) Error inserting "ethaddr" variable, errno=1 Signed-off-by: Moses Christopher <BollavarapuMoses.Christopher@in.bosch.com>
Diffstat (limited to 'include/configs/am335x_guardian.h')
-rw-r--r--include/configs/am335x_guardian.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h
index 0e20d6c7289..6b9b6a28e96 100644
--- a/include/configs/am335x_guardian.h
+++ b/include/configs/am335x_guardian.h
@@ -109,4 +109,9 @@
#endif /* CONFIG_MTD_RAW_NAND */
+#define CONFIG_AM335X_USB0
+#define CONFIG_AM335X_USB0_MODE MUSB_PERIPHERAL
+#define CONFIG_AM335X_USB1
+#define CONFIG_AM335X_USB1_MODE MUSB_HOST
+
#endif /* ! __CONFIG_AM335X_GUARDIAN_H */