* [PATCH] ARM: S5P: Move System support header and Uncompress code
@ 2010-01-25 4:44 Kukjin Kim
2010-01-25 10:39 ` Ben Dooks
0 siblings, 1 reply; 2+ messages in thread
From: Kukjin Kim @ 2010-01-25 4:44 UTC (permalink / raw)
To: linux-samsung-soc; +Cc: ben-linux, Kukjin Kim
This patch moves system support and uncompress common codes for S5P into
plat-s5p/include/mach from mach-s5p6440/include/mach.
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
---
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
diff --git a/arch/arm/mach-s5p6440/include/mach/system.h b/arch/arm/mach-s5p6440/include/mach/system.h
deleted file mode 100644
index d2dd817..0000000
--- a/arch/arm/mach-s5p6440/include/mach/system.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/mach-s5p6440/include/mach/uncompress.h b/arch/arm/mach-s5p6440/include/mach/uncompress.h
deleted file mode 100644
index 7c1f600..0000000
--- a/arch/arm/mach-s5p6440/include/mach/uncompress.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/plat-s5p/include/mach/system.h b/arch/arm/plat-s5p/include/mach/system.h
new file mode 100644
index 0000000..3544536
--- /dev/null
+++ b/arch/arm/plat-s5p/include/mach/system.h
@@ -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 */
diff --git a/arch/arm/plat-s5p/include/mach/uncompress.h b/arch/arm/plat-s5p/include/mach/uncompress.h
new file mode 100644
index 0000000..c673399
--- /dev/null
+++ b/arch/arm/plat-s5p/include/mach/uncompress.h
@@ -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 */
--
1.6.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: S5P: Move System support header and Uncompress code
2010-01-25 4:44 [PATCH] ARM: S5P: Move System support header and Uncompress code Kukjin Kim
@ 2010-01-25 10:39 ` Ben Dooks
0 siblings, 0 replies; 2+ messages in thread
From: Ben Dooks @ 2010-01-25 10:39 UTC (permalink / raw)
To: Kukjin Kim; +Cc: linux-samsung-soc, ben-linux
On Mon, Jan 25, 2010 at 01:44:21PM +0900, Kukjin Kim wrote:
> 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
> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
> ---
> 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
>
> diff --git a/arch/arm/mach-s5p6440/include/mach/system.h b/arch/arm/mach-s5p6440/include/mach/system.h
> deleted file mode 100644
> index d2dd817..0000000
> --- a/arch/arm/mach-s5p6440/include/mach/system.h
> +++ /dev/null
> @@ -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 */
> diff --git a/arch/arm/mach-s5p6440/include/mach/uncompress.h b/arch/arm/mach-s5p6440/include/mach/uncompress.h
> deleted file mode 100644
> index 7c1f600..0000000
> --- a/arch/arm/mach-s5p6440/include/mach/uncompress.h
> +++ /dev/null
> @@ -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 */
> diff --git a/arch/arm/plat-s5p/include/mach/system.h b/arch/arm/plat-s5p/include/mach/system.h
> new file mode 100644
> index 0000000..3544536
> --- /dev/null
> +++ b/arch/arm/plat-s5p/include/mach/system.h
> @@ -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 */
> diff --git a/arch/arm/plat-s5p/include/mach/uncompress.h b/arch/arm/plat-s5p/include/mach/uncompress.h
> new file mode 100644
> index 0000000..c673399
> --- /dev/null
> +++ b/arch/arm/plat-s5p/include/mach/uncompress.h
> @@ -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 */
> --
> 1.6.2.5
>
--
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-25 10:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-25 4:44 [PATCH] ARM: S5P: Move System support header and Uncompress code Kukjin Kim
2010-01-25 10:39 ` Ben Dooks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox