]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-bcm283x/Kconfig
1f3031d8123f28c3c81541e8bb27384a74c02576
[u-boot] / arch / arm / mach-bcm283x / Kconfig
1 config BCM2835
2         bool "Broadcom BCM2835 SoC support"
3         depends on ARCH_BCM283X
4
5 config BCM2836
6         bool "Broadcom BCM2836 SoC support"
7         depends on ARCH_BCM283X
8
9 menu "Broadcom BCM283X family"
10         depends on ARCH_BCM283X
11
12 choice
13         prompt "Broadcom BCM283X board select"
14         optional
15
16 config TARGET_RPI
17         bool "Raspberry Pi (all BCM2835 variants)"
18         help
19           Support for all ARM1176-/BCM2835-based Raspberry Pi variants, such as
20           the A, A+, B, B+, Compute Module, and Zero. This option cannot
21           support BCM2836/BCM2837-based Raspberry Pis such as the RPi 2 and
22           RPi 3 due to different peripheral address maps.
23
24           This option creates a build targetting the ARM1176 ISA.
25         select BCM2835
26         select CPU_ARM1176
27
28 config TARGET_RPI_2
29         bool "Raspberry Pi 2"
30         help
31           Support for all BCM2836-based Raspberry Pi variants, such as
32           the RPi 2 model B.
33
34           This option also supports BCM2837-based variants such as the RPi 3
35           Model B, when run in 32-bit mode, provided you have configured the
36           VideoCore firmware to select the PL011 UART for the console by:
37           a) config.txt should contain dtoverlay=pi3-miniuart-bt.
38           b) You should run the following to tell the VC FW to process DT when
39           booting, and copy u-boot.bin.img (rather than u-boot.bin) to the SD
40           card as the kernel image:
41
42                path/to/kernel/scripts/mkknlimg --dtok u-boot.bin u-boot.bin.img
43
44           This works as of firmware.git commit 046effa13ebc "firmware:
45           arm_loader: emmc clock depends on core clock See:
46           https://github.com/raspberrypi/firmware/issues/572".
47
48           This option creates a build targetting the ARMv7/AArch32 ISA.
49         select ARMV7_LPAE
50         select BCM2836
51         select CPU_V7
52
53 endchoice
54
55 config SYS_BOARD
56         default "rpi" if TARGET_RPI
57         default "rpi_2" if TARGET_RPI_2
58
59 config SYS_VENDOR
60         default "raspberrypi"
61
62 config SYS_SOC
63         default "bcm283x"
64
65 config SYS_CONFIG_NAME
66         default "rpi" if TARGET_RPI
67         default "rpi_2" if TARGET_RPI_2
68
69 endmenu