POST: Move cpu caching and dma setup to platform_hardware_setup().
commit9e4d41cd7c157a1d7037b06f9d830a7dfc6d1441
authorKevin O'Connor <kevin@koconnor.net>
Mon, 21 Jan 2013 17:14:29 +0000 (21 12:14 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 8 Feb 2013 02:48:35 +0000 (7 21:48 -0500)
tree4b1dcd270fd93bc664039e9c50fd500fadadfcd9
parent6ca0460fbb8ecfa5d42c8928b7ee71f20d0cffdb
POST: Move cpu caching and dma setup to platform_hardware_setup().

The CPU cache is enabled and DMA is disabled on all real-world POST
entry situations, so no need to do this in the low-level "pre-init"
phase.  Instead, move it to the platform hardware setup stage.

Also, move the setting of the reboot flags (which control reset-vector
entry point handling) to ivt_init().

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/post.c
src/resume.c
src/util.h