]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Move SoC sources to mach-zynqmp
authorMichal Simek <michal.simek@xilinx.com>
Thu, 17 Jan 2019 07:22:43 +0000 (08:22 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 24 Jan 2019 09:03:44 +0000 (10:03 +0100)
Similar changes was done for Zynq in past and this patch just follow
this pattern to separate cpu code from SoC code.

Move arch/arm/cpu/armv8/zynqmp/* -> arch/arm/mach-zynqmp/*
And also fix references to these files.

Based on
"ARM: zynq: move SoC sources to mach-zynq"
(sha1: 0107f2403669f764ab726d0d404e35bb9447bbcc)

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
19 files changed:
MAINTAINERS
arch/arm/Kconfig
arch/arm/Makefile
arch/arm/cpu/armv8/Makefile
arch/arm/mach-k3/arm64-mmu.c
arch/arm/mach-tegra/arm64-mmu.c
arch/arm/mach-zynqmp/Kconfig [moved from arch/arm/cpu/armv8/zynqmp/Kconfig with 100% similarity]
arch/arm/mach-zynqmp/Makefile [moved from arch/arm/cpu/armv8/zynqmp/Makefile with 100% similarity]
arch/arm/mach-zynqmp/clk.c [moved from arch/arm/cpu/armv8/zynqmp/clk.c with 100% similarity]
arch/arm/mach-zynqmp/cpu.c [moved from arch/arm/cpu/armv8/zynqmp/cpu.c with 100% similarity]
arch/arm/mach-zynqmp/handoff.c [moved from arch/arm/cpu/armv8/zynqmp/handoff.c with 100% similarity]
arch/arm/mach-zynqmp/include/mach/clk.h [moved from arch/arm/include/asm/arch-zynqmp/clk.h with 100% similarity]
arch/arm/mach-zynqmp/include/mach/gpio.h [moved from arch/arm/include/asm/arch-zynqmp/gpio.h with 100% similarity]
arch/arm/mach-zynqmp/include/mach/hardware.h [moved from arch/arm/include/asm/arch-zynqmp/hardware.h with 100% similarity]
arch/arm/mach-zynqmp/include/mach/psu_init_gpl.h [moved from arch/arm/include/asm/arch-zynqmp/psu_init_gpl.h with 100% similarity]
arch/arm/mach-zynqmp/include/mach/sys_proto.h [moved from arch/arm/include/asm/arch-zynqmp/sys_proto.h with 100% similarity]
arch/arm/mach-zynqmp/mp.c [moved from arch/arm/cpu/armv8/zynqmp/mp.c with 100% similarity]
arch/arm/mach-zynqmp/psu_spl_init.c [moved from arch/arm/cpu/armv8/zynqmp/psu_spl_init.c with 100% similarity]
arch/arm/mach-zynqmp/spl.c [moved from arch/arm/cpu/armv8/zynqmp/spl.c with 100% similarity]

index 1cb092e539fa888b8c5ae747242455a516e26e22..ecac867950cbf0c5dc010b655f71f07a8436fcb4 100644 (file)
@@ -362,7 +362,7 @@ ARM ZYNQMP
 M:     Michal Simek <michal.simek@xilinx.com>
 S:     Maintained
 T:     git git://git.denx.de/u-boot-microblaze.git
-F:     arch/arm/cpu/armv8/zynqmp/
+F:     arch/arm/mach-zynqmp/
 F:     drivers/clk/clk_zynqmp.c
 F:     drivers/fpga/zynqpl.c
 F:     drivers/gpio/zynq_gpio.c
index a65e0c52116c8fac135d2d9c108793cadf3fb076..2298e6e7d750ac76e0369d72bd2f984a9a2e4e24 100644 (file)
@@ -1503,14 +1503,14 @@ source "arch/arm/cpu/armv7/vf610/Kconfig"
 
 source "arch/arm/mach-zynq/Kconfig"
 
+source "arch/arm/mach-zynqmp/Kconfig"
+
 source "arch/arm/mach-versal/Kconfig"
 
 source "arch/arm/mach-zynqmp-r5/Kconfig"
 
 source "arch/arm/cpu/armv7/Kconfig"
 
-source "arch/arm/cpu/armv8/zynqmp/Kconfig"
-
 source "arch/arm/cpu/armv8/Kconfig"
 
 source "arch/arm/mach-imx/Kconfig"
index 87d9d4b9f7442fb364fc6b5ca17019a38dbb3e85..817302523aec4f9b03a94eaff9b3088602fd239f 100644 (file)
@@ -81,6 +81,7 @@ machine-$(CONFIG_ARCH_STM32MP)                += stm32mp
 machine-$(CONFIG_TEGRA)                        += tegra
 machine-$(CONFIG_ARCH_UNIPHIER)                += uniphier
 machine-$(CONFIG_ARCH_ZYNQ)            += zynq
+machine-$(CONFIG_ARCH_ZYNQMP)          += zynqmp
 machine-$(CONFIG_ARCH_VERSAL)          += versal
 machine-$(CONFIG_ARCH_ZYNQMP_R5)       += zynqmp-r5
 
index 52c8daa049621f53c4a05f503f21235e6d2b8b22..4c4b13c9e7599cfc7dce35bdb02480d37419b54c 100644 (file)
@@ -29,7 +29,6 @@ obj-$(CONFIG_$(SPL_)ARMV8_SEC_FIRMWARE_SUPPORT) += sec_firmware.o sec_firmware_a
 
 obj-$(CONFIG_FSL_LAYERSCAPE) += fsl-layerscape/
 obj-$(CONFIG_S32V234) += s32v234/
-obj-$(CONFIG_ARCH_ZYNQMP) += zynqmp/
 obj-$(CONFIG_TARGET_HIKEY) += hisilicon/
 obj-$(CONFIG_ARMV8_PSCI) += psci.o
 obj-$(CONFIG_ARCH_SUNXI) += lowlevel_init.o
index f8b93fe45849bcf4403cf09a22fc10cd513956f0..a75ba1ffdba01f357622a202fa8be464227e5e8d 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
  *     Lokesh Vutla <lokeshvutla@ti.com>
- * (This file is derived from arch/arm/cpu/armv8/zynqmp/cpu.c)
+ * (This file is derived from arch/arm/mach-zynqmp/cpu.c)
  *
  */
 
index 702fde1dea1d5dec349453a8f49190f873b8d0ef..d45b1faaa2c2d8ae0a09a0d44b6d01ee1a5c37ed 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * (C) Copyright 2014 - 2015 Xilinx, Inc.
  * Michal Simek <michal.simek@xilinx.com>
- * (This file derived from arch/arm/cpu/armv8/zynqmp/cpu.c)
+ * (This file derived from arch/arm/mach-zynqmp/cpu.c)
  *
  * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
  */