From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] [new uImage] Fix build errors when CONFIG_LOGBUFFER and CONFIG_FIT are enabled
Date: Wed, 07 May 2008 09:13:36 +0200 [thread overview]
Message-ID: <20080507071336.786642477F@gemini.denx.de> (raw)
In-Reply-To: Your message of "Wed, 07 May 2008 09:03:53 +0200." <20080507070353.7403.39121.stgit@hekate.izotz.org>
In message <20080507070353.7403.39121.stgit@hekate.izotz.org> you wrote:
> Recent modifcations to LOGBUFFER handling code were incorrecly
> introduced to fit_check_kernel() routine during
> "Merge branch 'new-image' of git://www.denx.de/git/u-boot-testing",
> commit 27f33e9f45ef7f9685cbdc65066a1828e85dde4f.
>
> This patch cleans up this merge issue.
Ummm... but don't you break logbuffer support that way?
> Signed-off-by: Marian Balakowicz <m8@semihalf.com>
> ---
>
> common/cmd_bootm.c | 11 -----------
> common/image.c | 4 ----
> 2 files changed, 0 insertions(+), 15 deletions(-)
>
>
> diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
> index 44f6b9f..0d67132 100644
> --- a/common/cmd_bootm.c
> +++ b/common/cmd_bootm.c
> @@ -433,17 +433,6 @@ static int fit_check_kernel (const void *fit, int os_noffset, int verify)
> }
> show_boot_progress (105);
>
> -#ifdef CONFIG_LOGBUFFER
> -#ifndef CONFIG_ALT_LB_ADDR
> - kbd=gd->bd;
> - /* Prevent initrd from overwriting logbuffer */
> - if (initrd_high < (kbd->bi_memsize-LOGBUFF_LEN-LOGBUFF_OVERHEAD))
> - initrd_high = kbd->bi_memsize-LOGBUFF_LEN-LOGBUFF_OVERHEAD;
> - debug ("## Logbuffer at 0x%08lX ", kbd->bi_memsize-LOGBUFF_LEN);
> -#else
> - debug ("## Logbuffer at 0x%08lX ", CONFIG_ALT_LB_ADDR);
> -#endif
> -#endif
Well, it's easy to remove the code here, but if serves a purpose, so
it cannot be simply removed without adding it somewhere else. Or am I
missing something?
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
If ignorance is bliss, why aren't there more happy people?
next prev parent reply other threads:[~2008-05-07 7:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-07 7:03 [U-Boot-Users] [PATCH] [new uImage] Fix build errors when CONFIG_LOGBUFFER and CONFIG_FIT are enabled Marian Balakowicz
2008-05-07 7:13 ` Wolfgang Denk [this message]
2008-05-07 8:18 ` Marian Balakowicz
2008-05-09 22:11 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080507071336.786642477F@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox