summaryrefslogtreecommitdiff
path: root/drivers/spi/ich.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-27 22:13:43 -0700
committerSimon Glass <sjg@chromium.org>2015-02-06 12:07:38 -0700
commit5093badbb59e83b42b8f9e5579e07e3916271207 (patch)
tree91ddc9365a2a161a4d69d9e21e9b49b488af2252 /drivers/spi/ich.h
parent447f8b018e5e5bc5b6958ce6ed8f79e8c35c30af (diff)
downloadu-boot-imx-5093badbb59e83b42b8f9e5579e07e3916271207.zip
u-boot-imx-5093badbb59e83b42b8f9e5579e07e3916271207.tar.gz
u-boot-imx-5093badbb59e83b42b8f9e5579e07e3916271207.tar.bz2
x86: spi: Support ValleyView in ICH SPI driver
The base address is found in a different way and the protection bit is also in a different place. Otherwise it is very similar. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/spi/ich.h')
-rw-r--r--drivers/spi/ich.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/spi/ich.h b/drivers/spi/ich.h
index d2e4b85..1419b23 100644
--- a/drivers/spi/ich.h
+++ b/drivers/spi/ich.h
@@ -37,18 +37,19 @@ struct ich9_spi_regs {
uint8_t opmenu[8]; /* 0x98 */
uint32_t bbar;
uint8_t _reserved3[12];
- uint32_t fdoc;
+ uint32_t fdoc; /* 0xb0 */
uint32_t fdod;
uint8_t _reserved4[8];
- uint32_t afc;
+ uint32_t afc; /* 0xc0 */
uint32_t lvscc;
uint32_t uvscc;
uint8_t _reserved5[4];
- uint32_t fpb;
+ uint32_t fpb; /* 0xd0 */
uint8_t _reserved6[28];
- uint32_t srdl;
+ uint32_t srdl; /* 0xf0 */
uint32_t srdc;
- uint32_t srd;
+ uint32_t scs;
+ uint32_t bcr;
} __packed;
enum {