Skip to content

Commit ffc38f8

Browse files
committed
kboot: Grab kblang-calibration for M2
Signed-off-by: Hector Martin <[email protected]>
1 parent 9769200 commit ffc38f8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/kboot.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,11 @@ static int dt_set_chosen(void)
239239
}
240240

241241
int ipd = adt_path_offset(adt, "/arm-io/spi3/ipd");
242+
if (ipd < 0)
243+
ipd = adt_path_offset(adt, "/arm-io/dockchannel-mtp/mtp-transport/keyboard");
244+
242245
if (ipd < 0) {
243-
printf("ADT: /arm-io/spi3/ipd not found, no keyboard\n");
246+
printf("ADT: no keyboard found\n");
244247
} else {
245248
u32 len;
246249
const u8 *kblang = adt_getprop(adt, ipd, "kblang-calibration", &len);

0 commit comments

Comments
 (0)