aboutsummaryrefslogtreecommitdiffstats
path: root/spi.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2020-11-09 16:57:40 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2020-11-09 23:13:58 +0000
commited341cf8c3bb68079651aed678c6b5019b33b268 (patch)
treeb58b1dc2b4ef22a0588a21580d6763135f587f76 /spi.h
parent07edbb9af4f5b692717b52ad84cca0728472755d (diff)
downloadflashrom-ed341cf8c3bb68079651aed678c6b5019b33b268.tar.gz
flashrom-ed341cf8c3bb68079651aed678c6b5019b33b268.tar.bz2
flashrom-ed341cf8c3bb68079651aed678c6b5019b33b268.zip
programmer.h: Reorder MEC1308 and ENE_LPC enumerators
Programmer enumerators and their corresponding programmer_table entries need to be aligned. This was not the case for MEC1308 and ENE_LPC. Their configs were not enabled by default until commit 26fde5b0b067 ("ene_lpc,mec1308: Fix entry-points to be explicit")/CL:2488823, allowing this issue to go unnoticed. The particular symptom of the mismatch was internal_init() trying to init linux_mtd instead of linux_spi. BUG=b:172668501 TEST=flashrom -p host on gale BRANCH=None Original-Change-Id: I2e9d3df6a6fd6d5d8e3a5a13ee56f5997b10ea52 Original-Signed-off-by: Sam McNally <sammc@chromium.org> Change-Id: I8e7a57b7c30e2dd2306d6fe7268eee8bb9d0c8a5 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/47353 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Victor Ding <victording@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'spi.h')
0 files changed, 0 insertions, 0 deletions