riscv: add build support for big-endian
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 13 Jun 2025 16:12:57 +0000 (17:12 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 3 Jul 2025 10:10:50 +0000 (18:10 +0800)
commit7bd65e89addd62999bd26e8c4b78b1658bba6a5c
tree361a62cf4cfc04ffe08f64e54a9d29788166ec00
parenta23c1b3fc09431a2787c0ff5f9b3aea5c754ad6d
riscv: add build support for big-endian

Add support to build code big-endian if the board supports
it. Updates the makefile to pass the correct compiler and
elf flags.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/riscv/config.mk