lenovo/x201: Fix order of SPI init.
The lock bit for UVSVC/LVSVC was set before both registers were programmed. Change-Id: I000440db5c8dd2f260ebc1b69108b75621faf7b3 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/5167 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
parent
25b55f3d1c
commit
ee62164bb2
|
@ -136,9 +136,9 @@ static void mainboard_init(device_t dev)
|
|||
RCBA32(0x389c) = 0x0601209f;
|
||||
RCBA32(0x38b0) = 0x00000004;
|
||||
RCBA32(0x38b4) = 0x03040002;
|
||||
RCBA32(0x38c0) = 0x00000007;
|
||||
RCBA32(0x38c4) = 0x00802005;
|
||||
RCBA32(0x38c8) = 0x00002005;
|
||||
RCBA32(0x38c4) = 0x00802005;
|
||||
RCBA32(0x38c0) = 0x00000007;
|
||||
RCBA32(0x3804) = 0x3f04e008;
|
||||
|
||||
printk(BIOS_SPEW, "SPI configured\n");
|
||||
|
|
Loading…
Reference in New Issue