#
# SPDX-License-Identifier: GPL-2.0
#
# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com
#
# This file is a part of the Armbian Build Framework
# https://github.com/armbian/build/
#
BOOTBRANCH='tag:v2021.04'

declare -g KERNEL_MAJOR_MINOR="5.15" # Major and minor versions of this kernel.
KERNELBRANCH='branch:linux-5.15.y'

ARCH=arm64
#UBOOT_TARGET_MAP=";;u-boot.bin"
UBOOT_TARGET_MAP="u-boot-dtb.img;;u-boot.bin:u-boot.bin u-boot-dtb.img"
ATF_COMPILE="no"

BOOTSCRIPT='boot-qemu.cmd:boot.cmd'
BOOTPATCHDIR="u-boot-arm-64"
BOOTDIR='u-boot'

write_uboot_platform() {
	dd if=$1/u-boot.bin of=$2 bs=32k seek=1 status=noxfer > /dev/null 2>&1
}
