mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
fpga: Remove all CONFIG_SYS_* fpga related options
All these macros are completely unused by any code. CONFIG_FPGA is not a bitfield anymore. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Tom Rini <trini@ti.com>
This commit is contained in:
@ -31,16 +31,6 @@
|
||||
#define CONFIG_MAX_FPGA_DEVICES 5
|
||||
#endif
|
||||
|
||||
/* CONFIG_FPGA bit assignments */
|
||||
#define CONFIG_SYS_FPGA_MAN(x) (x)
|
||||
#define CONFIG_SYS_FPGA_DEV(x) ((x) << 8 )
|
||||
#define CONFIG_SYS_FPGA_IF(x) ((x) << 16 )
|
||||
|
||||
/* FPGA Manufacturer bits in CONFIG_FPGA */
|
||||
#define CONFIG_SYS_FPGA_XILINX CONFIG_SYS_FPGA_MAN( 0x1 )
|
||||
#define CONFIG_SYS_FPGA_ALTERA CONFIG_SYS_FPGA_MAN( 0x2 )
|
||||
|
||||
|
||||
/* fpga_xxxx function return value definitions */
|
||||
#define FPGA_SUCCESS 0
|
||||
#define FPGA_FAIL -1
|
||||
|
Reference in New Issue
Block a user