summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlek Du <alek.du@intel.com>2008-06-17 14:08:35 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 20:22:37 -0700
commit3f5527f01970ef108b0b3e2463ecc04bb277acbc (patch)
treebfdd2518bb4cf47b0cadfb979fc4394b7433de7d
parentf631cf6bcecb2e730e3bef10d76d4a947e6d3414 (diff)
downloadbootstub-3f5527f01970ef108b0b3e2463ecc04bb277acbc.tar.gz
Modify SPI UART slave select to 0x2 according to latest ESL (2008.06)
-rw-r--r--VERSION1
-rw-r--r--bootstub.spec2
-rw-r--r--spi-uart.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index a62568b..1c05105 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1,2 @@
+0.2 spi support on. June 10, 2008
0.1 Initial bootstub version for power on. May 21, 2008
diff --git a/bootstub.spec b/bootstub.spec
index 24a80fc..a26ed4e 100644
--- a/bootstub.spec
+++ b/bootstub.spec
@@ -1,6 +1,6 @@
Summary: this package provides bootstub binary for mrst power on
Name: bootstub
-Version: 0.1
+Version: 0.2
Release: 1%{?dist}
License: GPLv2
Group: System Environment/Shells
diff --git a/spi-uart.c b/spi-uart.c
index c78f0dc..a33c70e 100644
--- a/spi-uart.c
+++ b/spi-uart.c
@@ -52,7 +52,7 @@ static void spi_init()
pspi->imr &= 0xffffff00;
/* select one slave SPI device */
- pspi->ser = 0x1;
+ pspi->ser = 0x2;
/* enable the HW, this should be the last step for HW init */
pspi->ssienr |= 0x1;