Skip to content

Commit

Permalink
nanopct6(-lts): if using mainline u-boot, let u-boot determine fdtfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rpardini committed Feb 1, 2025
1 parent 26663ea commit 9263e06
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/boards/nanopct6.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ function post_family_config_branch_edge__nanopct6_use_mainline_uboot() {
}
}

# U-boot 2025.04+ can detect and set fdtfile automatically across T6 and T6-LTS boards.
# So if using mainline u-boot, unset BOOT_FDT_FILE to let u-boot handle it.
# That way, both variants can boot from the same image; lets keep the -lts board file for vendor kernel/u-boot.
function post_family_config_branch_edge__t6_and_t6_lts_auto_dtb_name_via_uboot_detection() {
unset BOOT_FDT_FILE
}

function pre_config_uboot_target__nanoptc6_patch_uboot_dtsi_for_ums() {
[[ "${BRANCH}" != "edge" ]] && return 0

Expand Down

0 comments on commit 9263e06

Please sign in to comment.