diff options
author | Julius Werner <jwerner@chromium.org> | 2018-08-07 15:06:24 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-08-09 08:46:16 +0000 |
commit | 60828b7fa9ad888aee0c7dfff17b5b6a507f2469 (patch) | |
tree | 51a406bce7104d268354d2da235c8b41bed41140 /src/ec | |
parent | 79ab843edf622d861cb470ae2b610df9c0ca36f1 (diff) |
rk3288: Dig up two more KB of SRAM from under the couch cushions
RK3288 has always been notoriously low on SRAM, to the point where its
boards have less than 100 bytes left in both their bootblock/verstage
sections. This becomes a problem every time we try to add a tiny amount
of code to common coreboot interfaces that are included in them.
This patch manages to add another KB to each, one from the CBMEM console
(which now might get cut off a bit, but that's life) and one by moving
the TTB_SUBTABLES to PMUSRAM. PMUSRAM is a weird world where write
accesses must always be exactly 4 bytes long or they hang the CPU, so we
mostly ignore it... but thankfully, page table entries are exactly 4
bytes long and that's the only thing we write to this region, so it
works out in this case.
Change-Id: I5aecd66db40b3f52299b270322b8c8784dbe7e6f
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/27950
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/ec')
0 files changed, 0 insertions, 0 deletions