浏览代码

arm: mvebu: serdes: Move Armada XP SERDES / PHY init code into new directory

With the upcoming addition of the Armada 38x SPL support, which is not
compatible to the Armada XP SERDES init code, we need to introduce a new
directory infrastructure. So lets move the AXP serdes init code into
a new directory. This way the A38x code can be added in a clean way.

Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese 10 年之前
父节点
当前提交
29b103c733

+ 2 - 1
arch/arm/mach-mvebu/Makefile

@@ -20,5 +20,6 @@ obj-y	+= timer.o
 obj-$(CONFIG_SPL_BUILD) += spl.o
 obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o
 
-obj-y	+= serdes/
+obj-$(CONFIG_SYS_MVEBU_DDR_AXP)	+= serdes/axp/
+
 endif

+ 0 - 0
arch/arm/mach-mvebu/serdes/Makefile → arch/arm/mach-mvebu/serdes/axp/Makefile


+ 0 - 0
arch/arm/mach-mvebu/serdes/board_env_spec.h → arch/arm/mach-mvebu/serdes/axp/board_env_spec.h


+ 0 - 0
arch/arm/mach-mvebu/serdes/high_speed_env_lib.c → arch/arm/mach-mvebu/serdes/axp/high_speed_env_lib.c


+ 0 - 0
arch/arm/mach-mvebu/serdes/high_speed_env_spec.c → arch/arm/mach-mvebu/serdes/axp/high_speed_env_spec.c


+ 0 - 0
arch/arm/mach-mvebu/serdes/high_speed_env_spec.h → arch/arm/mach-mvebu/serdes/axp/high_speed_env_spec.h


+ 2 - 2
board/maxbcm/maxbcm.c

@@ -11,8 +11,8 @@
 #include <asm/arch/soc.h>
 #include <linux/mbus.h>
 
-#include "../drivers/ddr/mvebu/ddr3_hw_training.h"
-#include "../arch/arm/mach-mvebu/serdes/high_speed_env_spec.h"
+#include "../drivers/ddr/marvell/axp/ddr3_hw_training.h"
+#include "../arch/arm/mach-mvebu/serdes/axp/high_speed_env_spec.h"
 
 DECLARE_GLOBAL_DATA_PTR;