diff --git a/srcpkgs/atf-rk3399-bl31/template b/srcpkgs/atf-rk3399-bl31/template index 9eb9330fbae..234d1b3febb 100644 --- a/srcpkgs/atf-rk3399-bl31/template +++ b/srcpkgs/atf-rk3399-bl31/template @@ -1,6 +1,6 @@ # Template file for 'atf-rk3399-bl31' pkgname=atf-rk3399-bl31 -version=2.4 +version=2.6 revision=1 archs="aarch64*" wrksrc="trusted-firmware-a-${version}" @@ -10,9 +10,15 @@ maintainer="Cameron Nemo " license="BSD-3-Clause" homepage="https://developer.trustedfirmware.org/dashboard/view/6/" distfiles="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/trusted-firmware-a-${version}.tar.gz" -checksum=bf3eb3617a74cddd7fb0e0eacbfe38c3258ee07d4c8ed730deef7a175cc3d55b +checksum=4e59f02ccb042d5d18c89c849701b96e6cf4b788709564405354b5d313d173f7 nostrip=yes +post_patch() { + # Adjust the baud rate to match uboot and the kernel for the PBP + vsed -i -e 's/\(RK3399_BAUDRATE\s*\)115200/\11500000/' \ + plat/rockchip/rk3399/rk3399_def.h +} + do_build() { unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS if [ "$CROSS_BUILD" ]; then