Home
last modified time | relevance | path

Searched hist:"2012 f238bd4383904e898cfc26c9fd433af835aa" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/fpga/
H A Daltera.c2012f238bd4383904e898cfc26c9fd433af835aa Tue Sep 16 19:17:51 UTC 2014 Marek Vasut <marex@denx.de> 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>