summaryrefslogtreecommitdiff
path: root/src/southbridge/broadcom/bcm5780
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2013-06-19 20:48:06 -0700
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2013-12-03 02:35:56 +0100
commit6149776e7312b6c2417aa8c3621f864b36cea7cd (patch)
tree551eca8ba3b849b2a8b3f617e99654e6c6eb59ae /src/southbridge/broadcom/bcm5780
parentcfe77beea4bb2ec501a14ab822e4773f64dfb21b (diff)
libpayload: ARM: Don't leave alignment checking on after the exception test
Currently, the exception handling code on ARM in libpayload turns on alignment checks as an easy way to generate an exception for testing purposes. It was leaving it on which disabled unaligned accesses for other, unlreated code running later. This change adjusts the code so the original value of the alignment bit is restored after the test exception. Built and booted into depthcharge on pit with an unaligned accesses added after the call to exception_init in the depthcharge's main. Before this change, the access caused an exception. After this change, the access completed successfully. Change-Id: If92cab3cc8eabca7c5b0560ce88a8796a27fe3b2 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/59372 Reviewed-by: Stefan Reinauer <reinauer@google.com> Commit-Queue: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org> Reviewed-on: http://review.coreboot.org/4255 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/southbridge/broadcom/bcm5780')
0 files changed, 0 insertions, 0 deletions