diff options
author | Jacob Pan <jacob.jun.pan@intel.com> | 2009-08-12 12:56:41 -0700 |
---|---|---|
committer | Patrick Tjin <pattjin@google.com> | 2014-07-21 20:22:39 -0700 |
commit | 5dec7c4fa651e7b20e3c79e1187da5e35aeba08f (patch) | |
tree | a265d3e15a1f6589dd439209b8b9d4e5a3df4b85 /spi-uart.c | |
parent | a8cef7fc4c8686fd903b444b0d1ac0a071d05f5d (diff) | |
download | bootstub-5dec7c4fa651e7b20e3c79e1187da5e35aeba08f.tar.gz |
spi: changed clock divider to match 100MHz SPI CLK
Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
Diffstat (limited to 'spi-uart.c')
-rw-r--r-- | spi-uart.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -52,7 +52,8 @@ static void spi_init() /* set a default baud rate, 115200 */ /* feng, need make sure SPIC and MAXIM3110 match */ //spi_enable_clk(32); - pspi->baudr = 0xd8; + /* 100MHz SPI clock / 115200 BAUD rate */ + pspi->baudr = 0x364; /* need set the transmit threshhol? */ /* pspi->txftlr = 0x3; */ |