coreboot-kgpe-d16/src/mainboard/asus
Kyösti Mälkki 107f72e674 Re-declare CACHE_ROM_SIZE as aligned ROM_SIZE for MTRR
This change allows Kconfig options ROM_SIZE and CBFS_SIZE to be
set with values that are not power of 2. The region programmed
as WB cacheable will include all of ROM_SIZE.

Side-effects to consider:

Memory region below flash may be tagged WRPROT cacheable. As an
example, with ROM_SIZE of 12 MB, CACHE_ROM_SIZE would be 16 MB.
Since this can overlap CAR, we add an explicit test and fail
on compile should this happen. To work around this problem, one
needs to use CACHE_ROM_SIZE_OVERRIDE in the mainboard Kconfig and
define a smaller region for WB cache.

With this change flash regions outside CBFS are also tagged WRPROT
cacheable. This covers IFD and ME and sections ChromeOS may use.

Change-Id: I5e577900ff7e91606bef6d80033caaed721ce4bf
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/4625
Tested-by: build bot (Jenkins)
Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
2014-01-15 15:26:48 +01:00
..
a8n_e AMD K8: Define MEM_TRAIN_SEQ only with K8_REV_F_SUPPORT 2013-12-30 07:17:16 +01:00
a8v-e_deluxe AMD boards (non-AGESA): Cleanup post_cache_as_ram.c includes 2013-12-26 23:22:17 +01:00
a8v-e_se AMD boards (non-AGESA): Cleanup post_cache_as_ram.c includes 2013-12-26 23:22:17 +01:00
dsbf intel/i5000: Use MMCONF_SUPPORT_DEFAULT 2013-07-04 03:10:22 +02:00
f2a85-m Re-declare CACHE_ROM_SIZE as aligned ROM_SIZE for MTRR 2014-01-15 15:26:48 +01:00
k8v-x AMD boards (non-AGESA): Cleanup post_cache_as_ram.c includes 2013-12-26 23:22:17 +01:00
m2n-e AMD K8 (rev F): Move rev F0/F1 workaround to header 2013-12-30 07:20:38 +01:00
m2v AMD K8 (rev F): Move rev F0/F1 workaround to header 2013-12-30 07:20:38 +01:00
m2v-mx_se AMD K8 (rev F): Move rev F0/F1 workaround to header 2013-12-30 07:20:38 +01:00
m4a78-em AMD fam10: Drop RAMINIT_SYSINFO 2013-12-29 19:45:41 +01:00
m4a785-m AMD fam10: Drop RAMINIT_SYSINFO 2013-12-29 19:45:41 +01:00
m4a785t-m AMD fam10: Drop RAMINIT_SYSINFO 2013-12-29 19:45:41 +01:00
m5a88-v AMD fam10: Drop RAMINIT_SYSINFO 2013-12-29 19:45:41 +01:00
mew-am GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
mew-vm GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
p2b x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
p2b-d x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
p2b-ds x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
p2b-f x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
p2b-ls x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
p3b-f x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
Kconfig Add support for ASUS F2A85-M board 2013-03-22 04:02:39 +01:00