diff options
author | Alek Du <alek.du@intel.com> | 2008-08-21 09:49:20 +0800 |
---|---|---|
committer | Patrick Tjin <pattjin@google.com> | 2014-07-21 20:22:38 -0700 |
commit | b7b3000b47443bd625f6bad0a89ce5b86d2b5b3d (patch) | |
tree | 991802625640d8ae442b5618578ded002ec9188f | |
parent | 4c20ce249f78a9e84a09e805cebf017c68d9a545 (diff) | |
download | bootstub-b7b3000b47443bd625f6bad0a89ce5b86d2b5b3d.tar.gz |
Fixing baudrate division as tested value on SLE by Jacob
-rw-r--r-- | spi-uart.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,7 +43,7 @@ static void spi_init() /* set a default baud rate, 115200 */ /* feng, need make sure SPIC and MAXIM3110 match */ //spi_enable_clk(32); - pspi->baudr = 32; + pspi->baudr = 2; /* need set the transmit threshhol? */ pspi->txftlr = 0x3; @@ -66,7 +66,7 @@ static void max3110_write_config(void) u16 config; /* 115200, TM not set, no parity, 8bit word */ - config = 0xc000; + config = 0xc001; pspi->dr[0] = config; } |