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