u-boot-brain/drivers/fpga
Marek Vasut 2012f238bd fpga: altera: Turn the switches into table lookup
Add a table of FPGA family with matching functions associated with
it and make all the code just look up the family in that table and
call the associated function instead of the horrible switch voodoo
which was duplicated all over the place.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Tom Rini <trini@ti.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Pavel Machek <pavel@denx.de>
Acked-by: Pavel Machek <pavel@denx.de>
2014-10-06 17:31:42 +02:00
..
ACEX1K.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
altera.c fpga: altera: Turn the switches into table lookup 2014-10-06 17:31:42 +02:00
cyclon2.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fpga.c fpga: Added support to load bit stream from SD/MMC 2014-05-20 15:23:46 +02:00
ivm_core.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lattice.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile drivers: descend into sub directories only when it is necessary 2013-11-17 14:11:30 -05:00
spartan2.c fpga: Define bitstream type based on command selection 2014-05-20 15:23:46 +02:00
spartan3.c fpga: Define bitstream type based on command selection 2014-05-20 15:23:46 +02:00
stratixII.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
virtex2.c fpga: Define bitstream type based on command selection 2014-05-20 15:23:46 +02:00
xilinx.c m68k: Fix warnings with gcc 4.6 2014-06-11 16:27:05 -04:00
zynqpl.c fpga: Added support to load bit stream from SD/MMC 2014-05-20 15:23:46 +02:00