Masahiro Yamada | ddf6bd4 | 2015-03-19 19:42:56 +0900 | [diff] [blame] | 1 | menu "Broadcom BCM283X family" |
| 2 | depends on ARCH_BCM283X |
| 3 | |
| 4 | choice |
| 5 | prompt "Broadcom BCM283X board select" |
Joe Hershberger | a26cd04 | 2015-05-12 14:46:23 -0500 | [diff] [blame] | 6 | optional |
Masahiro Yamada | ddf6bd4 | 2015-03-19 19:42:56 +0900 | [diff] [blame] | 7 | |
| 8 | config TARGET_RPI |
| 9 | bool "Raspberry Pi" |
| 10 | select CPU_ARM1176 |
| 11 | |
| 12 | config TARGET_RPI_2 |
| 13 | bool "Raspberry Pi 2" |
| 14 | select CPU_V7 |
Alexander Graf | ccd9d51 | 2016-03-16 15:41:23 +0100 | [diff] [blame] | 15 | select ARMV7_LPAE |
Masahiro Yamada | ddf6bd4 | 2015-03-19 19:42:56 +0900 | [diff] [blame] | 16 | |
| 17 | endchoice |
| 18 | |
Masahiro Yamada | ddf6bd4 | 2015-03-19 19:42:56 +0900 | [diff] [blame] | 19 | config SYS_BOARD |
| 20 | default "rpi" if TARGET_RPI |
| 21 | default "rpi_2" if TARGET_RPI_2 |
| 22 | |
| 23 | config SYS_VENDOR |
| 24 | default "raspberrypi" |
| 25 | |
| 26 | config SYS_SOC |
Masahiro Yamada | d6c418e | 2015-03-19 19:42:57 +0900 | [diff] [blame] | 27 | default "bcm283x" |
Masahiro Yamada | ddf6bd4 | 2015-03-19 19:42:56 +0900 | [diff] [blame] | 28 | |
| 29 | config SYS_CONFIG_NAME |
| 30 | default "rpi" if TARGET_RPI |
| 31 | default "rpi_2" if TARGET_RPI_2 |
| 32 | |
| 33 | endmenu |