commit | 0d3fe2b1534cd202a97e2a2dda403a9b24b169d3 | [log] [tgz] |
---|---|---|
author | Reinhard Meyer <u-boot@emk-elektronik.de> | Tue Oct 05 16:56:39 2010 +0200 |
committer | Mike Frysinger <vapier@gentoo.org> | Tue Oct 12 21:08:25 2010 -0400 |
tree | 55c0c5752f2a86c53e4de2d8592b173c16a51602 | |
parent | 076f1be8e1c1a1ea4760fc4ac7cac68bc28fc80d [diff] |
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: Reinhard Meyer <u-boot@emk-elektronik.de> Signed-off-by: Mike Frysinger <vapier@gentoo.org>