This patch has been provided by Mentor Chih-Chyang Chang on behalf of Andes Technology. It fixes using the coreboot toolchain to compile the Chrome EC code base on the ITE8320 embedded controller.
The new patch incorporates a fix for the issue previously fixed by patches/gcc-6.3.0_nds32.patch, so that patch can be removed.
patches/gcc-6.3.0_riscv.patch needs to be slightly adjusted to still apply cleanly (configure scripts only).
f3e23a3 buildgcc: Integrate nds32 update from Andes Technology
util/crossgcc/buildgcc | 4 +-
util/crossgcc/patches/gcc-6.3.0_nds32.patch | 17 -
util/crossgcc/patches/gcc-6.3.0_nds32_ite.patch | 73397 ++++++++++++++++++++++
util/crossgcc/patches/gcc-6.3.0_riscv.patch | 8 +-
4 files changed, 73403 insertions(+), 23 deletions(-)