diff options
author | Reinhard Meyer <u-boot@emk-elektronik.de> | 2010-10-05 16:56:39 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-10-12 21:08:25 -0400 |
commit | 0d3fe2b1534cd202a97e2a2dda403a9b24b169d3 (patch) | |
tree | 55c0c5752f2a86c53e4de2d8592b173c16a51602 /drivers/net/at91_emac.c | |
parent | 076f1be8e1c1a1ea4760fc4ac7cac68bc28fc80d (diff) | |
download | u-boot-imx-0d3fe2b1534cd202a97e2a2dda403a9b24b169d3.zip u-boot-imx-0d3fe2b1534cd202a97e2a2dda403a9b24b169d3.tar.gz u-boot-imx-0d3fe2b1534cd202a97e2a2dda403a9b24b169d3.tar.bz2 |
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>
Diffstat (limited to 'drivers/net/at91_emac.c')
0 files changed, 0 insertions, 0 deletions