likely v5 kernels behave like late 4.x, regarding dynamic dtoverlay; untested, and possibly revisit.
This commit is contained in:
parent
bafb3c85aa
commit
35bc08973c
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ if [ "$overlay" ]; then
|
|||
|
||||
# TODO: dynamic dtoverlay Bug of v4.19.x
|
||||
# no DT node phandle inserted.
|
||||
if [[ "$kernel_ver" =~ ^4\.19.*$ ]]; then
|
||||
if [[ "$kernel_ver" =~ ^4\.19.*$ || "$kernel_ver" =~ ^5\.*$ ]]; then
|
||||
for i in $RPI_HATS; do
|
||||
if [ "$i" == "$overlay" ]; then
|
||||
do_overlay $overlay 0
|
||||
|
|
Loading…
Reference in a new issue