From 87a1279b867865f81690eb8919042369df791cb4 Mon Sep 17 00:00:00 2001 From: Nick Chan Date: Mon, 11 Nov 2024 16:49:46 +0800 Subject: [PATCH] kboot: Fix get_notchless_fb() on notched Macs Fixes: 5bb8f04bdf79 ("kboot: Add workarounds for ADT for A7-A11 SoCs.") Signed-off-by: Nick Chan --- src/kboot.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/kboot.c b/src/kboot.c index 40e644b3..e98c87fa 100644 --- a/src/kboot.c +++ b/src/kboot.c @@ -76,13 +76,7 @@ void get_notchless_fb(u64 *fb_base, u64 *fb_height) u32 val; if ((ADT_GETPROP(adt, node, "partially-occluded-display", &val) < 0 || !val) && - chip_id != T8015) { - printf("FDT: No notch detected\n"); - return; - } - - // iPhone X - if (chip_id != T8015 || (board_id != 0x6 && board_id != 0xe)) { + (chip_id != T8015 || (board_id != 0x6 && board_id != 0xe))) { printf("FDT: No notch detected\n"); return; }