From: Wolfgang Denk Date: Sun, 18 Mar 2012 20:44:47 +0100 Subject: [U-Boot] [PATCH v3 01/15] bootstage: Create an initial header for boot progress integers In-Reply-To: <1326590698-7767-2-git-send-email-sjg@chromium.org> References: <1326590698-7767-1-git-send-email-sjg@chromium.org> <1326590698-7767-2-git-send-email-sjg@chromium.org> Message-ID: <20120318194447.99520202D7F@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon Glass, In message <1326590698-7767-2-git-send-email-sjg@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 > --- > 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_