Skip to content

Commit e88b9e5

Browse files
committed
xilinx: zynqmp: Remove usb hub init from variables
USB hub initialization is done by the driver itself that's why this can be removed. Signed-off-by: Michal Simek <[email protected]>
1 parent 3a64d73 commit e88b9e5

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

board/xilinx/zynqmp/zynqmp_kria.env

+2-10
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,12 @@ k26_starter=SMK-K26-XCL2G
5353
k24_starter=SMK-K24-XCL2G
5454
bootcmd=setenv model $board_name && if setexpr model gsub .*$k24_starter* $k24_starter || setexpr model gsub .*$k26_starter* $k26_starter; then run som_cc_boot; else run som_mmc_boot; run som_cc_boot; fi
5555

56-
usb_hub_init=mw 1000 0056 && sleep 1 && i2c write 1000 2d aa 2 -s
57-
58-
# usb hub init
59-
kv260_setup=i2c dev 1 && run usb_hub_init
60-
# usb hub init
61-
kr260_setup=i2c dev 1 && run usb_hub_init; i2c dev 2 && run usb_hub_init;
62-
# usb hub init with enabling PM nodes for ...
63-
kd240_setup=i2c dev 1 && run usb_hub_init;zynqmp pmufw node 33; zynqmp pmufw node 47
56+
# enabling PM nodes for ...
57+
kd240_setup=zynqmp pmufw node 33; zynqmp pmufw node 47
6458

6559
tpm_setup=tpm autostart;
6660

6761
board_setup=\
6862
zynqmp mmio_write 0xFFCA0010 0xfff 0; \
69-
if test ${card1_name} = SCK-KV-G; then run kv260_setup; fi;\
70-
if test ${card1_name} = SCK-KR-G; then run kr260_setup; fi;\
7163
if test ${card1_name} = SCK-KD-G; then run kd240_setup; fi;\
7264
run tpm_setup

0 commit comments

Comments
 (0)