ARM: bcm2835: move CONFIG_BCM283* to Kconfig
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
4c1d5c29b5
commit
adb91ec72b
|
|
@ -1,3 +1,11 @@
|
||||||
|
config BCM2835
|
||||||
|
bool "Broadcom BCM2835 SoC support"
|
||||||
|
depends on ARCH_BCM283X
|
||||||
|
|
||||||
|
config BCM2836
|
||||||
|
bool "Broadcom BCM2836 SoC support"
|
||||||
|
depends on ARCH_BCM283X
|
||||||
|
|
||||||
menu "Broadcom BCM283X family"
|
menu "Broadcom BCM283X family"
|
||||||
depends on ARCH_BCM283X
|
depends on ARCH_BCM283X
|
||||||
|
|
||||||
|
|
@ -7,12 +15,14 @@ choice
|
||||||
|
|
||||||
config TARGET_RPI
|
config TARGET_RPI
|
||||||
bool "Raspberry Pi"
|
bool "Raspberry Pi"
|
||||||
|
select BCM2835
|
||||||
select CPU_ARM1176
|
select CPU_ARM1176
|
||||||
|
|
||||||
config TARGET_RPI_2
|
config TARGET_RPI_2
|
||||||
bool "Raspberry Pi 2"
|
bool "Raspberry Pi 2"
|
||||||
select CPU_V7
|
|
||||||
select ARMV7_LPAE
|
select ARMV7_LPAE
|
||||||
|
select BCM2836
|
||||||
|
select CPU_V7
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
#define __CONFIG_H
|
#define __CONFIG_H
|
||||||
|
|
||||||
#define CONFIG_BCM2835
|
|
||||||
#define CONFIG_SYS_CACHELINE_SIZE 32
|
#define CONFIG_SYS_CACHELINE_SIZE 32
|
||||||
|
|
||||||
#include "rpi-common.h"
|
#include "rpi-common.h"
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
#define __CONFIG_H
|
#define __CONFIG_H
|
||||||
|
|
||||||
#define CONFIG_SKIP_LOWLEVEL_INIT
|
#define CONFIG_SKIP_LOWLEVEL_INIT
|
||||||
#define CONFIG_BCM2836
|
|
||||||
#define CONFIG_SYS_CACHELINE_SIZE 64
|
#define CONFIG_SYS_CACHELINE_SIZE 64
|
||||||
|
|
||||||
#include "rpi-common.h"
|
#include "rpi-common.h"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue