Skip to content

Commit ee19734

Browse files
author
Phil Elwell
committed
scripts/mkknlimg: Change string for DDT detection
The old "of_overlay_apply" string does not appear in 4.8 kernel builds. "of_cfs_init" is both present and a more accurate indication of support for dynamically loading overlays (although the trailer is now of little practical use and the firmware assumes DT support and will look for both .dtbo and -overlay.dtb overlays). Signed-off-by: Phil Elwell <[email protected]>
1 parent 2fb843e commit ee19734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/mkknlimg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ my $wanted_strings =
7777
'brcm,bcm2709' => FLAG_PI | FLAG_DTOK | FLAG_270X,
7878
'brcm,bcm2835' => FLAG_PI | FLAG_DTOK | FLAG_283X,
7979
'brcm,bcm2836' => FLAG_PI | FLAG_DTOK | FLAG_283X,
80-
'of_overlay_apply' => FLAG_DTOK | FLAG_DDTK,
80+
'of_cfs_init' => FLAG_DTOK | FLAG_DDTK,
8181
};
8282

8383
my $res = try_extract($kernel_file, $tmpfile1);

0 commit comments

Comments
 (0)