1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-03 17:52:07 +02:00

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>
This commit is contained in:
Tom Rini
2023-01-10 11:19:37 -05:00
parent 2d1e2e5717
commit 8fe042be9a
3 changed files with 5 additions and 9 deletions

View File

@@ -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];