From 83541769159ed7a8241cf82ab56db56e5c96a126 Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Fri, 24 Sep 2021 18:23:49 +0200 Subject: [PATCH] boot/arm-trusted-firmware: point LICENSE_FILES to correct file Since v2.2 release (commits 8cc36aec912 "doc: De-duplicate readme and license files" and 9f1622b018ab "doc: Move content out of readme and create new index page "), the license.rst file at the root of the git repo is only telling to look at docs/license.rst file. Let's point the ARM_TRUSTED_FIRMWARE_LICENSE_FILES to the correct file and modify the .hash file accordingly. The comment has also been wrong since we bumped from version 1.4 to 2.2 in commit a757d173f179 (boot/arm-trusted-firmware: bump to version 2.2). Drop referencing an explicit version, so that is is never wrong again. Signed-off-by: Quentin Schulz [yann.morin.1998@free.fr: also fix the comment.] Signed-off-by: Yann E. MORIN --- boot/arm-trusted-firmware/arm-trusted-firmware.hash | 2 +- boot/arm-trusted-firmware/arm-trusted-firmware.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boot/arm-trusted-firmware/arm-trusted-firmware.hash b/boot/arm-trusted-firmware/arm-trusted-firmware.hash index 1ab50a9e28..80402ec374 100644 --- a/boot/arm-trusted-firmware/arm-trusted-firmware.hash +++ b/boot/arm-trusted-firmware/arm-trusted-firmware.hash @@ -1,3 +1,3 @@ # Locally calculated sha256 d12a824afcc5cb90d005f9820f3274f1319cef1bb282e40a6a190b75900206d3 arm-trusted-firmware-v2.5.tar.gz -sha256 487795b8023df866259fa159bab94706b747fb0d623b7913f1c4955c0ab5f164 license.rst +sha256 0171b0795501ee90634fbc4a7835e2fb215d9423daf1cf5b0d0682adde12c597 docs/license.rst diff --git a/boot/arm-trusted-firmware/arm-trusted-firmware.mk b/boot/arm-trusted-firmware/arm-trusted-firmware.mk index 9d44a5df06..03fa83b7b5 100644 --- a/boot/arm-trusted-firmware/arm-trusted-firmware.mk +++ b/boot/arm-trusted-firmware/arm-trusted-firmware.mk @@ -18,10 +18,10 @@ else # Handle stable official ATF versions ARM_TRUSTED_FIRMWARE_SITE = $(call github,ARM-software,arm-trusted-firmware,$(ARM_TRUSTED_FIRMWARE_VERSION)) # The licensing of custom or from-git versions is unknown. -# This is valid only for the official v1.4. +# This is valid only for the latest (i.e. known) version. ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION),y) ARM_TRUSTED_FIRMWARE_LICENSE = BSD-3-Clause -ARM_TRUSTED_FIRMWARE_LICENSE_FILES = license.rst +ARM_TRUSTED_FIRMWARE_LICENSE_FILES = docs/license.rst endif endif