diff options
author | wdenk <wdenk> | 2004-06-10 21:55:33 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-06-10 21:55:33 +0000 |
commit | f832d8a1432da791b94b820ccf2c7864708c5631 (patch) | |
tree | 6521bd856efe4951d6a17288ae02ab3c3ed6e7a4 /include/configs/Sandpoint8245.h | |
parent | b54d32b40d95d399dd1f53f24c93b0cf5c42460d (diff) | |
download | u-boot-f832d8a1432da791b94b820ccf2c7864708c5631.tar.gz |
* Patch by Paul Ruhland, 10 Jun 2004:
fix support for Logic SDK-LH7A404 board and clean up the
LH7A404 register macros.
* Patch by Matthew McClintock, 10 Jun 2004:
Modify code to select correct serial clock on Sandpoint8245
Diffstat (limited to 'include/configs/Sandpoint8245.h')
-rw-r--r-- | include/configs/Sandpoint8245.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/configs/Sandpoint8245.h b/include/configs/Sandpoint8245.h index 307c2e2dae..9611d61032 100644 --- a/include/configs/Sandpoint8245.h +++ b/include/configs/Sandpoint8245.h @@ -224,8 +224,12 @@ #define CFG_NS16550_REG_SIZE 1 -#define CFG_NS16550_CLK 1843200 - +#if (CONFIG_CONS_INDEX > 2) +#define CFG_NS16550_CLK CONFIG_DRAM_SPEED*1000000 +#else +#define CFG_NS16550_CLK 1843200 +#endif + #define CFG_NS16550_COM1 (CFG_ISA_IO + CFG_NS87308_UART1_BASE) #define CFG_NS16550_COM2 (CFG_ISA_IO + CFG_NS87308_UART2_BASE) #define CFG_NS16550_COM3 (CFG_EUMB_ADDR + 0x4500) |