From: Kever Yang Date: Thu, 28 Mar 2019 03:01:22 +0000 (+0800) Subject: rockchip: arm: use 'arch-rockchip' for common header X-Git-Tag: v2019.07-rc2~29^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6916dad51104ca297c8037e15d9abcd1811117f5;p=platform%2Fkernel%2Fu-boot.git rockchip: arm: use 'arch-rockchip' for common header rockchip platform header file is in 'arch-rockchip' instead of arch-$(SOC) for all SoCs. Signed-off-by: Kever Yang Reviewed-by: Philipp Tomsich --- diff --git a/arch/arm/cpu/armv8/start.S b/arch/arm/cpu/armv8/start.S index fe52166..ecee9e3 100644 --- a/arch/arm/cpu/armv8/start.S +++ b/arch/arm/cpu/armv8/start.S @@ -26,7 +26,11 @@ _start: * order to boot, allow them to set that in their boot0.h file and then * use it here. */ +#ifdef CONFIG_ARCH_ROCKCHIP +#include +#else #include +#endif #else b reset #endif diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h index 992a841..370031f 100644 --- a/arch/arm/include/asm/gpio.h +++ b/arch/arm/include/asm/gpio.h @@ -1,6 +1,6 @@ #if !defined(CONFIG_ARCH_UNIPHIER) && !defined(CONFIG_ARCH_STI) && \ !defined(CONFIG_ARCH_K3) && !defined(CONFIG_ARCH_BCM6858) && \ - !defined(CONFIG_ARCH_BCM63158) + !defined(CONFIG_ARCH_BCM63158) && !defined(CONFIG_ARCH_ROCKCHIP) #include #endif #include diff --git a/arch/arm/lib/vectors.S b/arch/arm/lib/vectors.S index 2ca6e24..20f4851 100644 --- a/arch/arm/lib/vectors.S +++ b/arch/arm/lib/vectors.S @@ -67,8 +67,11 @@ * (1) defines '_start:' as appropriate * (2) inserts the vector table using ARM_VECTORS as appropriate */ +#ifdef CONFIG_ARCH_ROCKCHIP +#include +#else #include - +#endif #else /*