1if AM33XX
2
3config AM33XX_CHILISOM
4	bool
5	select SUPPORT_SPL
6
7choice
8	prompt "AM33xx board select"
9	optional
10
11config TARGET_AM335X_EVM
12	bool "Support am335x_evm"
13	select BOARD_LATE_INIT
14	select DM
15	select DM_SERIAL
16	select DM_GPIO
17	select TI_I2C_BOARD_DETECT
18	imply SPL_ENV_SUPPORT
19	imply SPL_EXT_SUPPORT
20	imply SPL_FAT_SUPPORT
21	imply SPL_GPIO_SUPPORT
22	imply SPL_I2C_SUPPORT
23	imply SPL_LIBCOMMON_SUPPORT
24	imply SPL_LIBDISK_SUPPORT
25	imply SPL_LIBGENERIC_SUPPORT
26	imply SPL_MMC_SUPPORT
27	imply SPL_NAND_SUPPORT
28	imply SPL_POWER_SUPPORT
29	imply SPL_SERIAL_SUPPORT
30	imply SPL_WATCHDOG_SUPPORT
31	imply SPL_YMODEM_SUPPORT
32	imply SPL_SYS_MALLOC_SIMPLE
33	imply SPL_SEPARATE_BSS
34	imply SPL_DM
35	imply SPL_DM_SEQ_ALIAS
36	imply SPL_OF_LIBFDT
37	help
38	  This option specifies support for the AM335x
39	  GP and HS EVM development platforms. The AM335x
40	  GP EVM is a standalone test, development, and
41	  evaluation module system that enables developers
42	  to write software and develop hardware around
43	  an AM335x processor subsystem.
44
45config TARGET_AM335X_BALTOS
46	bool "Support am335x_baltos"
47	select BOARD_LATE_INIT
48	select DM
49	select DM_SERIAL
50	select DM_GPIO
51
52config TARGET_AM335X_IGEP003X
53	bool "Support am335x_igep003x"
54	select BOARD_LATE_INIT
55	select DM
56	select DM_SERIAL
57	select DM_GPIO
58
59config TARGET_AM335X_SHC
60	bool "Support am335x based shc board from bosch"
61	select BOARD_LATE_INIT
62	select DM
63	select DM_SERIAL
64	select DM_GPIO
65
66config TARGET_AM335X_SL50
67	bool "Support am335x_sl50"
68	select BOARD_LATE_INIT
69	select DM
70	select DM_SERIAL
71	select DM_GPIO
72
73config TARGET_BAV335X
74	bool "Support bav335x"
75	select BOARD_LATE_INIT
76	select DM
77	select DM_SERIAL
78	help
79	  The BAV335x OEM Network Processor integrates all the functions of an
80	  embedded network computer in a small, easy to use SODIMM module which
81	  incorporates the popular Texas Instruments Sitara 32bit ARM Coretex-A8
82	  processor, with fast DDR3 512MB SDRAM, 4GB of embedded MMC and a Gigabit
83	  ethernet with simple connection to external connectors.
84
85	  For more information, visit: http://birdland.com/oem
86
87config TARGET_CHILIBOARD
88	bool "Grinn chiliBoard"
89	select AM33XX_CHILISOM
90	select BOARD_LATE_INIT
91	select DM
92	select DM_SERIAL
93
94config TARGET_CM_T335
95	bool "Support cm_t335"
96	select DM
97	select DM_SERIAL
98	select DM_GPIO
99
100config TARGET_PCM051
101	bool "Support pcm051"
102	select DM
103	select DM_SERIAL
104	select DM_GPIO
105
106config TARGET_PENGWYN
107	bool "Support pengwyn"
108	select DM
109	select DM_SERIAL
110	select DM_GPIO
111
112config TARGET_PEPPER
113	bool "Support pepper"
114	select DM
115	select DM_SERIAL
116	select DM_GPIO
117
118endchoice
119
120endif
121
122if AM43XX
123
124config TARGET_AM43XX_EVM
125	bool "Support am43xx_evm"
126	select BOARD_LATE_INIT
127	select TI_I2C_BOARD_DETECT
128	imply DM_ETH
129	imply DM_I2C
130	imply DM_SPI
131	imply DM_SPI_FLASH
132	imply SPI_FLASH_BAR
133	imply SPL_ENV_SUPPORT
134	imply SPL_EXT_SUPPORT
135	imply SPL_FAT_SUPPORT
136	imply SPL_GPIO_SUPPORT
137	imply SPL_I2C_SUPPORT
138	imply SPL_LIBCOMMON_SUPPORT
139	imply SPL_LIBDISK_SUPPORT
140	imply SPL_LIBGENERIC_SUPPORT
141	imply SPL_MMC_SUPPORT
142	imply SPL_NAND_SUPPORT
143	imply SPL_POWER_SUPPORT
144	imply SPL_SERIAL_SUPPORT
145	imply SPL_WATCHDOG_SUPPORT
146	imply SPL_YMODEM_SUPPORT
147	help
148	  This option specifies support for the AM43xx
149	  GP and HS EVM development platforms.The AM437x
150	  GP EVM is a standalone test, development, and
151	  evaluation module system that enables developers
152	  to write software and develop hardware around
153	  an AM43xx processor subsystem.
154endif
155
156if AM43XX || AM33XX
157config ISW_ENTRY_ADDR
158	hex "Address in memory or XIP flash of bootloader entry point"
159	help
160	  After any reset, the boot ROM on the AM43XX SOC
161	  searches the boot media for a valid boot image.
162	  For non-XIP devices, the ROM then copies the
163	  image into internal memory.
164	  For all boot modes, after the ROM processes the
165	  boot image it eventually computes the entry
166	  point address depending on the device type
167	  (secure/non-secure), boot media (xip/non-xip) and
168	  image headers.
169	default 0x402F4000 if AM43XX
170	default 0x402F0400 if AM33XX
171
172config PUB_ROM_DATA_SIZE
173	hex "Size in bytes of the L3 SRAM reserved by ROM to store data"
174	help
175	  During the device boot, the public ROM uses the top of
176	  the public L3 OCMC RAM to store r/w data like stack,
177	  heap, globals etc. When the ROM is copying the boot
178	  image from the boot media into memory, the image must
179	  not spill over into this area. This value can be used
180	  during compile time to determine the maximum size of a
181	  boot image. Once the ROM transfers control to the boot
182	  image, this area is no longer used, and can be reclaimed
183	  for run time use by the boot image.
184	default 0x8400
185endif
186