]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/configs/am43xx_evm.h
ARM: AM43xx: Adapt to ti_armv7_common.h config file
[karo-tx-uboot.git] / include / configs / am43xx_evm.h
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
13
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 */
19
20 #include <asm/arch/omap.h>
21
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
27
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
32
33 /*
34  * Since SPL did pll and ddr initialization for us,
35  * we don't need to do it twice.
36  */
37 #if !defined(CONFIG_SPL_BUILD) && !defined(CONFIG_NOR_BOOT)
38 #define CONFIG_SKIP_LOWLEVEL_INIT
39 #endif
40
41 /* Now bring in the rest of the common code. */
42 #include <configs/ti_armv7_common.h>
43
44 /* Always 128 KiB env size */
45 #define CONFIG_ENV_SIZE                 (128 << 10)
46
47 #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
48
49 /* Clock Defines */
50 #define V_OSCK                          24000000  /* Clock output from T2 */
51 #define V_SCLK                          (V_OSCK)
52
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"
59
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
70 #endif  /* __CONFIG_AM43XX_EVM_H */