]>
Commit | Line | Data |
---|---|---|
8d0afcd7 LV |
1 | /* |
2 | * am43xx_evm.h | |
3 | * | |
4 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
5 | * | |
6 | * SPDX-License-Identifier: GPL-2.0+ | |
7 | */ | |
8 | ||
9 | #ifndef __CONFIG_AM43XX_EVM_H | |
10 | #define __CONFIG_AM43XX_EVM_H | |
11 | ||
12 | #define CONFIG_AM43XX | |
8d0afcd7 | 13 | |
369cbe1e LV |
14 | #define CONFIG_BOARD_LATE_INIT |
15 | #define CONFIG_ARCH_CPU_INIT | |
16 | #define CONFIG_SYS_CACHELINE_SIZE 32 | |
8d0afcd7 | 17 | #define CONFIG_MAX_RAM_BANK_SIZE (1024 << 20) /* 1GB */ |
8d0afcd7 | 18 | #define CONFIG_SYS_TIMERBASE 0x48040000 /* Use Timer2 */ |
369cbe1e LV |
19 | |
20 | #include <asm/arch/omap.h> | |
8d0afcd7 LV |
21 | |
22 | /* NS16550 Configuration */ | |
23 | #define CONFIG_SYS_NS16550 | |
24 | #define CONFIG_SYS_NS16550_SERIAL | |
25 | #define CONFIG_SYS_NS16550_REG_SIZE (-4) | |
369cbe1e | 26 | #define CONFIG_SYS_NS16550_CLK 48000000 |
8d0afcd7 | 27 | |
369cbe1e LV |
28 | /* SPL defines. */ |
29 | #define CONFIG_SPL_TEXT_BASE 0x40300350 | |
30 | #define CONFIG_SPL_MAX_SIZE (0x40337C00 - CONFIG_SPL_TEXT_BASE) | |
31 | #define CONFIG_SPL_YMODEM_SUPPORT | |
8d0afcd7 LV |
32 | |
33 | /* | |
369cbe1e LV |
34 | * Since SPL did pll and ddr initialization for us, |
35 | * we don't need to do it twice. | |
8d0afcd7 | 36 | */ |
369cbe1e | 37 | #if !defined(CONFIG_SPL_BUILD) && !defined(CONFIG_NOR_BOOT) |
8d0afcd7 LV |
38 | #define CONFIG_SKIP_LOWLEVEL_INIT |
39 | #endif | |
40 | ||
369cbe1e LV |
41 | /* Now bring in the rest of the common code. */ |
42 | #include <configs/ti_armv7_common.h> | |
8d0afcd7 | 43 | |
369cbe1e LV |
44 | /* Always 128 KiB env size */ |
45 | #define CONFIG_ENV_SIZE (128 << 10) | |
8d0afcd7 | 46 | |
369cbe1e | 47 | #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG |
8d0afcd7 | 48 | |
369cbe1e LV |
49 | /* Clock Defines */ |
50 | #define V_OSCK 24000000 /* Clock output from T2 */ | |
51 | #define V_SCLK (V_OSCK) | |
8d0afcd7 | 52 | |
369cbe1e LV |
53 | /* NS16550 Configuration */ |
54 | #define CONFIG_SYS_NS16550_COM1 0x44e09000 /* Base EVM has UART0 */ | |
55 | ||
56 | #define CONFIG_ENV_IS_NOWHERE | |
57 | ||
58 | #define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds" | |
8d0afcd7 | 59 | |
3d799c7f DM |
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 | |
66 | ||
67 | #define CONFIG_OMAP_USB_PHY | |
68 | #define CONFIG_AM437X_USB2PHY2_HOST | |
69 | ||
8d0afcd7 | 70 | #endif /* __CONFIG_AM43XX_EVM_H */ |