[U-Boot] [PATCH v3 01/15] bootstage: Create an initial header for boot progress integers

Wolfgang Denk wd at denx.de
Sun Mar 18 20:44:47 CET 2012


Dear Simon Glass,

In message <1326590698-7767-2-git-send-email-sjg at chromium.org> you wrote:
> At present boot_stage_progress() is called with various magic numbers. The
> new bootstage.h header will be used to turn these into symbolic names
> throughout the code.
> 
> The intent is not that these numbers are passed to Linux. In fact by using
> an enum to track them we should eventually be able to remove the explict
> numbers and just have the stages count up from 0.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> Changes in v3:
> - Adjust show_boot_progress() comment
> - Fix 'progres' typo
> - Move file comment above copyright message
> 
>  include/bootstage.h |   58 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  include/common.h    |    6 +---
>  2 files changed, 60 insertions(+), 4 deletions(-)
>  create mode 100644 include/bootstage.h

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
He'd heard her use that sweet, innocent  tone  of  voice  before.  It
meant that, pretty soon, there was going to be trouble.
                                        - Terry Pratchett, _Truckers_


More information about the U-Boot mailing list