Skip to content

Commit

Permalink
kboot: Remove leftover IPD lookup dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Hector Martin <[email protected]>
  • Loading branch information
marcan committed Mar 19, 2023
1 parent a024101 commit a633b90
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/kboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,6 @@ static int dt_set_chosen(void)
if (node < 0)
bail("FDT: /chosen node not found in devtree\n");

int ipd = adt_path_offset(adt, "/arm-io/spi3/ipd");
if (ipd < 0)
ipd = adt_path_offset(adt, "/arm-io/dockchannel-mtp/mtp-transport/keyboard");

if (fdt_setprop(dt, node, "asahi,iboot1-version", system_firmware.iboot,
strlen(system_firmware.iboot) + 1))
bail("FDT: couldn't set asahi,iboot1-version");
Expand Down

0 comments on commit a633b90

Please sign in to comment.