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 |
| 15 | |
| 16 | endchoice |
| 17 | |
Masahiro Yamada | ddf6bd4 | 2015-03-19 19:42:56 +0900 | [diff] [blame] | 18 | config SYS_BOARD |
| 19 | default "rpi" if TARGET_RPI |
| 20 | default "rpi_2" if TARGET_RPI_2 |
| 21 | |
| 22 | config SYS_VENDOR |
| 23 | default "raspberrypi" |
| 24 | |
| 25 | config SYS_SOC |
Masahiro Yamada | d6c418e | 2015-03-19 19:42:57 +0900 | [diff] [blame] | 26 | default "bcm283x" |
Masahiro Yamada | ddf6bd4 | 2015-03-19 19:42:56 +0900 | [diff] [blame] | 27 | |
| 28 | config SYS_CONFIG_NAME |
| 29 | default "rpi" if TARGET_RPI |
| 30 | default "rpi_2" if TARGET_RPI_2 |
| 31 | |
| 32 | endmenu |