src: Move POST_BOOTBLOCK_CAR to common postcodes and use it
This moves the definition for POST_BOOTBLOCK_CAR from the intel-specific postcodes into the common postcode list, and uses it for the cache-as-RAM init as needed. Because POST_BOOTBLOCK_CAR was set to 0x20 in some spots and 0x21 in most of the others, the values were consolidated into 0x21. This will change the value on some platforms. Any conflicts should get sorted out later in the conversion process. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I8527334e679a23006b77a5645f919aea76dd4926 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71596 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
committed by
Elyes Haouas
parent
a891f71ad5
commit
0d34a50a36
@@ -3,7 +3,6 @@
|
||||
#ifndef CPU_INTEL_CAR_POST_CODES_H
|
||||
#define CPU_INTEL_CAR_POST_CODES_H
|
||||
|
||||
#define POST_BOOTBLOCK_CAR 0x20
|
||||
#define POST_SOC_SET_DEF_MTRR_TYPE 0x21
|
||||
#define POST_SOC_CLEAR_FIXED_MTRRS 0x22 // Intentional Duplicate
|
||||
#define POST_SOC_DETERMINE_CPU_ADDR_BITS 0x22
|
||||
|
Reference in New Issue
Block a user