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