From: stefano babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] imximage: header v2: Remove overwriting of flash_offset
Date: Tue, 21 Feb 2012 22:49:27 +0100 [thread overview]
Message-ID: <4F441167.9050003@denx.de> (raw)
In-Reply-To: <4F43EE05.4090908@googlemail.com>
Am 21/02/2012 20:18, schrieb Dirk Behme:
>> I think we have then a problem when there is not a BOOT_FROM statement
>> in the configuration file, that let imxhdr->flash_offset unset.
>>
>> We need to set it with the default value
>
> Hmm, my understanding is that there can't be any default value?
This is desirable, but it does not correspond to the code.
> What do
> you think would be a default value? The one for SD boot? The one for
> NAND? Or? Who will decide what the default should be?
Whatever we choose, it is wrong. We can select SD, and one board has not
a SD interface. The same with NAND, ...
The best one is we have not a default value.
>
>> at the beginning of the
>> processing or to raise an error if we want to make this statement
>> mandatory in the configuration file.
>
> If there can't be a default value, I think to raise an error if no
> BOOT_FROM statement is there is the only option.
Agree - BOOT_FROM must be mandatory.
Best regards,
Stefano
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2012-02-21 21:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-21 9:02 [U-Boot] [PATCH] imximage: header v2: Remove overwriting of flash_offset Dirk Behme
2012-02-21 17:57 ` Stefano Babic
2012-02-21 19:18 ` Dirk Behme
2012-02-21 21:49 ` stefano babic [this message]
2012-02-22 8:14 ` Dirk Behme
2012-02-22 9:29 ` Stefano Babic
2012-02-22 9:40 ` Dirk Behme
2012-02-22 9:52 ` Stefano Babic
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=4F441167.9050003@denx.de \
--to=sbabic@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.