coreboot-kgpe-d16/src/mainboard/intel
Jacob Garber 8216b46d7b mb/{asrock,intel,purism}: Copy channel arrays separately
DqByteMapCh0 and DqByteMapCh1 are declared adjacently in the
FSP_M_CONFIG struct, so it is tempting to begin memcpy at the address of
the first array and overwrite both of them at once. However, FSP_M_CONFIG
is not declared with the packed attribute, so this is not guaranteed to
work and is undefined behaviour to boot. It is cleaner and less tricky
to copy them independently. The same is true for DqsMapCpu2DramCh0 and
DqsMapCpu2DramCh1, so we change those as well.

Change-Id: Ic6bb2bd5773af24329575926dbc70e0211f29051
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 136538{8,9}, 140134{1,4}
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33135
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2019-08-20 15:18:10 +00:00
..
apollolake_rvp coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
baskingridge cpu/intel: Enter romstage without BIST 2019-08-18 19:03:22 +00:00
bayleybay_fsp intel/fsp_baytrail: Move TSC_MONOTONIC_TIMER 2019-07-08 09:46:21 +00:00
camelbackmountain_fsp intel/fsp_broadwell_de: Remove redundant TSC_MONOTONIC_TIMER 2019-07-08 09:46:40 +00:00
cannonlake_rvp mb/*/chromeos.c: Remove some ENV_RAMSTAGE and __SIMPLE_DEVICE__ 2019-07-25 16:03:37 +00:00
coffeelake_rvp mb/*/chromeos.c: Remove some ENV_RAMSTAGE and __SIMPLE_DEVICE__ 2019-07-25 16:03:37 +00:00
d510mo sb/intel/i82801gx: Detect if the southbridge supports AHCI 2019-06-06 10:38:22 +00:00
d945gclf cpu/intel: Enter romstage without BIST 2019-08-18 19:03:22 +00:00
dcp847ske arch/x86: Avoid HAVE_SMI_HANDLER conditional with smm-class 2019-07-09 12:43:35 +00:00
dg41wv cpu/intel: Enter romstage without BIST 2019-08-18 19:03:22 +00:00
dg43gt cpu/intel: Enter romstage without BIST 2019-08-18 19:03:22 +00:00
emeraldlake2 mb/*/chromeos.c: Remove some ENV_RAMSTAGE and __SIMPLE_DEVICE__ 2019-07-25 16:03:37 +00:00
galileo cpu/x86/smm: Promote smm_memory_map() 2019-08-15 05:46:59 +00:00
glkrvp arch/x86: Avoid HAVE_SMI_HANDLER conditional with smm-class 2019-07-09 12:43:35 +00:00
harcuvar src/mainboard: Remove unused include <arch/byteorder.h> 2019-06-19 12:29:18 +00:00
icelake_rvp mb/*/chromeos.c: Remove some ENV_RAMSTAGE and __SIMPLE_DEVICE__ 2019-07-25 16:03:37 +00:00
kblrvp mb/{asrock,intel,purism}: Copy channel arrays separately 2019-08-20 15:18:10 +00:00
kunimitsu mb/{asrock,intel,purism}: Copy channel arrays separately 2019-08-20 15:18:10 +00:00
leafhill soc/intel: Clean mess around UART_DEBUG 2019-01-09 22:15:48 +00:00
littleplains src: Drop unused 'include <arch/acpigen.h>' 2019-03-12 07:27:28 +00:00
minnow3 soc/intel: Clean mess around UART_DEBUG 2019-01-09 22:15:48 +00:00
minnowmax intel/fsp_baytrail: Move TSC_MONOTONIC_TIMER 2019-07-08 09:46:21 +00:00
mohonpeak src: Drop unused 'include <arch/acpigen.h>' 2019-03-12 07:27:28 +00:00
saddlebrook mb/{asrock,intel,purism}: Copy channel arrays separately 2019-08-20 15:18:10 +00:00
strago mb/*/chromeos.c: Remove some ENV_RAMSTAGE and __SIMPLE_DEVICE__ 2019-07-25 16:03:37 +00:00
wtm2 mainboard/google: Remove use of __PRE_RAM__ 2019-08-19 00:03:37 +00:00
Kconfig
Kconfig.name