* [U-Boot] [PATCH] fdt: Correct global_data condition in main
@ 2012-11-28 15:25 Simon Glass
2012-11-28 16:06 ` Wolfgang Denk
2012-11-28 17:54 ` [U-Boot] [PATCH v2] " Simon Glass
0 siblings, 2 replies; 5+ messages in thread
From: Simon Glass @ 2012-11-28 15:25 UTC (permalink / raw)
To: u-boot
We need an extra condition here in case we want to use fdt without the
silent console/cmdline editing/post options.
Note: It might be acceptable instead to just always declare this here.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] fdt: Correct global_data condition in main
2012-11-28 15:25 [U-Boot] [PATCH] fdt: Correct global_data condition in main Simon Glass
@ 2012-11-28 16:06 ` Wolfgang Denk
2012-11-28 16:59 ` Tom Rini
2012-11-28 17:54 ` [U-Boot] [PATCH v2] " Simon Glass
1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2012-11-28 16:06 UTC (permalink / raw)
To: u-boot
Dear Simon Glass,
In message <1354116325-2567-1-git-send-email-sjg@chromium.org> you wrote:
> We need an extra condition here in case we want to use fdt without the
> silent console/cmdline editing/post options.
>
> Note: It might be acceptable instead to just always declare this here.
> From what I can tell it has no code size impact to declare it on any
> architecture.
I think we should get rid of the #ifdef
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
Virtue is a relative term.
-- Spock, "Friday's Child", stardate 3499.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] fdt: Correct global_data condition in main
2012-11-28 16:06 ` Wolfgang Denk
@ 2012-11-28 16:59 ` Tom Rini
0 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2012-11-28 16:59 UTC (permalink / raw)
To: u-boot
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/28/12 11:06, Wolfgang Denk wrote:
> Dear Simon Glass,
>
> In message <1354116325-2567-1-git-send-email-sjg@chromium.org> you
> wrote:
>> We need an extra condition here in case we want to use fdt
>> without the silent console/cmdline editing/post options.
>>
>> Note: It might be acceptable instead to just always declare this
>> here. From what I can tell it has no code size impact to declare
>> it on any architecture.
>
> I think we should get rid of the #ifdef
Agreed.
- --
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iQIcBAEBAgAGBQJQtkL6AAoJENk4IS6UOR1WspwQAJIwyZFufp5bhoO2kNi6XqeX
MEruF51azSAoFURFdqpFQDCUAg1eGipABTlhefb3ufmYfuW+pF9aOMfCewYfRNmz
nnCf/qbxbQ4s+k87H9RpQGUEf2iRDBmJCenYFw1u6/504tJszgYZprbdeTXTLMR5
1Hll+gNFauqBBR/LL+fmiyuXez1yli6FXR2+31AntUfk+CKpD6SOKgM3UFvzxLuC
YIIdgIzyEqD8fKs1f5FcZv08t61dXUu5yNjLMHc3qyeuyRhMHpFMpjFQYqXYY0IT
mFv7au9433bJHSvwXd6po/6u7T2lwoCispqlVmSIoP8/GvdQswPorWSn13fFpIsW
fmXMVVACkB0cCZCI+NkHi2mP7douNEp+foR5MBbd5NVKiZ1lKkAJ9/EjkCsicydp
7ozjF23PNTq5gkWHg0A/jZQBUKi94vGcM4VUbXlb4kYI/fStZTzl2g/I/jAAI3CY
d/dEfZ4oF8PSGSlPN4I4yd8qwZtdUfQJyPZu1Z5MPgM4alBA29cTKDSy/sofnPhL
dS7hpQBPF3oFvCPlcEZrxX95oekgAkzQwKHz+I0cjS0uzKYmfhMUkDT40KxcnMYx
V5dohdMmlnPMwYzgt7lnD/n7p6XEgaEnSJBT/Ft0ygc4E1NE+pU/LGTdMZt4HK/r
ewTQRer9rcBmXQ+W4fPz
=D685
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH v2] fdt: Correct global_data condition in main
2012-11-28 15:25 [U-Boot] [PATCH] fdt: Correct global_data condition in main Simon Glass
2012-11-28 16:06 ` Wolfgang Denk
@ 2012-11-28 17:54 ` Simon Glass
2012-11-29 1:08 ` Jerry Van Baren
1 sibling, 1 reply; 5+ messages in thread
From: Simon Glass @ 2012-11-28 17:54 UTC (permalink / raw)
To: u-boot
We need an extra condition here in case we want to use fdt without the
silent console/cmdline editing/post options. It is easier to just remove
the #ifdef.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
Changes in v2:
- Remove the #ifdef as it is getting out of hand
common/main.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/common/main.c b/common/main.c
index 8052d42..5362781 100644
--- a/common/main.c
+++ b/common/main.c
@@ -53,9 +53,7 @@
#include <linux/ctype.h>
#include <menu.h>
-#if defined(CONFIG_SILENT_CONSOLE) || defined(CONFIG_POST) || defined(CONFIG_CMDLINE_EDITING)
DECLARE_GLOBAL_DATA_PTR;
-#endif
/*
* Board-specific Platform code can reimplement show_boot_progress () if needed
--
1.7.7.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH v2] fdt: Correct global_data condition in main
2012-11-28 17:54 ` [U-Boot] [PATCH v2] " Simon Glass
@ 2012-11-29 1:08 ` Jerry Van Baren
0 siblings, 0 replies; 5+ messages in thread
From: Jerry Van Baren @ 2012-11-29 1:08 UTC (permalink / raw)
To: u-boot
Hi Simon,
On 11/28/2012 12:54 PM, Simon Glass wrote:
> We need an extra condition here in case we want to use fdt without the
> silent console/cmdline editing/post options. It is easier to just remove
> the #ifdef.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
> Changes in v2:
> - Remove the #ifdef as it is getting out of hand
>
> common/main.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/common/main.c b/common/main.c
> index 8052d42..5362781 100644
> --- a/common/main.c
> +++ b/common/main.c
> @@ -53,9 +53,7 @@
> #include <linux/ctype.h>
> #include <menu.h>
>
> -#if defined(CONFIG_SILENT_CONSOLE) || defined(CONFIG_POST) || defined(CONFIG_CMDLINE_EDITING)
> DECLARE_GLOBAL_DATA_PTR;
> -#endif
>
> /*
> * Board-specific Platform code can reimplement show_boot_progress () if needed
>
Applied to u-boot-fdt, pull request coming.
Thanks,
gvb
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-11-29 1:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-28 15:25 [U-Boot] [PATCH] fdt: Correct global_data condition in main Simon Glass
2012-11-28 16:06 ` Wolfgang Denk
2012-11-28 16:59 ` Tom Rini
2012-11-28 17:54 ` [U-Boot] [PATCH v2] " Simon Glass
2012-11-29 1:08 ` Jerry Van Baren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox