]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mvebu: Move mvebu-common into mach-mvebu
authorStefan Roese <sr@denx.de>
Sat, 25 Apr 2015 04:29:46 +0000 (06:29 +0200)
committerLuka Perkov <luka.perkov@sartura.hr>
Tue, 5 May 2015 12:28:29 +0000 (14:28 +0200)
Now that the mach-mvebu directory exists and is used by Armada XP we can
move the mvebu-common files into this directory as well.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Kevin Smith <kevin.smith@elecsyscorp.com>
Tested-by: Dirk Eibach <dirk.eibach@gdsys.cc>
15 files changed:
arch/arm/Makefile
arch/arm/mach-mvebu/Makefile
arch/arm/mach-mvebu/dram.c [moved from arch/arm/mvebu-common/dram.c with 100% similarity]
arch/arm/mach-mvebu/gpio.c [moved from arch/arm/mvebu-common/gpio.c with 100% similarity]
arch/arm/mach-mvebu/mbus.c [moved from arch/arm/mvebu-common/mbus.c with 100% similarity]
arch/arm/mach-mvebu/serdes/Makefile [moved from arch/arm/mvebu-common/serdes/Makefile with 100% similarity]
arch/arm/mach-mvebu/serdes/board_env_spec.h [moved from arch/arm/mvebu-common/serdes/board_env_spec.h with 100% similarity]
arch/arm/mach-mvebu/serdes/high_speed_env_lib.c [moved from arch/arm/mvebu-common/serdes/high_speed_env_lib.c with 100% similarity]
arch/arm/mach-mvebu/serdes/high_speed_env_spec.c [moved from arch/arm/mvebu-common/serdes/high_speed_env_spec.c with 100% similarity]
arch/arm/mach-mvebu/serdes/high_speed_env_spec.h [moved from arch/arm/mvebu-common/serdes/high_speed_env_spec.h with 100% similarity]
arch/arm/mach-mvebu/timer.c [moved from arch/arm/mvebu-common/timer.c with 100% similarity]
arch/arm/mach-mvebu/u-boot-spl.lds [moved from arch/arm/mvebu-common/u-boot-spl.lds with 100% similarity]
board/maxbcm/maxbcm.c
include/configs/db-mv784mp-gp.h
include/configs/maxbcm.h

index 63ed3214f654aa4f63171555d7702d62eed867d6..8ff94a3c0b42232f1eae9fc4ea150699a7b7f3f9 100644 (file)
@@ -86,8 +86,8 @@ libs-y += arch/arm/imx-common/
 endif
 endif
 
-ifneq (,$(filter $(SOC), mvebu kirkwood))
-libs-y += arch/arm/mvebu-common/
+ifneq (,$(filter $(SOC), kirkwood))
+libs-y += arch/arm/mach-mvebu/
 endif
 
 # deprecated
index 737159ba12ae1a3c69872c0062b8dd1e17e15dc3..4f477cded8634841da5a6cfd32dffa3efdef84c9 100644 (file)
@@ -1,9 +1,24 @@
 #
-# Copyright (C) 2014 Stefan Roese <sr@denx.de>
+# Copyright (C) 2014-2015 Stefan Roese <sr@denx.de>
 #
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
+ifdef CONFIG_KIRKWOOD
+
+obj-y  = dram.o
+obj-y  += gpio.o
+obj-y  += timer.o
+
+else
+
 obj-y  = cpu.o
+obj-y  += dram.o
+obj-y  += gpio.o
+obj-y  += mbus.o
+obj-y  += timer.o
 obj-$(CONFIG_SPL_BUILD) += spl.o
 obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o
+
+obj-y  += serdes/
+endif
index 46b16ac29ccc843aaeeb85c42818d1638aaff9df..2fbb90cfff1adb138d0bb15a5d128506d256692e 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/mbus.h>
 
 #include "../drivers/ddr/mvebu/ddr3_hw_training.h"
-#include "../arch/arm/mvebu-common/serdes/high_speed_env_spec.h"
+#include "../arch/arm/mach-mvebu/serdes/high_speed_env_spec.h"
 
 DECLARE_GLOBAL_DATA_PTR;
 
index 4dd7b11fb4ad046e25599884b8c884a4d05ea0ec..cfeeab59964f84e240e74f3aee2d5e099944784b 100644 (file)
 #define CONFIG_SPL_LIBGENERIC_SUPPORT
 #define CONFIG_SPL_SERIAL_SUPPORT
 #define CONFIG_SPL_I2C_SUPPORT
-#define CONFIG_SPL_LDSCRIPT            "arch/arm/mvebu-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-mvebu/u-boot-spl.lds"
 
 /* SPL related SPI defines */
 #define CONFIG_SPL_SPI_SUPPORT
index e9096234af6e254dfdb2d37fbbb9c56b2c1ef4e1..27ea71fe616f4c169c490eed49f5a014dee0aa0e 100644 (file)
 #define CONFIG_SPL_LIBGENERIC_SUPPORT
 #define CONFIG_SPL_SERIAL_SUPPORT
 #define CONFIG_SPL_I2C_SUPPORT
-#define CONFIG_SPL_LDSCRIPT            "arch/arm/mvebu-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT            "arch/arm/mach-mvebu/u-boot-spl.lds"
 
 /* SPL related SPI defines */
 #define CONFIG_SPL_SPI_SUPPORT