diff options
| author | Michal Simek <[email protected]> | 2026-04-07 10:07:11 +0200 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2026-04-23 11:49:48 +0200 |
| commit | b82846dd8135c99ced4765a5be49a7c5dd214271 (patch) | |
| tree | 4e5ce94350e4ac5ed533e6a51172ce43d3491d3d /cmd | |
| parent | 106a7f7d7fd2ff5529e6899d1856430f5140bc08 (diff) | |
cmd: fpga: Fix wrong preprocessor guard for loadb help text
The help text for the "fpga loadb" command was incorrectly guarded by
CONFIG_CMD_FPGA_LOADP instead of CONFIG_CMD_FPGA_LOADB. This meant the
loadb help text would only be shown when LOADP was enabled, rather than
when LOADB was enabled.
Fix the preprocessor condition to use the correct config option.
Fixes: f8f378877b8f ("fpga: add new symbol for fpga_loadb")
Reviewed-by: Alexander Dahl <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Link: https://lore.kernel.org/r/366dfe78e2028f53a6274da75547fb68844764cc.1775549229.git.michal.simek@amd.com
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/fpga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fpga.c b/cmd/fpga.c index d51c380d7b3..d347a700290 100644 --- a/cmd/fpga.c +++ b/cmd/fpga.c @@ -417,7 +417,7 @@ U_BOOT_CMD(fpga, 6, 1, do_fpga_wrapper, "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" -#if defined(CONFIG_CMD_FPGA_LOADP) +#if defined(CONFIG_CMD_FPGA_LOADB) "fpga loadb <dev> <address> <size> Load device from bitstream buffer\n" #endif #if defined(CONFIG_CMD_FPGA_LOADP) |
