fpga: resort fpga commands
Resort the fpga commands both in the Kconfig and in the source code to
list
Signed-off-by: Ibai Erkiaga <ibai.erkiaga-elorza@amd.com>
Link: https://lore.kernel.org/r/20250121130138.1999916-4-ibai.erkiaga-elorza@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
diff --git a/cmd/Kconfig b/cmd/Kconfig
index e62817b..81d2b9b 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1178,6 +1178,13 @@
help
FPGA support.
+config CMD_FPGA_LOADP
+ bool "fpga loadp - load partial bitstream"
+ depends on CMD_FPGA
+ help
+ Supports loading an FPGA device from a bitstream buffer containing
+ a partial bitstream.
+
config CMD_FPGA_LOADBP
bool "fpga loadbp - load partial bitstream (Xilinx only)"
depends on CMD_FPGA
@@ -1197,13 +1204,6 @@
help
Supports loading an FPGA device from a image generated by mkimage.
-config CMD_FPGA_LOADP
- bool "fpga loadp - load partial bitstream"
- depends on CMD_FPGA
- help
- Supports loading an FPGA device from a bitstream buffer containing
- a partial bitstream.
-
config CMD_FPGA_LOAD_SECURE
bool "fpga loads - loads secure bitstreams"
depends on CMD_FPGA
diff --git a/cmd/fpga.c b/cmd/fpga.c
index 91ccbee..13aabc9 100644
--- a/cmd/fpga.c
+++ b/cmd/fpga.c
@@ -412,12 +412,12 @@
"info [dev] List known device information\n"
"fpga dump <dev> <address> <size> Load device to memory buffer\n"
"fpga load <dev> <address> <size> Load device from memory buffer\n"
+ "fpga loadb <dev> <address> <size> Load device from bitstream buffer\n"
+ " (Xilinx only)\n"
#if defined(CONFIG_CMD_FPGA_LOADP)
"fpga loadp <dev> <address> <size> Load device from memory buffer\n"
" with partial bitstream\n"
#endif
- "fpga loadb <dev> <address> <size> Load device from bitstream buffer\n"
- " (Xilinx only)\n"
#if defined(CONFIG_CMD_FPGA_LOADBP)
"fpga loadbp <dev> <address> <size> Load device from bitstream buffer\n"
" with partial bitstream (Xilinx only)\n"