coreboot-kgpe-d16/src/northbridge/intel
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
..
e7505 cbfs: Enable CBFS mcache on most chipsets 2020-12-02 22:12:10 +00:00
gm45 nb/intel/gm45: Clean up header handling 2020-10-24 20:42:32 +00:00
haswell cbfs: Introduce cbfs_ro_map() and cbfs_ro_load() 2020-12-03 00:00:19 +00:00
i440bx cbfs: Enable CBFS mcache on most chipsets 2020-12-02 22:12:10 +00:00
i945 drivers: Replace set_vbe_mode_info_valid 2020-12-17 06:21:56 +00:00
ironlake nb/intel/ironlake: Add comment about MCH scan chains 2020-12-14 08:24:12 +00:00
pineview cbfs: Enable CBFS mcache on most chipsets 2020-12-02 22:12:10 +00:00
sandybridge nb/intel/sandybridge: Refactor dram_find_spds_ddr3 2020-12-23 16:14:45 +00:00
x4x cbfs: Enable CBFS mcache on most chipsets 2020-12-02 22:12:10 +00:00