[U-Boot] [PATCH 4/4] mx6: add arch-specific spl header

Edward Lin edward.lin at technexion.com
Fri Nov 8 10:37:43 CET 2013


Using defines instead of enum to be in-line with spl headers for other
architectures.

Signed-off-by: Richard Hu <richard.hu at technexion.com>
---
arch/arm/include/asm/arch-mx6/spl.h | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 arch/arm/include/asm/arch-mx6/spl.h

diff --git a/arch/arm/include/asm/arch-mx6/spl.h
b/arch/arm/include/asm/arch-mx6/spl.h
new file mode 100644
index 0000000..a027a07
--- /dev/null
+++ b/arch/arm/include/asm/arch-mx6/spl.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2013 TechNexion Ltd.
+ *
+ * Author: Richard Hu <richard.hu at technexion.com>
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ */
+
+#ifndef __ASM_ARCH_SPL_H__
+#define __ASM_ARCH_SPL_H__
+
+#define BOOT_DEVICE_MMC1 0
+#define BOOT_DEVICE_MMC2 1
+#define BOOT_DEVICE_MMC2_2 2
+#define BOOT_DEVICE_NAND 3
+#define BOOT_DEVICE_SATA 4
+#define BOOT_DEVICE_NONE 5
+
+#endif /* __ASM_ARCH_SPL_H__ */
-- 
1.8.0





More information about the U-Boot mailing list