summaryrefslogtreecommitdiff
path: root/src/lib/bootmode.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-12-12 16:57:37 +0100
committerFelix Held <felix-coreboot@felixheld.de>2020-12-23 16:14:45 +0000
commit323c0aeb6421396e31ab08e2e70bc486b3decde5 (patch)
treebb7e523c7c4d068125dc62ab2a56bb5b6673fd82 /src/lib/bootmode.c
parent9f4ed3b5504e564c44f14dce0bab0f9bc92779b6 (diff)
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>
Diffstat (limited to 'src/lib/bootmode.c')
0 files changed, 0 insertions, 0 deletions