[U-Boot] [PATCH 1/2] ARM: zynq: Move ps7_init() out of spl.h

Michal Simek michal.simek at xilinx.com
Mon Aug 11 15:05:20 CEST 2014


Prepare for spl.h removal.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 arch/arm/include/asm/arch-zynq/spl.h       | 2 --
 arch/arm/include/asm/arch-zynq/sys_proto.h | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/include/asm/arch-zynq/spl.h b/arch/arm/include/asm/arch-zynq/spl.h
index 5789d28bb3ed..17f37cb8eb61 100644
--- a/arch/arm/include/asm/arch-zynq/spl.h
+++ b/arch/arm/include/asm/arch-zynq/spl.h
@@ -6,8 +6,6 @@
 #ifndef	_ASM_ARCH_SPL_H_
 #define	_ASM_ARCH_SPL_H_

-extern void ps7_init(void);
-
 #define BOOT_DEVICE_NONE	0
 #define BOOT_DEVICE_RAM		1
 #define BOOT_DEVICE_SPI		2
diff --git a/arch/arm/include/asm/arch-zynq/sys_proto.h b/arch/arm/include/asm/arch-zynq/sys_proto.h
index 53c30ec6cf3a..89c47f3bd3fa 100644
--- a/arch/arm/include/asm/arch-zynq/sys_proto.h
+++ b/arch/arm/include/asm/arch-zynq/sys_proto.h
@@ -23,4 +23,6 @@ extern unsigned int zynq_get_silicon_version(void);
 extern int zynq_sdhci_init(u32 regbase);
 extern int zynq_sdhci_of_init(const void *blob);

+extern void ps7_init(void);
+
 #endif /* _SYS_PROTO_H_ */
--
1.8.2.3

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140811/55c92ab9/attachment.pgp>


More information about the U-Boot mailing list