summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorOlivier Dufour2013-01-24 10:52:46 +0100
committerCyril Jourdan2013-01-25 15:37:39 +0100
commit1b9affe481db1e0d2faf807da9be69b961cc55e7 (patch)
treea12f8a7eb91f8b538e4b1c8138433c4b9d1165d2 /common
parent00e24d9f8a42ca81f5ea01e2af101b973b2a2a80 (diff)
{cleo, polux, uboot}: use common structure for spc300 ATAG, refs #3706
Diffstat (limited to 'common')
-rw-r--r--common/include/asm/arch/spc300-atag.h30
-rw-r--r--common/include/asm/git_ignore_arch1
2 files changed, 31 insertions, 0 deletions
diff --git a/common/include/asm/arch/spc300-atag.h b/common/include/asm/arch/spc300-atag.h
new file mode 100644
index 0000000000..90fe63f1e8
--- /dev/null
+++ b/common/include/asm/arch/spc300-atag.h
@@ -0,0 +1,30 @@
+/*
+ * include/asm/arch/spc300-atag.h
+ *
+ * Copyright (C) 2013 MStar Semiconductor.
+ *
+ * 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.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+#ifndef __ASM_ARCH_SPC300_ATAG_H
+#define __ASM_ARCH_SPC300_ATAG_H
+
+#define ATAG_SPC300 0x41000102
+
+struct tag_spc300 {
+ u32 nvram_offset;
+ u32 plc_mem_size;
+};
+
+#endif /* __ASM_ARCH_SPC300_ATAG_H */
diff --git a/common/include/asm/git_ignore_arch b/common/include/asm/git_ignore_arch
index 6ef6dda2e8..235f714c86 100644
--- a/common/include/asm/git_ignore_arch
+++ b/common/include/asm/git_ignore_arch
@@ -8,6 +8,7 @@ memory.h
nvram.h
platform.h
serial.h
+spc300-atag.h
system.h
timex.h
uncompress.h