coreboot/src
Angel Pons 323c0aeb64 nb/intel/sandybridge: Refactor dram_find_spds_ddr3
Pointers to structs can be very useful, especially when they point to an
array element. In this case, changing one pointer allows the function to
be rewritten more concisely, since most redundancy can be eliminated.

Tested on Asus P8Z77-V LX2, still boots. No functional difference.

Change-Id: I7f0c37ea49db640f197162f371165a6f8e9c1b9c
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48612
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
2020-12-23 16:14:45 +00:00
..
acpi cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
arch arch/arm: Replace .id section with build_info in CBFS 2020-12-17 06:25:25 +00:00
commonlib drivers/tpm: Implement full PPI 2020-12-21 02:38:20 +00:00
console lib/trace: Remove TRACE support 2020-12-02 23:35:58 +00:00
cpu arch/x86: Link gdt_init.S into bootblock 2020-12-16 06:31:55 +00:00
device azalia: Use azalia_enter_reset function 2020-12-17 20:25:09 +00:00
drivers drivers/tpm/ppi_stub: Fix interface version 2020-12-21 02:38:28 +00:00
ec src: Remove redundant use of ACPI offset(0) 2020-12-03 00:05:52 +00:00
include device/azalia_device.c: Add codec reset helpers 2020-12-17 13:55:10 +00:00
lib sb,soc/intel: Drop unnecessary headers 2020-12-22 17:28:23 +00:00
mainboard mb/intel/adlrvp: Make SI_ALL region within 16MiB 2020-12-23 03:28:35 +00:00
northbridge nb/intel/sandybridge: Refactor dram_find_spds_ddr3 2020-12-23 16:14:45 +00:00
security cbfs: Add verification for RO CBFS metadata hash 2020-12-03 00:11:08 +00:00
soc Makefile: Add $(xcompile) to specify where to write xcompile 2020-12-23 03:40:35 +00:00
southbridge sb/intel/ibexpeak: Drop ChromeOS setup for GNVS 2020-12-22 17:29:13 +00:00
superio src: Remove redundant use of ACPI offset(0) 2020-12-03 00:05:52 +00:00
vendorcode vc/intel/fsp/fsp2_0/alderlake: Update FSP header file version to 1514_11 2020-12-23 03:32:42 +00:00
Kconfig Kconfig: Show console debug options if loglevel override is set 2020-12-11 15:58:24 +00:00