mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-25 00:21:28 +02:00
configs: npcm: Support more uart baud rate
Add uart baud rate table to arbel(npcm8xx) and poleg(npcm7xx) Signed-off-by: Jim Liu <JJLIU0@nuvoton.com> [trini: Rework slightly] Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
5572d23f02
commit
1af3e71972
@ -7,11 +7,15 @@
|
|||||||
#define __CONFIG_ARBEL_H
|
#define __CONFIG_ARBEL_H
|
||||||
|
|
||||||
#define CFG_SYS_SDRAM_BASE 0x0
|
#define CFG_SYS_SDRAM_BASE 0x0
|
||||||
#define CFG_SYS_BOOTMAPSZ (30 << 20)
|
#define CFG_SYS_BOOTMAPSZ (128 << 20)
|
||||||
#define CFG_SYS_BOOTM_LEN (20 << 20)
|
#define CFG_SYS_BOOTM_LEN (20 << 20)
|
||||||
#define CFG_SYS_INIT_RAM_ADDR CFG_SYS_SDRAM_BASE
|
#define CFG_SYS_INIT_RAM_ADDR CFG_SYS_SDRAM_BASE
|
||||||
#define CFG_SYS_INIT_RAM_SIZE 0x8000
|
#define CFG_SYS_INIT_RAM_SIZE 0x8000
|
||||||
|
|
||||||
|
#define CFG_SYS_BAUDRATE_TABLE \
|
||||||
|
{ 9600, 14400, 19200, 38400, 57600, 115200, 230400, 380400, 460800, 921600 }
|
||||||
|
|
||||||
|
|
||||||
/* Default environemnt variables */
|
/* Default environemnt variables */
|
||||||
#define CFG_EXTRA_ENV_SETTINGS "uimage_flash_addr=80400000\0" \
|
#define CFG_EXTRA_ENV_SETTINGS "uimage_flash_addr=80400000\0" \
|
||||||
"stdin=serial\0" \
|
"stdin=serial\0" \
|
||||||
|
@ -13,6 +13,8 @@
|
|||||||
#define CFG_SYS_BOOTMAPSZ (0x30 << 20)
|
#define CFG_SYS_BOOTMAPSZ (0x30 << 20)
|
||||||
#define CFG_SYS_SDRAM_BASE 0x0
|
#define CFG_SYS_SDRAM_BASE 0x0
|
||||||
|
|
||||||
|
#define CFG_SYS_BAUDRATE_TABLE { 57600, 115200, 230400, 460800 }
|
||||||
|
|
||||||
/* Default environemnt variables */
|
/* Default environemnt variables */
|
||||||
#define CFG_EXTRA_ENV_SETTINGS "uimage_flash_addr=80200000\0" \
|
#define CFG_EXTRA_ENV_SETTINGS "uimage_flash_addr=80200000\0" \
|
||||||
"stdin=serial\0" \
|
"stdin=serial\0" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user