* [U-Boot] [PATCH] EXYNOS: Move includes from setup.h to tzpc_init.c
@ 2013-04-03 12:11 Rajeshwari Shinde
2013-05-11 18:19 ` Simon Glass
0 siblings, 1 reply; 3+ messages in thread
From: Rajeshwari Shinde @ 2013-04-03 12:11 UTC (permalink / raw)
To: u-boot
These should not be in the header since not every C file needs them.
Move them to the file that needs them.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
---
board/samsung/smdk5250/setup.h | 3 ---
board/samsung/smdk5250/tzpc_init.c | 2 ++
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/board/samsung/smdk5250/setup.h b/board/samsung/smdk5250/setup.h
index 34d8bc3..68f48ea 100644
--- a/board/samsung/smdk5250/setup.h
+++ b/board/samsung/smdk5250/setup.h
@@ -25,9 +25,6 @@
#ifndef _SMDK5250_SETUP_H
#define _SMDK5250_SETUP_H
-#include <config.h>
-#include <asm/arch/dmc.h>
-
/* TZPC : Register Offsets */
#define TZPC0_BASE 0x10100000
#define TZPC1_BASE 0x10110000
diff --git a/board/samsung/smdk5250/tzpc_init.c b/board/samsung/smdk5250/tzpc_init.c
index c833541..96e5a6c 100644
--- a/board/samsung/smdk5250/tzpc_init.c
+++ b/board/samsung/smdk5250/tzpc_init.c
@@ -22,6 +22,8 @@
* MA 02111-1307 USA
*/
+#include <config.h>
+#include <asm/arch/dmc.h>
#include <asm/arch/tzpc.h>
#include"setup.h"
--
1.7.4.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] EXYNOS: Move includes from setup.h to tzpc_init.c
2013-04-03 12:11 [U-Boot] [PATCH] EXYNOS: Move includes from setup.h to tzpc_init.c Rajeshwari Shinde
@ 2013-05-11 18:19 ` Simon Glass
2013-06-13 8:26 ` Minkyu Kang
0 siblings, 1 reply; 3+ messages in thread
From: Simon Glass @ 2013-05-11 18:19 UTC (permalink / raw)
To: u-boot
On Wed, Apr 3, 2013 at 6:11 AM, Rajeshwari Shinde
<rajeshwari.s@samsung.com> wrote:
> These should not be in the header since not every C file needs them.
> Move them to the file that needs them.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Tested on snow.
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
> ---
> board/samsung/smdk5250/setup.h | 3 ---
> board/samsung/smdk5250/tzpc_init.c | 2 ++
> 2 files changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/board/samsung/smdk5250/setup.h b/board/samsung/smdk5250/setup.h
> index 34d8bc3..68f48ea 100644
> --- a/board/samsung/smdk5250/setup.h
> +++ b/board/samsung/smdk5250/setup.h
> @@ -25,9 +25,6 @@
> #ifndef _SMDK5250_SETUP_H
> #define _SMDK5250_SETUP_H
>
> -#include <config.h>
> -#include <asm/arch/dmc.h>
> -
> /* TZPC : Register Offsets */
> #define TZPC0_BASE 0x10100000
> #define TZPC1_BASE 0x10110000
> diff --git a/board/samsung/smdk5250/tzpc_init.c b/board/samsung/smdk5250/tzpc_init.c
> index c833541..96e5a6c 100644
> --- a/board/samsung/smdk5250/tzpc_init.c
> +++ b/board/samsung/smdk5250/tzpc_init.c
> @@ -22,6 +22,8 @@
> * MA 02111-1307 USA
> */
>
> +#include <config.h>
> +#include <asm/arch/dmc.h>
> #include <asm/arch/tzpc.h>
> #include"setup.h"
>
> --
> 1.7.4.4
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] EXYNOS: Move includes from setup.h to tzpc_init.c
2013-05-11 18:19 ` Simon Glass
@ 2013-06-13 8:26 ` Minkyu Kang
0 siblings, 0 replies; 3+ messages in thread
From: Minkyu Kang @ 2013-06-13 8:26 UTC (permalink / raw)
To: u-boot
On 12/05/13 03:19, Simon Glass wrote:
> On Wed, Apr 3, 2013 at 6:11 AM, Rajeshwari Shinde
> <rajeshwari.s@samsung.com> wrote:
>> These should not be in the header since not every C file needs them.
>> Move them to the file that needs them.
>>
>> Signed-off-by: Simon Glass <sjg@chromium.org>
>> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
>
> Tested on snow.
>
> Acked-by: Simon Glass <sjg@chromium.org>
> Tested-by: Simon Glass <sjg@chromium.org>
>
>> ---
>> board/samsung/smdk5250/setup.h | 3 ---
>> board/samsung/smdk5250/tzpc_init.c | 2 ++
>> 2 files changed, 2 insertions(+), 3 deletions(-)
>>
Since tzpc_init.c is moved to arch/arm/cpu/armv7/exynos, this patch is rejected.
commit 72af2fc8504daccd2f8ae2459e3e225e9c2cc512
Author: Inderpal Singh <inderpal.singh@linaro.org>
Date: Thu Apr 4 23:09:19 2013 +0000
exynos: move tzpc_init to armv7/exynos
tzpc_init is common for all exynos5 boards, hence move it to
armv7/exynos so that all other boards can use it.
Also update the smdk5250 Makefile and config file.
Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Acked-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Thanks,
Minkyu Kang.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-06-13 8:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-03 12:11 [U-Boot] [PATCH] EXYNOS: Move includes from setup.h to tzpc_init.c Rajeshwari Shinde
2013-05-11 18:19 ` Simon Glass
2013-06-13 8:26 ` Minkyu Kang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox