Convert CONFIG_SYS_FPGA_CHECK_BUSY to Kconfig
This converts the following to Kconfig: CONFIG_SYS_FPGA_CHECK_BUSY Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
7ee2f977b7
commit
f00f676af6
@ -96,6 +96,10 @@ config FPGA_VIRTEX2
|
||||
Enable Virtex-II FPGA driver for loading in BIT format. This driver
|
||||
also supports many newer Xilinx FPGA families.
|
||||
|
||||
config SYS_FPGA_CHECK_BUSY
|
||||
bool "Perform busy check during load from FPGA"
|
||||
depends on FPGA_SPARTAN2 || FPGA_SPARTAN3 || FPGA_VIRTEX2
|
||||
|
||||
config FPGA_ZYNQPL
|
||||
bool "Enable Xilinx FPGA for Zynq"
|
||||
depends on ARCH_ZYNQ
|
||||
|
@ -10,8 +10,6 @@
|
||||
#include <log.h>
|
||||
#include <spartan2.h> /* Spartan-II device family */
|
||||
|
||||
#undef CONFIG_SYS_FPGA_CHECK_BUSY
|
||||
|
||||
/* Note: The assumption is that we cannot possibly run fast enough to
|
||||
* overrun the device (the Slave Parallel mode can free run at 50MHz).
|
||||
* If there is a need to operate slower, define CONFIG_FPGA_DELAY in
|
||||
|
@ -15,8 +15,6 @@
|
||||
#include <log.h>
|
||||
#include <spartan3.h> /* Spartan-II device family */
|
||||
|
||||
#undef CONFIG_SYS_FPGA_CHECK_BUSY
|
||||
|
||||
/* Note: The assumption is that we cannot possibly run fast enough to
|
||||
* overrun the device (the Slave Parallel mode can free run at 50MHz).
|
||||
* If there is a need to operate slower, define CONFIG_FPGA_DELAY in
|
||||
|
@ -21,14 +21,11 @@
|
||||
#include <linux/delay.h>
|
||||
|
||||
/*
|
||||
* If the SelectMap interface can be overrun by the processor, define
|
||||
* CONFIG_SYS_FPGA_CHECK_BUSY and/or CONFIG_FPGA_DELAY in the board
|
||||
* If the SelectMap interface can be overrun by the processor, enable
|
||||
* CONFIG_SYS_FPGA_CHECK_BUSY and/or define CONFIG_FPGA_DELAY in the board
|
||||
* configuration file and add board-specific support for checking BUSY status.
|
||||
* By default, assume that the SelectMap interface cannot be overrun.
|
||||
*/
|
||||
#ifndef CONFIG_SYS_FPGA_CHECK_BUSY
|
||||
#undef CONFIG_SYS_FPGA_CHECK_BUSY
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_FPGA_DELAY
|
||||
#define CONFIG_FPGA_DELAY()
|
||||
|
Loading…
Reference in New Issue
Block a user