Skip to contentSkip to conversation

ARM: S5P: Move System support header and Uncompress code

PATCH In review Kukjin Kim 2 participants 2 messages Jan 25, 2010

Subsystems (3)
lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

PATCH 1/1 ARM: S5P: Move System support header and Uncompress code

This patch moves system support and uncompress common codes for S5P into plat-s5p/include/mach from mach-s5p6440/include/mach.

---
 arch/arm/mach-s5p6440/include/mach/system.h     |   26 -----------------------
 arch/arm/mach-s5p6440/include/mach/uncompress.h |   24 ---------------------
 arch/arm/plat-s5p/include/mach/system.h         |   26 +++++++++++++++++++++++
 arch/arm/plat-s5p/include/mach/uncompress.h     |   24 +++++++++++++++++++++
 4 files changed, 50 insertions(+), 50 deletions(-)
 delete mode 100644 arch/arm/mach-s5p6440/include/mach/system.h
 delete mode 100644 arch/arm/mach-s5p6440/include/mach/uncompress.h
 create mode 100644 arch/arm/plat-s5p/include/mach/system.h
 create mode 100644 arch/arm/plat-s5p/include/mach/uncompress.h
arch/arm/mach-s5p6440/include/mach/system.h deleted +0 -26
deleted file mode 100644
index d2dd817..0000000
@@ -1,26 +0,0 @@
-/* linux/arch/arm/mach-s5p6440/include/mach/system.h
- *
- * Copyright (c) 2009 Samsung Electronics Co., Ltd.
- *		http://www.samsung.com/
- *
- * S5P6440 - system support header
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-#ifndef __ASM_ARCH_SYSTEM_H
-#define __ASM_ARCH_SYSTEM_H __FILE__
-
-static void arch_idle(void)
-{
-	/* nothing here yet */
-}
-
-static void arch_reset(char mode, const char *cmd)
-{
-	/* nothing here yet */
-}
-
-#endif /* __ASM_ARCH_SYSTEM_H */
arch/arm/mach-s5p6440/include/mach/uncompress.h deleted +0 -24
deleted file mode 100644
index 7c1f600..0000000
@@ -1,24 +0,0 @@
-/* linux/arch/arm/mach-s5p6440/include/mach/uncompress.h
- *
- * Copyright (c) 2009 Samsung Electronics Co., Ltd.
- *		http://www.samsung.com/
- *
- * S5P6440 - uncompress code
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-#ifndef __ASM_ARCH_UNCOMPRESS_H
-#define __ASM_ARCH_UNCOMPRESS_H
-
-#include <mach/map.h>
-#include <plat/uncompress.h>
-
-static void arch_detect_cpu(void)
-{
-	/* we do not need to do any cpu detection here at the moment. */
-}
-
-#endif /* __ASM_ARCH_UNCOMPRESS_H */
arch/arm/plat-s5p/include/mach/system.h new file +26 -0
new file mode 100644
index 0000000..3544536
@@ -0,0 +1,26 @@
+/* linux/arch/arm/plat-s5p/include/mach/system.h
+ *
+ * Copyright (c) 2009 Samsung Electronics Co., Ltd.
+ *		http://www.samsung.com/
+ *
+ * S5P - system support header
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_SYSTEM_H
+#define __ASM_ARCH_SYSTEM_H __FILE__
+
+static void arch_idle(void)
+{
+	/* nothing here yet */
+}
+
+static void arch_reset(char mode, const char *cmd)
+{
+	/* nothing here yet */
+}
+
+#endif /* __ASM_ARCH_SYSTEM_H */
arch/arm/plat-s5p/include/mach/uncompress.h new file +24 -0
new file mode 100644
index 0000000..c673399
@@ -0,0 +1,24 @@
+/* linux/arch/arm/plat-s5p/include/mach/uncompress.h
+ *
+ * Copyright (c) 2009 Samsung Electronics Co., Ltd.
+ *		http://www.samsung.com/
+ *
+ * S5P - uncompress code
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_UNCOMPRESS_H
+#define __ASM_ARCH_UNCOMPRESS_H __FILE__
+
+#include <mach/map.h>
+#include <plat/uncompress.h>
+
+static void arch_detect_cpu(void)
+{
+	/* we do not need to do any cpu detection here at the moment. */
+}
+
+#endif /* __ASM_ARCH_UNCOMPRESS_H */
Signature · 1 line
1.6.2.5
#1 lore raw
Quoted 2 lines · Kukjin Kim

