RISC-V: nmon: fix SiFive DEBUG_LL build
PATCH 1/1 RISC-V: nmon: fix SiFive DEBUG_LL build
nmon includes <debug_ll.h> in assembly source, so add __ASSEMBLY__ guards, so the build doesn't fail.
Signed-off-by Ahmad Fatoum <[email protected]>
--- arch/riscv/include/asm/debug_ll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/include/asm/debug_ll.h +1 -1
@@ -36,7 +36,7 @@#include <asm/debug_ll_ns16550.h> -#elif definedCONFIG_DEBUG_SIFIVE +#elif definedCONFIG_DEBUG_SIFIVE && !defined __ASSEMBLY__#include <io.h>
Signature · 7 lines
2.33.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 7 lines · Ahmad Fatoum
nmon includes <
debug_ll.h> in assembly source, so add__ASSEMBLY__guards, so the build doesn't fail.Signed-off-by Ahmad Fatoum <[email protected]>--- arch/riscv/include/asm/debug_ll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Sascha
Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox