From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4] powerpc/c29xpcie: add support for C29XPCIE board
Date: Wed, 3 Jul 2013 14:00:01 -0500 [thread overview]
Message-ID: <1372878001.8183.142@snotra> (raw)
In-Reply-To: <1372840694-17354-1-git-send-email-Po.Liu@freescale.com> (from Po.Liu@freescale.com on Wed Jul 3 03:38:14 2013)
On 07/03/2013 03:38:14 AM, Po Liu wrote:
> + /* TLB 1 */
> + SET_TLB_ENTRY(1, 0xfffff000, 0xfffff000,
> + MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
> + 0, 0, BOOKE_PAGESZ_4K, 1),
Again, does this ever get used? Could you try removing it and seeing
what happens?
I suspect it is no longer used since the change to a cacheable
spintable.
> +#if defined(CONFIG_RAMBOOT_SPIFLASH)
> +#define CONFIG_SYS_RAMBOOT
> +#define CONFIG_SYS_EXTRA_ENV_RELOC
> +#else
> +#undef CONFIG_SYS_RAMBOOT
> +#endif
When was CONFIG_SYS_RAMBOOT defined before, such that you need to undef
it here?
> +#define CONFIG_BOARD_EARLY_INIT_R
> +
> +#define CONFIG_SYS_INIT_RAM_LOCK
> +#define CONFIG_SYS_INIT_RAM_ADDR 0xffd00000
> +#define CONFIG_SYS_INIT_RAM_END 0x00004000
> +
> +#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_END \
> + -
> GENERATED_GBL_DATA_SIZE)
> +#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET
> +
> +#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
> +#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)
> +
> +/* Serial Port */
> +#define CONFIG_CONS_INDEX 1
> +#define CONFIG_SYS_NS16550
> +#define CONFIG_SYS_NS16550_SERIAL
> +#define CONFIG_SYS_NS16550_REG_SIZE 1
> +#define CONFIG_SYS_NS16550_CLK get_bus_freq(0)
> +
> +#define CONFIG_SERIAL_MULTI /* Enable both serial ports */
> +#define CONFIG_SYS_CONSOLE_IS_IN_ENV
> +
> +#define CONFIG_SYS_BAUDRATE_TABLE \
> + {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200}
> +
> +#define CONFIG_SYS_NS16550_COM1 (CONFIG_SYS_CCSRBAR+0x4500)
> +#define CONFIG_SYS_NS16550_COM2 (CONFIG_SYS_CCSRBAR+0x4600)
> +
> +/* Use the HUSH parser */
> +#define CONFIG_SYS_HUSH_PARSER
> +#define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
Again, we don't need to define CONFIG_SYS_PROMPT_HUSH_PS2. This is
already the default, and the commit that added it as the default seemed
to suggest that defining it in board config files at all was to be
deprecated.
If I'm missing something, or you have some specific reason for
continuing to leave it in, or I'm being unclear, please answer with
that, rather than just ignoring feedback.
> +#define CONFIG_BOOTDELAY 10 /* -1 disables auto-boot */
Please consider setting this to -1, now that it no longer disables
compiling the auto-boot code.
-Scott
next prev parent reply other threads:[~2013-07-03 19:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-03 8:38 [U-Boot] [PATCH v4] powerpc/c29xpcie: add support for C29XPCIE board Po Liu
2013-07-03 11:14 ` Wolfgang Denk
2013-07-03 19:00 ` Scott Wood [this message]
2013-07-04 9:33 ` [U-Boot] [PATCH v5 2/2] " Po Liu
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=1372878001.8183.142@snotra \
--to=scottwood@freescale.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