diff options
author | Ibai Erkiaga <ibai.erkiaga-elorza@amd.com> | 2025-01-21 13:01:33 +0000 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2025-02-05 16:22:55 +0100 |
commit | ce54f50c9d47e08bcf44d9730e8a6cc4c1a5271d (patch) | |
tree | 51ec6b340a16b68821c03eade8cddbbc397de31e | |
parent | 4937392254ba56bcbfb77d7c0600b865b55e8914 (diff) |
fpga: xilinx exclusive commands
Ensure all Xilinx exclusive fpga commands have a KConfig symbol and
dependency to FPGA_XILINX listed. Remove (Xilinx only) text from the
help command.
Signed-off-by: Ibai Erkiaga <ibai.erkiaga-elorza@amd.com>
Link: https://lore.kernel.org/r/20250121130138.1999916-5-ibai.erkiaga-elorza@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
-rw-r--r-- | cmd/Kconfig | 10 | ||||
-rw-r--r-- | cmd/fpga.c | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 81d2b9b70d9..d59a000a516 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1186,15 +1186,15 @@ config CMD_FPGA_LOADP a partial bitstream. config CMD_FPGA_LOADBP - bool "fpga loadbp - load partial bitstream (Xilinx only)" - depends on CMD_FPGA + bool "fpga loadbp - load partial bitstream" + depends on CMD_FPGA && FPGA_XILINX help Supports loading an FPGA device from a bitstream buffer containing a partial bitstream. config CMD_FPGA_LOADFS - bool "fpga loadfs - load bitstream from FAT filesystem (Xilinx only)" - depends on CMD_FPGA + bool "fpga loadfs - load bitstream from FAT filesystem" + depends on CMD_FPGA && FPGA_XILINX help Supports loading an FPGA device from a FAT filesystem. @@ -1206,7 +1206,7 @@ config CMD_FPGA_LOADMK config CMD_FPGA_LOAD_SECURE bool "fpga loads - loads secure bitstreams" - depends on CMD_FPGA + depends on CMD_FPGA && FPGA_XILINX select FPGA_LOAD_SECURE help Enables the fpga loads command which is used to load secure diff --git a/cmd/fpga.c b/cmd/fpga.c index 13aabc95abc..75d2f824998 100644 --- a/cmd/fpga.c +++ b/cmd/fpga.c @@ -420,11 +420,11 @@ U_BOOT_CMD(fpga, 6, 1, do_fpga_wrapper, #endif #if defined(CONFIG_CMD_FPGA_LOADBP) "fpga loadbp <dev> <address> <size> Load device from bitstream buffer\n" - " with partial bitstream (Xilinx only)\n" + " with partial bitstream\n" #endif #if defined(CONFIG_CMD_FPGA_LOADFS) "fpga loadfs <dev> <address> <size> <blocksize> <interface> [<dev[:part]>] <filename>\n" - " Load device from filesystem (FAT by default) (Xilinx only)\n" + " Load device from filesystem (FAT by default)\n" #endif #if defined(CONFIG_CMD_FPGA_LOADMK) "fpga loadmk <dev> <address> Load device generated with mkimage\n" @@ -436,7 +436,7 @@ U_BOOT_CMD(fpga, 6, 1, do_fpga_wrapper, #if defined(CONFIG_CMD_FPGA_LOAD_SECURE) "fpga loads <dev> <address> <size> <authflag> <encflag> [Userkey address]\n" " Load device from memory buffer with secure bistream\n" - " (authenticated/encrypted/both)(Xilinx only)\n" + " (authenticated/encrypted/both)\n" " -authflag: 0 for OCM, 1 for DDR, 2 for no authentication\n" " (specifies where to perform authentication)\n" " -encflag: 0 for device key, 1 for user key, 2 for no encryption\n" |