[U-Boot] [PATCH V2 01/20] imx: mx7ulp: Add mx7ulp to Kconfig

Stefano Babic sbabic at denx.de
Sun Feb 12 08:39:04 UTC 2017



On 27/12/2016 11:04, Peng Fan wrote:
> i.MX7ULP is a new series SoC which has different architecture
> from previous i.MX platforms. Create a new cpu folder for it,
> and add it to Kconfig.
> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> Signed-off-by: Ye Li <ye.li at nxp.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
> 
> V2:
>  None
> 
>  arch/arm/Kconfig                  | 7 +++++++
>  arch/arm/cpu/armv7/Makefile       | 3 ++-
>  arch/arm/cpu/armv7/mx7ulp/Kconfig | 6 ++++++
>  3 files changed, 15 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/cpu/armv7/mx7ulp/Kconfig
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index d871a45..543027c 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -461,6 +461,11 @@ config ARCH_MESON
>  	  targeted at media players and tablet computers. We currently
>  	  support the S905 (GXBaby) 64-bit SoC.
>  
> +config ARCH_MX7ULP
> +        bool "NXP MX7ULP"
> +        select CPU_V7
> +	select ROM_UNIFIED_SECTIONS
> +
>  config ARCH_MX7
>  	bool "Freescale MX7"
>  	select CPU_V7
> @@ -924,6 +929,8 @@ source "arch/arm/mach-mvebu/Kconfig"
>  
>  source "arch/arm/cpu/armv7/ls102xa/Kconfig"
>  
> +source "arch/arm/cpu/armv7/mx7ulp/Kconfig"
> +
>  source "arch/arm/cpu/armv7/mx7/Kconfig"
>  
>  source "arch/arm/cpu/armv7/mx6/Kconfig"
> diff --git a/arch/arm/cpu/armv7/Makefile b/arch/arm/cpu/armv7/Makefile
> index 0e515a4..02e8778 100644
> --- a/arch/arm/cpu/armv7/Makefile
> +++ b/arch/arm/cpu/armv7/Makefile
> @@ -12,7 +12,7 @@ obj-y	+= cache_v7.o cache_v7_asm.o
>  obj-y	+= cpu.o cp15.o
>  obj-y	+= syslib.o
>  
> -ifneq ($(CONFIG_AM43XX)$(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TEGRA)$(CONFIG_MX6)$(CONFIG_MX7)$(CONFIG_TI81XX)$(CONFIG_AT91FAMILY)$(CONFIG_ARCH_SUNXI)$(CONFIG_ARCH_SOCFPGA)$(CONFIG_LS102XA),)
> +ifneq ($(CONFIG_AM43XX)$(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TEGRA)$(CONFIG_MX6)$(CONFIG_MX7)$(CONFIG_TI81XX)$(CONFIG_AT91FAMILY)$(CONFIG_ARCH_SUNXI)$(CONFIG_ARCH_SOCFPGA)$(CONFIG_ARCH_MX7ULP)$(CONFIG_LS102XA),)
>  ifneq ($(CONFIG_SKIP_LOWLEVEL_INIT),y)
>  obj-y	+= lowlevel_init.o
>  endif
> @@ -37,6 +37,7 @@ obj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
>  obj-$(if $(filter mx5,$(SOC)),y) += mx5/
>  obj-$(CONFIG_MX6) += mx6/
>  obj-$(CONFIG_MX7) += mx7/
> +obj-$(CONFIG_ARCH_MX7ULP) += mx7ulp/
>  obj-$(CONFIG_RMOBILE) += rmobile/
>  obj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
>  obj-$(CONFIG_ARCH_SUNXI) += sunxi/
> diff --git a/arch/arm/cpu/armv7/mx7ulp/Kconfig b/arch/arm/cpu/armv7/mx7ulp/Kconfig
> new file mode 100644
> index 0000000..85efd6d
> --- /dev/null
> +++ b/arch/arm/cpu/armv7/mx7ulp/Kconfig
> @@ -0,0 +1,6 @@
> +if ARCH_MX7ULP
> +
> +config SYS_SOC
> +	default "mx7ulp"
> +
> +endif
> 

Reviewed-by : Stefano Babic <sbabic at denx.de>

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list