From: Dirk Behme <dirk.behme@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 04/13 v5] ARM: OMAP3: Add lowlevel init and sys_info common files
Date: Mon, 10 Nov 2008 20:20:56 +0100 [thread overview]
Message-ID: <49188998.1030409@googlemail.com> (raw)
In-Reply-To: <20081109135131.GA25307@game.jcrosoft.org>
Dear Jean-Christophe,
Jean-Christophe PLAGNIOL-VILLARD wrote:
>>+/*********************************************************************
>>+ * display_board_info() - print banner with board info.
>>+ *********************************************************************/
>>+void display_board_info(u32 btype)
>>+{
>>+ char *bootmode[] = {
>>+ "NOR",
>>+ "ONENAND",
>>+ "NAND",
>>+ "P2a",
>>+ "NOR",
>>+ "NOR",
>>+ "P2a",
>>+ "P2b",
>>+ };
>>+ u32 brev = get_board_rev();
>
>
>
>>+ char db_ver[] = "0.0"; /* board type */
>>+ char mem_sdr[] = "mSDR"; /* memory type */
>>+ char mem_ddr[] = "LPDDR";
>>+ char t_tst[] = "TST"; /* security level */
>>+ char t_emu[] = "EMU";
>>+ char t_hs[] = "HS";
>>+ char t_gp[] = "GP";
>>+ char unk[] = "?";
>
> is it not better to have it as macro?
Would be quite nice if you could send an example to get an better
understanding how you like to have this macro look like.
Many thanks and best regards
Dirk
next prev parent reply other threads:[~2008-11-10 19:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-02 18:35 [U-Boot] [PATCH 03/13 v5] ARM: OMAP3: Add ARM Cortex A8 common directory dirk.behme at googlemail.com
2008-11-02 18:36 ` [U-Boot] [PATCH 04/13 v5] ARM: OMAP3: Add lowlevel init and sys_info common files dirk.behme at googlemail.com
2008-11-02 18:36 ` [U-Boot] [PATCH 05/13 v5] ARM: OMAP3: Add board, clock and interrupts " dirk.behme at googlemail.com
2008-11-02 18:37 ` [U-Boot] [PATCH 06/13 v5] ARM: OMAP3: Add memory and syslib " dirk.behme at googlemail.com
2008-11-09 14:07 ` Jean-Christophe PLAGNIOL-VILLARD
2008-11-09 19:41 ` Wolfgang Denk
2008-11-02 20:13 ` [U-Boot] [PATCH 05/13 v5] ARM: OMAP3: Add board, clock and interrupts " Wolfgang Denk
2008-11-09 14:04 ` Jean-Christophe PLAGNIOL-VILLARD
2008-11-09 14:10 ` Dirk Behme
2008-11-09 13:51 ` [U-Boot] [PATCH 04/13 v5] ARM: OMAP3: Add lowlevel init and sys_info " Jean-Christophe PLAGNIOL-VILLARD
2008-11-10 19:20 ` Dirk Behme [this message]
2008-11-02 19:17 ` [U-Boot] [PATCH 03/13 v5] ARM: OMAP3: Add ARM Cortex A8 common directory Wolfgang Denk
2008-11-03 20:34 ` Dirk Behme
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=49188998.1030409@googlemail.com \
--to=dirk.behme@googlemail.com \
--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