diff options
author | Aaron Durbin <adurbin@chromium.org> | 2013-05-10 00:45:37 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@google.com> | 2013-05-16 01:30:17 +0200 |
commit | 2ad6bd23a7ebcaf593f717db9c356284237ed639 (patch) | |
tree | ae86ae82dcf7953c7aacbe9624f16f6a86e09a76 /COPYING | |
parent | 677e1558c32d1c88ade486e5ac42e60a3da1fdcf (diff) |
cbmem console: use cache-as-ram API and cleanup
Allow for automatic cache-as-ram migration for the cbmem
console. The code was refactored in the thought of making
it easier to read. The #ifdefs still exist, but they are no
longer sprinkled throughout the code. The cbmem_console_p
variable now exists globally in both romstage and ramstage.
However, the cbmem_console_p is referenced using the
cache-as-ram API. When cbmem is initialized the console
is automatically copied over by calling cbmemc_reinit()
through a callback.
Change-Id: I9f4a64e33c58b8b7318db27942e37c13804e6f2c
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/3235
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions