4 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
6 * SPDX-License-Identifier: GPL-2.0+
9 #ifndef __CONFIG_AM43XX_EVM_H
10 #define __CONFIG_AM43XX_EVM_H
14 #define CONFIG_BOARD_LATE_INIT
15 #define CONFIG_ARCH_CPU_INIT
16 #define CONFIG_SYS_CACHELINE_SIZE 32
17 #define CONFIG_MAX_RAM_BANK_SIZE (1024 << 20) /* 1GB */
18 #define CONFIG_SYS_TIMERBASE 0x48040000 /* Use Timer2 */
20 #include <asm/arch/omap.h>
22 /* NS16550 Configuration */
23 #define CONFIG_SYS_NS16550
24 #define CONFIG_SYS_NS16550_SERIAL
25 #define CONFIG_SYS_NS16550_REG_SIZE (-4)
26 #define CONFIG_SYS_NS16550_CLK 48000000
29 #define CONFIG_SPL_TEXT_BASE 0x40300350
30 #define CONFIG_SPL_MAX_SIZE (0x40337C00 - CONFIG_SPL_TEXT_BASE)
31 #define CONFIG_SPL_YMODEM_SUPPORT
34 * Since SPL did pll and ddr initialization for us,
35 * we don't need to do it twice.
37 #if !defined(CONFIG_SPL_BUILD) && !defined(CONFIG_NOR_BOOT)
38 #define CONFIG_SKIP_LOWLEVEL_INIT
41 /* Now bring in the rest of the common code. */
42 #include <configs/ti_armv7_common.h>
44 /* Always 128 KiB env size */
45 #define CONFIG_ENV_SIZE (128 << 10)
47 #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
50 #define V_OSCK 24000000 /* Clock output from T2 */
51 #define V_SCLK (V_OSCK)
53 /* NS16550 Configuration */
54 #define CONFIG_SYS_NS16550_COM1 0x44e09000 /* Base EVM has UART0 */
56 #define CONFIG_ENV_IS_NOWHERE
58 #define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
60 #define CONFIG_CMD_USB
61 #define CONFIG_USB_HOST
62 #define CONFIG_USB_XHCI
63 #define CONFIG_USB_XHCI_OMAP
64 #define CONFIG_USB_STORAGE
65 #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
67 #define CONFIG_OMAP_USB_PHY
68 #define CONFIG_AM437X_USB2PHY2_HOST
70 #endif /* __CONFIG_AM43XX_EVM_H */