Modify SPI UART slave select to 0x2 according to latest ESL (2008.06)
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 @@
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;