Skip to content

Commit

Permalink
KERNEL: remove constaint for FIT
Browse files Browse the repository at this point in the history
Change-Id: I3aa785a76d7bc57095f5aeb5fc96c57a4804dcf3
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
  • Loading branch information
Christophe Priouzeau authored and lionel846 committed Nov 13, 2023
1 parent 1d0734c commit b0af85c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions recipes-kernel/linux/linux-stm32mp.inc
Expand Up @@ -103,16 +103,16 @@ do_deploy:append() {
}
do_deploy[depends] += " virtual/kernel:do_package "

python() {
fitimage_signed = d.getVar('UBOOT_SIGN_ENABLE')
devicetree = d.getVar('KERNEL_DEVICETREE').split()
machine_features = d.getVar('MACHINE_FEATURES')
if 'fit' in machine_features:
if fitimage_signed is not None and fitimage_signed == "1":
if len(devicetree) > 1:
bb.fatal("The signature of FIT image work only when there is only "
"one DEVICE-TREE specified")
}
# python() {
# fitimage_signed = d.getVar('UBOOT_SIGN_ENABLE')
# devicetree = d.getVar('KERNEL_DEVICETREE').split()
# machine_features = d.getVar('MACHINE_FEATURES')
# if 'fit' in machine_features:
# if fitimage_signed is not None and fitimage_signed == "1":
# if len(devicetree) > 1:
# bb.fatal("The signature of FIT image work only when there is only "
# "one DEVICE-TREE specified")
# }

# ---------------------------------------------------------------------
# Support checking the kernel load address parameter: expecting proper value for ST kernel.
Expand Down

0 comments on commit b0af85c

Please sign in to comment.