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