* Add board BananaPi M4 Zero Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com> * HACK: wrong DRAM size: add extra barrier in mctl_mem_matches People report that this is fixed by adding another "dsb();" at the beginning of the mctl_mem_matches() function. https://lore.kernel.org/all/ZWMv816r8YxPwsJO@BOB1/T/#mec26415158efa10e6f78c5c1a651bb834f8599c4 Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com> * v2 add barrier and udelay to mctl_mem_matches function Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com> --------- Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com> Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
20 lines
670 B
Plaintext
20 lines
670 B
Plaintext
# Allwinner H618 quad core 1/2/4GB RAM SoC WiFi SPI USB-C
|
|
BOARD_NAME="Banana Pi M4Zero"
|
|
BOARDFAMILY="sun50iw9-bpi"
|
|
BOARD_MAINTAINER="pyavitz"
|
|
BOOTCONFIG="bananapi_m4zero_defconfig"
|
|
OVERLAY_PREFIX="sun50i-h616"
|
|
BOOT_LOGO="desktop"
|
|
KERNEL_TARGET="current,edge"
|
|
FORCE_BOOTSCRIPT_UPDATE="yes"
|
|
BOOTBRANCH_BOARD="tag:v2024.01"
|
|
BOOTPATCHDIR="v2024.01"
|
|
|
|
function post_family_tweaks_bsp__bananapi_rtl_bt() {
|
|
if [[ -d "$SRC/packages/bsp/bananapi/rtl_bt" ]]; then
|
|
mkdir -p "${destination}"/lib/firmware/updates/rtl_bt
|
|
display_alert "$BOARD" "Installing upstream firmware" "info"
|
|
cp -fr $SRC/packages/bsp/bananapi/rtl_bt/* "${destination}"/lib/firmware/updates/rtl_bt/
|
|
fi
|
|
}
|