# # 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/ # source "${BASH_SOURCE%/*}/include/meson64_common.inc" ASOUND_STATE="asound.state.meson64" CPUMIN=667000 CPUMAX=2100000 GOVERNOR=ondemand family_tweaks() { : } uboot_custom_postprocess() { # FIP trees for C4 and HC4 are identical as of 30/06/2021 if [[ $BOARD == odroidc4 ]]; then uboot_g12_postprocess $SRC/cache/sources/amlogic-boot-fip/odroid-c4 g12a elif [[ $BOARD == odroidhc4 ]]; then uboot_g12_postprocess $SRC/cache/sources/amlogic-boot-fip/odroid-hc4 g12a elif [[ $BOARD == khadas-vim3l ]]; then uboot_g12_postprocess $SRC/cache/sources/amlogic-boot-fip/khadas-vim3l g12a elif [[ $BOARD == bananapim5 ]]; then uboot_g12_postprocess $SRC/cache/sources/amlogic-boot-fip/bananapi-m5 g12a elif [[ $BOARD == bananapim2pro ]]; then uboot_g12_postprocess $SRC/cache/sources/amlogic-boot-fip/bananapi-m5 g12a # Attention: bananapim2pro uses the same blobs as bananapim5 else display_alert "uboot_custom_postprocess meson-sm1" "Unknown BOARD: $BOARD - not using FIP trees" "wrn" fi }