[U-Boot] [PATCH 04/13 v5] ARM: OMAP3: Add lowlevel init and sys_info common files
Dirk Behme
dirk.behme at googlemail.com
Mon Nov 10 20:20:56 CET 2008
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
More information about the U-Boot
mailing list