* [U-Boot] [PATCH] ARM: make timer variables in gt_t available for all ARM platforms
@ 2010-12-01 12:16 Prafulla Wadaskar
2010-12-02 11:54 ` Nick Thompson
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Prafulla Wadaskar @ 2010-12-01 12:16 UTC (permalink / raw)
To: u-boot
After ARM relocation,
any code executed directly or indirectly by board_init_f() have
global (BSS) variables need to be fixed. mostly timer.c needs to
fix on most of the ARM platforms.
This patch makes timer related variables in gd_t available for
all ARM implementation
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
---
arch/arm/include/asm/global_data.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h
index ada3fbb..efb502e 100644
--- a/arch/arm/include/asm/global_data.h
+++ b/arch/arm/include/asm/global_data.h
@@ -55,7 +55,9 @@ typedef struct global_data {
unsigned long plla_rate_hz;
unsigned long pllb_rate_hz;
unsigned long at91_pllb_usb_init;
- /* "static data" needed by at91's timer.c */
+#endif
+#ifdef CONFIG_ARM
+ /* "static data" needed by most of timer.c on ARM platforms */
unsigned long timer_rate_hz;
unsigned long tbl;
unsigned long tbu;
--
1.6.0.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] ARM: make timer variables in gt_t available for all ARM platforms
2010-12-01 12:16 [U-Boot] [PATCH] ARM: make timer variables in gt_t available for all ARM platforms Prafulla Wadaskar
@ 2010-12-02 11:54 ` Nick Thompson
2010-12-07 12:24 ` Prafulla Wadaskar
2010-12-08 23:03 ` Wolfgang Denk
2 siblings, 0 replies; 5+ messages in thread
From: Nick Thompson @ 2010-12-02 11:54 UTC (permalink / raw)
To: u-boot
On 01/12/10 12:16, Prafulla Wadaskar wrote:
> After ARM relocation,
> any code executed directly or indirectly by board_init_f() have
> global (BSS) variables need to be fixed. mostly timer.c needs to
> fix on most of the ARM platforms.
>
> This patch makes timer related variables in gd_t available for
> all ARM implementation
>
> Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
> ---
> arch/arm/include/asm/global_data.h | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/include/asm/global_data.h b/arch/arm/include/asm/global_data.h
> index ada3fbb..efb502e 100644
> --- a/arch/arm/include/asm/global_data.h
> +++ b/arch/arm/include/asm/global_data.h
> @@ -55,7 +55,9 @@ typedef struct global_data {
> unsigned long plla_rate_hz;
> unsigned long pllb_rate_hz;
> unsigned long at91_pllb_usb_init;
> - /* "static data" needed by at91's timer.c */
> +#endif
> +#ifdef CONFIG_ARM
> + /* "static data" needed by most of timer.c on ARM platforms */
> unsigned long timer_rate_hz;
> unsigned long tbl;
> unsigned long tbu;
This file is ARM specific. Doesn't this mean CONFIG_ARM is always defined here?
Regards,
Nick.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] ARM: make timer variables in gt_t available for all ARM platforms
2010-12-01 12:16 [U-Boot] [PATCH] ARM: make timer variables in gt_t available for all ARM platforms Prafulla Wadaskar
2010-12-02 11:54 ` Nick Thompson
@ 2010-12-07 12:24 ` Prafulla Wadaskar
2010-12-07 13:10 ` Wolfgang Denk
2010-12-08 23:03 ` Wolfgang Denk
2 siblings, 1 reply; 5+ messages in thread
From: Prafulla Wadaskar @ 2010-12-07 12:24 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: Prafulla Wadaskar [mailto:prafulla at marvell.com]
> Sent: Wednesday, December 01, 2010 5:47 PM
> To: u-boot at lists.denx.de
> Cc: Manas Saksena; Prabhanjan Sarnaik; Ashish Karkare; Prafulla Wadaskar
> Subject: [PATCH] ARM: make timer variables in gt_t available for all ARM
> platforms
>
> After ARM relocation,
> any code executed directly or indirectly by board_init_f() have
> global (BSS) variables need to be fixed. mostly timer.c needs to
> fix on most of the ARM platforms.
>
> This patch makes timer related variables in gd_t available for
> all ARM implementation
>
> Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
> ---
> arch/arm/include/asm/global_data.h | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/include/asm/global_data.h
> b/arch/arm/include/asm/global_data.h
> index ada3fbb..efb502e 100644
> --- a/arch/arm/include/asm/global_data.h
> +++ b/arch/arm/include/asm/global_data.h
> @@ -55,7 +55,9 @@ typedef struct global_data {
> unsigned long plla_rate_hz;
> unsigned long pllb_rate_hz;
> unsigned long at91_pllb_usb_init;
> - /* "static data" needed by at91's timer.c */
> +#endif
> +#ifdef CONFIG_ARM
> + /* "static data" needed by most of timer.c on ARM platforms */
> unsigned long timer_rate_hz;
> unsigned long tbl;
> unsigned long tbu;
> --
Applied to u-boot-marvell.git master branch
Regards..
Prafulla ..
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] ARM: make timer variables in gt_t available for all ARM platforms
2010-12-07 12:24 ` Prafulla Wadaskar
@ 2010-12-07 13:10 ` Wolfgang Denk
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2010-12-07 13:10 UTC (permalink / raw)
To: u-boot
Dear Prafulla Wadaskar,
In message <F766E4F80769BD478052FB6533FA745D19A948E86B@SC-VEXCH4.marvell.com> you wrote:
>
> > This patch makes timer related variables in gd_t available for
> > all ARM implementation
---^^^^^^^^^
> Applied to u-boot-marvell.git master branch
Thisis NOT a Marvell specific commit. It is not supposed to go
through the Marvell repository. It is a common ARM patch and should
go through the ARM repo.
Thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Anything free is worth what you pay for it.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] ARM: make timer variables in gt_t available for all ARM platforms
2010-12-01 12:16 [U-Boot] [PATCH] ARM: make timer variables in gt_t available for all ARM platforms Prafulla Wadaskar
2010-12-02 11:54 ` Nick Thompson
2010-12-07 12:24 ` Prafulla Wadaskar
@ 2010-12-08 23:03 ` Wolfgang Denk
2 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2010-12-08 23:03 UTC (permalink / raw)
To: u-boot
Dear Prafulla Wadaskar,
In message <1291205812-5491-1-git-send-email-prafulla@marvell.com> you wrote:
> After ARM relocation,
> any code executed directly or indirectly by board_init_f() have
> global (BSS) variables need to be fixed. mostly timer.c needs to
> fix on most of the ARM platforms.
>
> This patch makes timer related variables in gd_t available for
> all ARM implementation
>
> Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
> ---
> arch/arm/include/asm/global_data.h | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Do you know about being with somebody? Wanting to be? If I had the
whole universe, I'd give it to you, Janice. When I see you, I feel
like I'm hungry all over. Do you know how that feels?
-- Charlie Evans, "Charlie X", stardate 1535.8
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-12-08 23:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-01 12:16 [U-Boot] [PATCH] ARM: make timer variables in gt_t available for all ARM platforms Prafulla Wadaskar
2010-12-02 11:54 ` Nick Thompson
2010-12-07 12:24 ` Prafulla Wadaskar
2010-12-07 13:10 ` Wolfgang Denk
2010-12-08 23:03 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox