38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
|
#
|
||
|
# 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:-"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
|
||
|
# do nothing. VIM3L has its own post_uboot_custom_postprocess hook, directly in the board file.
|
||
|
:
|
||
|
elif [[ $BOARD == bananapim5 ]]; then
|
||
|
# do nothing. Banana M5 has its own post_uboot_custom_postprocess hook, directly in the board file.
|
||
|
:
|
||
|
elif [[ $BOARD == bananapim2pro ]]; then
|
||
|
# do nothing. Banana M2Pro has its own post_uboot_custom_postprocess hook, directly in the board file.
|
||
|
:
|
||
|
else
|
||
|
display_alert "uboot_custom_postprocess meson-sm1" "Unknown BOARD: $BOARD - not using FIP trees" "wrn"
|
||
|
fi
|
||
|
}
|