This patch moves system support and uncompress common codes for S5P into plat-s5p/include/mach from mach-s5p6440/include/mach.

Russell doesn't like this so we need to revert to the previous policy of putting these in arch/arm/mach-xxx/include/mach

Quoted 139 lines
---
 arch/arm/mach-s5p6440/include/mach/system.h     |   26 -----------------------
 arch/arm/mach-s5p6440/include/mach/uncompress.h |   24 ---------------------
 arch/arm/plat-s5p/include/mach/system.h         |   26 +++++++++++++++++++++++
 arch/arm/plat-s5p/include/mach/uncompress.h     |   24 +++++++++++++++++++++
 4 files changed, 50 insertions(+), 50 deletions(-)
 delete mode 100644 arch/arm/mach-s5p6440/include/mach/system.h
 delete mode 100644 arch/arm/mach-s5p6440/include/mach/uncompress.h
 create mode 100644 arch/arm/plat-s5p/include/mach/system.h
 create mode 100644 arch/arm/plat-s5p/include/mach/uncompress.h
arch/arm/mach-s5p6440/include/mach/system.h deleted +0 -26
deleted file mode 100644
index d2dd817..0000000
@@ -1,26 +0,0 @@
-/* linux/arch/arm/mach-s5p6440/include/mach/system.h
- *
- * Copyright (c) 2009 Samsung Electronics Co., Ltd.
- *		http://www.samsung.com/
- *
- * S5P6440 - system support header
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-#ifndef __ASM_ARCH_SYSTEM_H
-#define __ASM_ARCH_SYSTEM_H __FILE__
-
-static void arch_idle(void)
-{
-	/* nothing here yet */
-}
-
-static void arch_reset(char mode, const char *cmd)
-{
-	/* nothing here yet */
-}
-
-#endif /* __ASM_ARCH_SYSTEM_H */
arch/arm/mach-s5p6440/include/mach/uncompress.h deleted +0 -24
deleted file mode 100644
index 7c1f600..0000000
@@ -1,24 +0,0 @@
-/* linux/arch/arm/mach-s5p6440/include/mach/uncompress.h
- *
- * Copyright (c) 2009 Samsung Electronics Co., Ltd.
- *		http://www.samsung.com/
- *
- * S5P6440 - uncompress code
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-#ifndef __ASM_ARCH_UNCOMPRESS_H
-#define __ASM_ARCH_UNCOMPRESS_H
-
-#include <mach/map.h>
-#include <plat/uncompress.h>
-
-static void arch_detect_cpu(void)
-{
-	/* we do not need to do any cpu detection here at the moment. */
-}
-
-#endif /* __ASM_ARCH_UNCOMPRESS_H */
arch/arm/plat-s5p/include/mach/system.h new file +26 -0
new file mode 100644
index 0000000..3544536
@@ -0,0 +1,26 @@
+/* linux/arch/arm/plat-s5p/include/mach/system.h
+ *
+ * Copyright (c) 2009 Samsung Electronics Co., Ltd.
+ *		http://www.samsung.com/
+ *
+ * S5P - system support header
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_SYSTEM_H
+#define __ASM_ARCH_SYSTEM_H __FILE__
+
+static void arch_idle(void)
+{
+	/* nothing here yet */
+}
+
+static void arch_reset(char mode, const char *cmd)
+{
+	/* nothing here yet */
+}
+
+#endif /* __ASM_ARCH_SYSTEM_H */
arch/arm/plat-s5p/include/mach/uncompress.h new file +24 -0
new file mode 100644
index 0000000..c673399
@@ -0,0 +1,24 @@
+/* linux/arch/arm/plat-s5p/include/mach/uncompress.h
+ *
+ * Copyright (c) 2009 Samsung Electronics Co., Ltd.
+ *		http://www.samsung.com/
+ *
+ * S5P - uncompress code
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_UNCOMPRESS_H
+#define __ASM_ARCH_UNCOMPRESS_H __FILE__
+
+#include <mach/map.h>
+#include <plat/uncompress.h>
+
+static void arch_detect_cpu(void)
+{
+	/* we do not need to do any cpu detection here at the moment. */
+}
+
+#endif /* __ASM_ARCH_UNCOMPRESS_H */
Signature · 1 line
1.6.2.5
Signature · 5 lines
-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.