Skip to content
Snippets Groups Projects
Commit 0d3fe2b1 authored by Reinhard Meyer's avatar Reinhard Meyer Committed by Mike Frysinger
Browse files

sf: turn probe switch into a lookup table


This allows for arbitrarily long manufacturer ids following the JEDEC
standard of 0x7f continuation bytes.  It also makes adding new entries
easier as it's just one element in an array.  The downside is that it
increases code size a bit, but we're talking ~50 bytes.

Signed-off-by: default avatarReinhard Meyer <u-boot@emk-elektronik.de>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 076f1be8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment