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 |
Lokesh Vutla | 4c73b23 | 2017-04-26 13:37:09 +0530 | [diff] [blame] | 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 |
Andrew F. Davis | 817bbee | 2016-08-30 14:06:20 -0500 | [diff] [blame] | 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 | |
| 45 | config TARGET_AM335X_BALTOS |
| 46 | bool "Support am335x_baltos" |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 47 | select BOARD_LATE_INIT |
Andrew F. Davis | 817bbee | 2016-08-30 14:06:20 -0500 | [diff] [blame] | 48 | select DM |
| 49 | select DM_SERIAL |
| 50 | select DM_GPIO |
| 51 | |
Ladislav Michl | 10bdc71 | 2017-04-01 17:17:16 +0200 | [diff] [blame] | 52 | config TARGET_AM335X_IGEP003X |
| 53 | bool "Support am335x_igep003x" |
Pau Pajuelo | b2310f1 | 2017-04-01 17:18:40 +0200 | [diff] [blame] | 54 | select BOARD_LATE_INIT |
Andrew F. Davis | 817bbee | 2016-08-30 14:06:20 -0500 | [diff] [blame] | 55 | select DM |
| 56 | select DM_SERIAL |
| 57 | select DM_GPIO |
| 58 | |
| 59 | config TARGET_AM335X_SHC |
| 60 | bool "Support am335x based shc board from bosch" |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 61 | select BOARD_LATE_INIT |
Andrew F. Davis | 817bbee | 2016-08-30 14:06:20 -0500 | [diff] [blame] | 62 | select DM |
| 63 | select DM_SERIAL |
| 64 | select DM_GPIO |
| 65 | |
| 66 | config TARGET_AM335X_SL50 |
| 67 | bool "Support am335x_sl50" |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 68 | select BOARD_LATE_INIT |
Andrew F. Davis | 817bbee | 2016-08-30 14:06:20 -0500 | [diff] [blame] | 69 | select DM |
| 70 | select DM_SERIAL |
| 71 | select DM_GPIO |
| 72 | |
| 73 | config TARGET_BAV335X |
| 74 | bool "Support bav335x" |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 75 | select BOARD_LATE_INIT |
Andrew F. Davis | 817bbee | 2016-08-30 14:06:20 -0500 | [diff] [blame] | 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 | |
Marcin Niestroj | 20315d2 | 2017-01-25 09:53:08 +0100 | [diff] [blame] | 87 | config TARGET_CHILIBOARD |
| 88 | bool "Grinn chiliBoard" |
| 89 | select AM33XX_CHILISOM |
| 90 | select BOARD_LATE_INIT |
| 91 | select DM |
| 92 | select DM_SERIAL |
| 93 | |
Andrew F. Davis | 817bbee | 2016-08-30 14:06:20 -0500 | [diff] [blame] | 94 | config TARGET_CM_T335 |
| 95 | bool "Support cm_t335" |
| 96 | select DM |
| 97 | select DM_SERIAL |
| 98 | select DM_GPIO |
| 99 | |
| 100 | config TARGET_PCM051 |
| 101 | bool "Support pcm051" |
| 102 | select DM |
| 103 | select DM_SERIAL |
| 104 | select DM_GPIO |
| 105 | |
| 106 | config TARGET_PENGWYN |
| 107 | bool "Support pengwyn" |
| 108 | select DM |
| 109 | select DM_SERIAL |
| 110 | select DM_GPIO |
| 111 | |
| 112 | config TARGET_PEPPER |
| 113 | bool "Support pepper" |
| 114 | select DM |
| 115 | select DM_SERIAL |
| 116 | select DM_GPIO |
| 117 | |
| 118 | endchoice |
| 119 | |
| 120 | endif |
| 121 | |
Madan Srinivas | eba13cd | 2016-05-19 19:10:43 -0500 | [diff] [blame] | 122 | if AM43XX |
Simon Glass | c5ec636 | 2016-09-12 23:18:37 -0600 | [diff] [blame] | 123 | |
Madan Srinivas | eba13cd | 2016-05-19 19:10:43 -0500 | [diff] [blame] | 124 | config TARGET_AM43XX_EVM |
| 125 | bool "Support am43xx_evm" |
Tom Rini | 22d567e | 2017-01-22 19:43:11 -0500 | [diff] [blame] | 126 | select BOARD_LATE_INIT |
Madan Srinivas | eba13cd | 2016-05-19 19:10:43 -0500 | [diff] [blame] | 127 | select TI_I2C_BOARD_DETECT |
Lokesh Vutla | 493368d | 2017-02-21 11:40:43 +0530 | [diff] [blame] | 128 | imply DM_ETH |
| 129 | imply DM_I2C |
| 130 | imply DM_SPI |
| 131 | imply DM_SPI_FLASH |
| 132 | imply SPI_FLASH_BAR |
Tom Rini | 3b23510 | 2017-03-03 15:33:31 -0500 | [diff] [blame] | 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 |
Madan Srinivas | eba13cd | 2016-05-19 19:10:43 -0500 | [diff] [blame] | 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. |
Andrew F. Davis | 817bbee | 2016-08-30 14:06:20 -0500 | [diff] [blame] | 154 | endif |
Madan Srinivas | eba13cd | 2016-05-19 19:10:43 -0500 | [diff] [blame] | 155 | |
Andrew F. Davis | 817bbee | 2016-08-30 14:06:20 -0500 | [diff] [blame] | 156 | if AM43XX || AM33XX |
Madan Srinivas | fb59e8e | 2016-05-19 19:10:42 -0500 | [diff] [blame] | 157 | config 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. |
Andrew F. Davis | 74c48a0 | 2017-01-06 16:32:12 -0600 | [diff] [blame] | 169 | default 0x402F4000 if AM43XX |
| 170 | default 0x402F0400 if AM33XX |
Madan Srinivas | fb59e8e | 2016-05-19 19:10:42 -0500 | [diff] [blame] | 171 | |
| 172 | config 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 |
Madan Srinivas | eba13cd | 2016-05-19 19:10:43 -0500 | [diff] [blame] | 185 | endif |