summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlek Du <alek.du@intel.com>2008-08-21 09:49:20 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 20:22:38 -0700
commitb7b3000b47443bd625f6bad0a89ce5b86d2b5b3d (patch)
tree991802625640d8ae442b5618578ded002ec9188f
parent4c20ce249f78a9e84a09e805cebf017c68d9a545 (diff)
downloadbootstub-b7b3000b47443bd625f6bad0a89ce5b86d2b5b3d.tar.gz
Fixing baudrate division as tested value on SLE by Jacob
-rw-r--r--spi-uart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/spi-uart.c b/spi-uart.c
index 55e33eb..bbe2d23 100644
--- a/spi-uart.c
+++ b/spi-uart.c
@@ -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;
}