summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x201
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2014-07-16 18:39:58 -0700
committerMarc Jones <marc.jones@se-eng.com>2015-01-12 05:56:16 +0100
commit456314fcf86a1e773a89db3885b035d4a198eb20 (patch)
tree355161afc24a24efc34a9732a90eca2124bc8701 /src/mainboard/lenovo/x201
parent8a1d11f7973f3b4d01f2d9e7c57a4a0c5e7c3959 (diff)
downloadcoreboot-456314fcf86a1e773a89db3885b035d4a198eb20.tar.xz
libpayload: Let GDB stub read/write memory with aligned MMIO words
Looks like we got our first SoC that actually insists on using word-sized accesses for its MMIO registers with the Rk3288. This patch changes the GDB command handler for reading and writing memory to always perform word-sized accesses. This isn't really perfect since the remote GDB interface is just not really meant to interact with MMIO (e.g. you shouldn't use this on something with read side effects), but for most of our purposes it should be good enough. BUG=chrome-os-partner:18390 TEST=Remote GDB works on Veyron even when writing MMIO registers. Original-Change-Id: I2ae52636593499f70701582811f1b692c1ea8fcc Original-Signed-off-by: Julius Werner <jwerner@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/208554 Original-Reviewed-by: David Hendricks <dhendrix@chromium.org> (cherry picked from commit 028940934e6b45a02122b61bb859588bf8671938) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: I4185a6efe9a5211525781acd0a167b821e854211 Reviewed-on: http://review.coreboot.org/8130 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/lenovo/x201')
0 files changed, 0 insertions, 0 deletions