summaryrefslogtreecommitdiff
path: root/src/arch/x86/lib
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-01-31 20:32:54 +0200
committerMarc Jones <marc.jones@se-eng.com>2014-02-04 01:43:31 +0100
commitfbdbcb713f1f1f184604a3a63e34904ee37a58d9 (patch)
tree1ed159166ae2b0f28abb2727454f6433fe7a173a /src/arch/x86/lib
parentd9b5d897d7f05d0ee8f9411628b757beea990b4b (diff)
downloadcoreboot-fbdbcb713f1f1f184604a3a63e34904ee37a58d9.tar.xz
AMD cimx/sb800: Set SPI frequency and prefetch
Broken with/since commit d1cb0eec. Original intention was to set the frequency for 'Fast Read' command in bits 15..14, and enable 'Fast Read' command. Modified register contains SPI frequency for 'Normal Read' command in bits 13..12. Default for this is 11b for 16.5 MHz. Existing code unintentionally clears these bits, increasing SPI frequency to 66MHz for 'Normal Read' command. This is above specifications for many common SPI flash components and also makes flashrom older than 0.9.7-r1750 to operate unreliably on read/write/erase for these platforms. Change-Id: I30109e2a0410c0bb0bdc968ea71787396b32e761 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5089 Tested-by: build bot (Jenkins) Reviewed-by: Kevin O'Connor <kevin@koconnor.net> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Marc Jones <marc.jones@se-eng.com>
Diffstat (limited to 'src/arch/x86/lib')
0 files changed, 0 insertions, 0 deletions