arm: socfpga: Expand the help text for the bridge command.
Subsystems (3)
PATCH 1/1 arm: socfpga: Expand the help text for the bridge command.
From: "Lokanathan, Raaj" <[email protected]>
The existing bridge command is incomplete and it has spelling error. This newly added help text indicates the bit positions and the values of the mask.
ie: bit 0 = h2f/s2f, bit 1 = lwhps2fpga, and bit 2 = f2h/f2s
These bridges available only in Stratix 10:
bit3: f2sdram0
bit4: f2sdram1
bit5: f2sdram2
Signed-off-by Lokanathan, Raaj <[email protected]>
Signed-off-by Jit Loon Lim <[email protected]>
--- arch/arm/mach-socfpga/misc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
arch/arm/mach-socfpga/misc.c +3 -2
@@ -209,8 +209,9 @@ static int do_bridge(struct cmd_tbl *cmdtp, int flag, int argc,U_BOOT_CMD (bridge,3 ,1 , do_bridge,"SoCFPGA HPS FPGA bridge control" , -"enable [mask] - Enable HPS-to-FPGA, FPGA-to-HPS, LWHPS-to-FPGA bridges\n" -"bridge disable [mask] - Enable HPS-to-FPGA, FPGA-to-HPS, LWHPS-to-FPGA bridges\n" +"enable [mask] - Enable HPS-to-FPGA (Bit 0), LWHPS-to-FPGA (Bit 1), FPGA-to-HPS (Bit 2), F2SDRAM0 (Bit 3), F2SDRAM1 (Bit 4), F2SDRAM2 (Bit 5) bridges \n" +"bridge disable [mask] - Disable HPS-to-FPGA (Bit 0), LWHPS-to-FPGA (Bit 1), FPGA-to-HPS (Bit 2), F2SDRAM0 (Bit 3), F2SDRAM1 (Bit 4), F2SDRAM2 (Bit 5) bridges\n" +"Bit 3, Bit 4 and Bit 5 bridges only available in Stratix 10\n" "" );
Signature · 1 line
2.26.2