rockchip: arm: use 'arch-rockchip' for common header
authorKever Yang <kever.yang@rock-chips.com>
Thu, 28 Mar 2019 03:01:22 +0000 (11:01 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 30 Apr 2019 22:00:05 +0000 (00:00 +0200)
rockchip platform header file is in 'arch-rockchip'
instead of arch-$(SOC) for all SoCs.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/cpu/armv8/start.S
arch/arm/include/asm/gpio.h
arch/arm/lib/vectors.S

index fe52166e28f08f637094dfb714bebe6bc2e529ad..ecee9e37a501e228d7bc3f450d37a387d37c8ed3 100644 (file)
@@ -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 <asm/arch-rockchip/boot0.h>
+#else
 #include <asm/arch/boot0.h>
+#endif
 #else
        b       reset
 #endif
index 992a84152cfae333edd0606912e6e1533276714b..370031f2accbd6f6af538e0d8815306504fbae77 100644 (file)
@@ -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 <asm/arch/gpio.h>
 #endif
 #include <asm-generic/gpio.h>
index 2ca6e2494a7ad4dac2c2ae4ab4c8d573b6eb3f63..20f485142ef55c2d998eea59ec39fb836acef633 100644 (file)
  *   (1) defines '_start:' as appropriate
  *   (2) inserts the vector table using ARM_VECTORS as appropriate
  */
+#ifdef CONFIG_ARCH_ROCKCHIP
+#include <asm/arch-rockchip/boot0.h>
+#else
 #include <asm/arch/boot0.h>
-
+#endif
 #else
 
 /*