]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: zynq: Remove spl.h
authorMichal Simek <michal.simek@xilinx.com>
Mon, 11 Aug 2014 12:03:15 +0000 (14:03 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 19 Aug 2014 06:48:18 +0000 (08:48 +0200)
Do not specify own zynq specific SPL macros
because there is no need for that.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arch/arm/cpu/armv7/zynq/spl.c
arch/arm/include/asm/arch-zynq/spl.h [deleted file]
arch/arm/include/asm/spl.h

index d73e5cbaa745a23c74b511fa866d3e51096f4db6..9ff2ef2ae36023cab39846a8fe2b1b07e0195735 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
-#include <asm/arch/spl.h>
+#include <asm/spl.h>
 #include <asm/arch/sys_proto.h>
 
 DECLARE_GLOBAL_DATA_PTR;
diff --git a/arch/arm/include/asm/arch-zynq/spl.h b/arch/arm/include/asm/arch-zynq/spl.h
deleted file mode 100644 (file)
index 17f37cb..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * (C) Copyright 2014 Xilinx, Inc. Michal Simek
- *
- * SPDX-License-Identifier:    GPL-2.0+
- */
-#ifndef        _ASM_ARCH_SPL_H_
-#define        _ASM_ARCH_SPL_H_
-
-#define BOOT_DEVICE_NONE       0
-#define BOOT_DEVICE_RAM                1
-#define BOOT_DEVICE_SPI                2
-#define BOOT_DEVICE_MMC1       3
-#define BOOT_DEVICE_MMC2       4
-#define BOOT_DEVICE_MMC2_2     5
-
-#endif
index 18a319de2f6ab25c146f1d8f3d35f1f08934f6b8..e5daf89127125c4d4379ed5b08775c7e4d0cc5ec 100644 (file)
@@ -7,7 +7,7 @@
 #ifndef        _ASM_SPL_H_
 #define        _ASM_SPL_H_
 
-#if defined(CONFIG_OMAP) || defined(CONFIG_SOCFPGA) || defined(CONFIG_ZYNQ) \
+#if defined(CONFIG_OMAP) || defined(CONFIG_SOCFPGA) \
        || defined(CONFIG_EXYNOS4) || defined(CONFIG_EXYNOS5) \
        || defined(CONFIG_EXYNOS4210)
 /* Platform-specific defines */