diff options
author | Tom Rini <trini@konsulko.com> | 2023-01-10 11:19:37 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-20 12:27:06 -0500 |
commit | 8fe042be9aaef8898cf2a0de44d679b41d81da67 (patch) | |
tree | 67d188537a683c070d7bb2df98c81f12f1dddeb9 /drivers/fpga/fpga.c | |
parent | 2d1e2e5717669d91f527866465da81e0f9e65c32 (diff) | |
download | u-boot-8fe042be9aaef8898cf2a0de44d679b41d81da67.zip u-boot-8fe042be9aaef8898cf2a0de44d679b41d81da67.tar.gz u-boot-8fe042be9aaef8898cf2a0de44d679b41d81da67.tar.bz2 |
fpga: Migrate CONFIG_MAX_FPGA_DEVICES to Kconfig
This is always defined to 5, so use that as the default.
Cc: Michal Simek <michal.simek@amd.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/fpga/fpga.c')
-rw-r--r-- | drivers/fpga/fpga.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/fpga/fpga.c b/drivers/fpga/fpga.c index 4db5c0a..7f6b6bc 100644 --- a/drivers/fpga/fpga.c +++ b/drivers/fpga/fpga.c @@ -13,11 +13,6 @@ #include <lattice.h> #include <dm/device_compat.h> -/* Local definitions */ -#ifndef CONFIG_MAX_FPGA_DEVICES -#define CONFIG_MAX_FPGA_DEVICES 5 -#endif - /* Local static data */ static int next_desc = FPGA_INVALID_DEVICE; static fpga_desc desc_table[CONFIG_MAX_FPGA_DEVICES]; |