mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-20 22:21:41 +00:00
ARM: vf610: move to standard arch/board approach
Move Freescale/NXP Vybrid to a standard arch/board approach, similar
to what has been done to i.MX 6 earlier in commit 89ebc82137
("ARM:
mx6: move to a standard arch/board approach").
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
This commit is contained in:
parent
f3a8546b8f
commit
7966b43778
13 changed files with 45 additions and 45 deletions
|
@ -786,31 +786,11 @@ config TARGET_TS4800
|
||||||
select CPU_V7
|
select CPU_V7
|
||||||
select SYS_FSL_ERRATUM_ESDHC_A001
|
select SYS_FSL_ERRATUM_ESDHC_A001
|
||||||
|
|
||||||
config TARGET_VF610TWR
|
config ARCH_VF610
|
||||||
bool "Support vf610twr"
|
bool "Freescale Vybrid"
|
||||||
select CPU_V7
|
select CPU_V7
|
||||||
select SYS_FSL_ERRATUM_ESDHC111
|
select SYS_FSL_ERRATUM_ESDHC111
|
||||||
|
|
||||||
config TARGET_COLIBRI_VF
|
|
||||||
bool "Support Colibri VF50/61"
|
|
||||||
select BOARD_LATE_INIT
|
|
||||||
select CPU_V7
|
|
||||||
select SYS_FSL_ERRATUM_ESDHC111
|
|
||||||
|
|
||||||
config TARGET_PCM052
|
|
||||||
bool "Support pcm-052"
|
|
||||||
select CPU_V7
|
|
||||||
select SYS_FSL_ERRATUM_ESDHC111
|
|
||||||
select SYS_FSL_ERRATUM_ESDHC135
|
|
||||||
select SYS_FSL_ERRATUM_ESDHC_A001
|
|
||||||
|
|
||||||
config TARGET_BK4R1
|
|
||||||
bool "Support BK4r1"
|
|
||||||
select CPU_V7
|
|
||||||
select SYS_FSL_ERRATUM_ESDHC111
|
|
||||||
select SYS_FSL_ERRATUM_ESDHC135
|
|
||||||
select SYS_FSL_ERRATUM_ESDHC_A001
|
|
||||||
|
|
||||||
config ARCH_ZYNQ
|
config ARCH_ZYNQ
|
||||||
bool "Xilinx Zynq Platform"
|
bool "Xilinx Zynq Platform"
|
||||||
select BOARD_LATE_INIT
|
select BOARD_LATE_INIT
|
||||||
|
@ -1197,6 +1177,8 @@ source "arch/arm/mach-tegra/Kconfig"
|
||||||
|
|
||||||
source "arch/arm/mach-uniphier/Kconfig"
|
source "arch/arm/mach-uniphier/Kconfig"
|
||||||
|
|
||||||
|
source "arch/arm/cpu/armv7/vf610/Kconfig"
|
||||||
|
|
||||||
source "arch/arm/mach-zynq/Kconfig"
|
source "arch/arm/mach-zynq/Kconfig"
|
||||||
|
|
||||||
source "arch/arm/cpu/armv7/Kconfig"
|
source "arch/arm/cpu/armv7/Kconfig"
|
||||||
|
@ -1253,7 +1235,6 @@ source "board/freescale/mx53evk/Kconfig"
|
||||||
source "board/freescale/mx53loco/Kconfig"
|
source "board/freescale/mx53loco/Kconfig"
|
||||||
source "board/freescale/mx53smd/Kconfig"
|
source "board/freescale/mx53smd/Kconfig"
|
||||||
source "board/freescale/s32v234evb/Kconfig"
|
source "board/freescale/s32v234evb/Kconfig"
|
||||||
source "board/freescale/vf610twr/Kconfig"
|
|
||||||
source "board/grinn/chiliboard/Kconfig"
|
source "board/grinn/chiliboard/Kconfig"
|
||||||
source "board/gumstix/pepper/Kconfig"
|
source "board/gumstix/pepper/Kconfig"
|
||||||
source "board/h2200/Kconfig"
|
source "board/h2200/Kconfig"
|
||||||
|
@ -1262,7 +1243,6 @@ source "board/imx31_phycore/Kconfig"
|
||||||
source "board/isee/igep0033/Kconfig"
|
source "board/isee/igep0033/Kconfig"
|
||||||
source "board/olimex/mx23_olinuxino/Kconfig"
|
source "board/olimex/mx23_olinuxino/Kconfig"
|
||||||
source "board/phytec/pcm051/Kconfig"
|
source "board/phytec/pcm051/Kconfig"
|
||||||
source "board/phytec/pcm052/Kconfig"
|
|
||||||
source "board/ppcag/bg0900/Kconfig"
|
source "board/ppcag/bg0900/Kconfig"
|
||||||
source "board/sandisk/sansa_fuze_plus/Kconfig"
|
source "board/sandisk/sansa_fuze_plus/Kconfig"
|
||||||
source "board/schulercontrol/sc_sps_1/Kconfig"
|
source "board/schulercontrol/sc_sps_1/Kconfig"
|
||||||
|
@ -1286,7 +1266,6 @@ source "board/ti/ti814x/Kconfig"
|
||||||
source "board/ti/ti816x/Kconfig"
|
source "board/ti/ti816x/Kconfig"
|
||||||
source "board/timll/devkit3250/Kconfig"
|
source "board/timll/devkit3250/Kconfig"
|
||||||
source "board/toradex/colibri_pxa270/Kconfig"
|
source "board/toradex/colibri_pxa270/Kconfig"
|
||||||
source "board/toradex/colibri_vf/Kconfig"
|
|
||||||
source "board/technologic/ts4600/Kconfig"
|
source "board/technologic/ts4600/Kconfig"
|
||||||
source "board/technologic/ts4800/Kconfig"
|
source "board/technologic/ts4800/Kconfig"
|
||||||
source "board/vscom/baltos/Kconfig"
|
source "board/vscom/baltos/Kconfig"
|
||||||
|
|
36
arch/arm/cpu/armv7/vf610/Kconfig
Normal file
36
arch/arm/cpu/armv7/vf610/Kconfig
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
if ARCH_VF610
|
||||||
|
|
||||||
|
config VF610
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "Vybrid board select"
|
||||||
|
|
||||||
|
config TARGET_VF610TWR
|
||||||
|
bool "TWR-VF65GS10-DS5"
|
||||||
|
|
||||||
|
config TARGET_COLIBRI_VF
|
||||||
|
bool "Colibri VF50/61"
|
||||||
|
select BOARD_LATE_INIT
|
||||||
|
|
||||||
|
config TARGET_PCM052
|
||||||
|
bool "PCM-052"
|
||||||
|
select SYS_FSL_ERRATUM_ESDHC135
|
||||||
|
select SYS_FSL_ERRATUM_ESDHC_A001
|
||||||
|
|
||||||
|
config TARGET_BK4R1
|
||||||
|
bool "BK4r1"
|
||||||
|
select SYS_FSL_ERRATUM_ESDHC135
|
||||||
|
select SYS_FSL_ERRATUM_ESDHC_A001
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config SYS_SOC
|
||||||
|
default "vf610"
|
||||||
|
|
||||||
|
source "board/freescale/vf610twr/Kconfig"
|
||||||
|
source "board/phytec/pcm052/Kconfig"
|
||||||
|
source "board/toradex/colibri_vf/Kconfig"
|
||||||
|
|
||||||
|
endif
|
|
@ -6,9 +6,6 @@ config SYS_BOARD
|
||||||
config SYS_VENDOR
|
config SYS_VENDOR
|
||||||
default "freescale"
|
default "freescale"
|
||||||
|
|
||||||
config SYS_SOC
|
|
||||||
default "vf610"
|
|
||||||
|
|
||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "vf610twr"
|
default "vf610twr"
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,6 @@ config SYS_BOARD
|
||||||
config SYS_VENDOR
|
config SYS_VENDOR
|
||||||
default "phytec"
|
default "phytec"
|
||||||
|
|
||||||
config SYS_SOC
|
|
||||||
default "vf610"
|
|
||||||
|
|
||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "pcm052"
|
default "pcm052"
|
||||||
|
|
||||||
|
@ -26,9 +23,6 @@ config SYS_BOARD
|
||||||
config SYS_VENDOR
|
config SYS_VENDOR
|
||||||
default "phytec"
|
default "phytec"
|
||||||
|
|
||||||
config SYS_SOC
|
|
||||||
default "vf610"
|
|
||||||
|
|
||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "bk4r1"
|
default "bk4r1"
|
||||||
|
|
||||||
|
|
|
@ -1,17 +1,11 @@
|
||||||
if TARGET_COLIBRI_VF
|
if TARGET_COLIBRI_VF
|
||||||
|
|
||||||
config SYS_CPU
|
|
||||||
default "armv7"
|
|
||||||
|
|
||||||
config SYS_BOARD
|
config SYS_BOARD
|
||||||
default "colibri_vf"
|
default "colibri_vf"
|
||||||
|
|
||||||
config SYS_VENDOR
|
config SYS_VENDOR
|
||||||
default "toradex"
|
default "toradex"
|
||||||
|
|
||||||
config SYS_SOC
|
|
||||||
default "vf610"
|
|
||||||
|
|
||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "colibri_vf"
|
default "colibri_vf"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
|
CONFIG_ARCH_VF610=y
|
||||||
CONFIG_TARGET_BK4R1=y
|
CONFIG_TARGET_BK4R1=y
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="bk4r1"
|
CONFIG_DEFAULT_DEVICE_TREE="bk4r1"
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/phytec/pcm052/imximage.cfg,ENV_IS_IN_NAND"
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/phytec/pcm052/imximage.cfg,ENV_IS_IN_NAND"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
|
CONFIG_ARCH_VF610=y
|
||||||
CONFIG_TARGET_COLIBRI_VF=y
|
CONFIG_TARGET_COLIBRI_VF=y
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="vf610-colibri"
|
CONFIG_DEFAULT_DEVICE_TREE="vf610-colibri"
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/colibri_vf/imximage.cfg,ENV_IS_IN_NAND,IMX_NAND"
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/colibri_vf/imximage.cfg,ENV_IS_IN_NAND,IMX_NAND"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
|
CONFIG_ARCH_VF610=y
|
||||||
CONFIG_TARGET_PCM052=y
|
CONFIG_TARGET_PCM052=y
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="pcm052"
|
CONFIG_DEFAULT_DEVICE_TREE="pcm052"
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/phytec/pcm052/imximage.cfg,ENV_IS_IN_NAND"
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/phytec/pcm052/imximage.cfg,ENV_IS_IN_NAND"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
|
CONFIG_ARCH_VF610=y
|
||||||
CONFIG_TARGET_VF610TWR=y
|
CONFIG_TARGET_VF610TWR=y
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="vf610-twr"
|
CONFIG_DEFAULT_DEVICE_TREE="vf610-twr"
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/vf610twr/imximage.cfg,ENV_IS_IN_MMC"
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/vf610twr/imximage.cfg,ENV_IS_IN_MMC"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
|
CONFIG_ARCH_VF610=y
|
||||||
CONFIG_TARGET_VF610TWR=y
|
CONFIG_TARGET_VF610TWR=y
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="vf610-twr"
|
CONFIG_DEFAULT_DEVICE_TREE="vf610-twr"
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/vf610twr/imximage.cfg,ENV_IS_IN_NAND"
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/vf610twr/imximage.cfg,ENV_IS_IN_NAND"
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
|
|
||||||
#include <asm/arch/imx-regs.h>
|
#include <asm/arch/imx-regs.h>
|
||||||
|
|
||||||
#define CONFIG_VF610
|
|
||||||
#define CONFIG_SYS_THUMB_BUILD
|
#define CONFIG_SYS_THUMB_BUILD
|
||||||
#define CONFIG_SYS_FSL_CLK
|
#define CONFIG_SYS_FSL_CLK
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,6 @@
|
||||||
|
|
||||||
#include <asm/arch/imx-regs.h>
|
#include <asm/arch/imx-regs.h>
|
||||||
|
|
||||||
#define CONFIG_VF610
|
|
||||||
|
|
||||||
#define CONFIG_SYS_THUMB_BUILD
|
#define CONFIG_SYS_THUMB_BUILD
|
||||||
|
|
||||||
#define CONFIG_SKIP_LOWLEVEL_INIT
|
#define CONFIG_SKIP_LOWLEVEL_INIT
|
||||||
|
|
|
@ -11,8 +11,6 @@
|
||||||
|
|
||||||
#include <asm/arch/imx-regs.h>
|
#include <asm/arch/imx-regs.h>
|
||||||
|
|
||||||
#define CONFIG_VF610
|
|
||||||
|
|
||||||
#define CONFIG_SYS_FSL_CLK
|
#define CONFIG_SYS_FSL_CLK
|
||||||
|
|
||||||
#define CONFIG_MACH_TYPE 4146
|
#define CONFIG_MACH_TYPE 4146
|
||||||
|
|
Loading…
Add table
Reference in a new issue