mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 01:44:34 +00:00
bios_emulator: define the comment symbol for RISC-V assembler too
The bios_emulator driver cannot be compiled for RISC-V because the x86emu.h header file doesn't define the comment symbol ("#") for the assembler. With this patch, use the same symbol as for e.g. x86. Signed-off-by: Yuri Zaporozhets <yuriz@qrv-systems.net>
This commit is contained in:
parent
599652cff1
commit
d84e3d2630
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ typedef u16 X86EMU_pioAddr;
|
|||
|
||||
#if defined(CONFIG_ARM)
|
||||
#define GAS_LINE_COMMENT "@"
|
||||
#elif defined(CONFIG_MIPS) || defined(CONFIG_PPC) || defined(CONFIG_X86)
|
||||
#elif defined(CONFIG_MIPS) || defined(CONFIG_PPC) || defined(CONFIG_X86) || defined(CONFIG_RISCV)
|
||||
#define GAS_LINE_COMMENT "#"
|
||||
#elif defined (CONFIG_SH)
|
||||
#define GAS_LINE_COMMENT "!"
|
||||
|
|
Loading…
Add table
Reference in a new issue