diff options
author | Marek Vasut <marex@denx.de> | 2017-01-18 23:01:46 +0100 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2017-01-24 13:10:36 -0800 |
commit | e671711c9a8c1de540f035095e18458bc03968de (patch) | |
tree | b747bd4b33d0e51cfb1cac14299b718aae2abae5 /arch_init.c | |
parent | b78625648802a5a7eef5a5f848250a52503a81aa (diff) |
nios2: Add support for Nios-II R1
Add remaining bits of the Altera NiosII R1 support into qemu, which
is documentation, MAINTAINERS file entry, configure bits, arch_init
and configuration files for both linux-user (userland binaries) and
softmmu (hardware emulation).
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chris Wulff <crwulff@gmail.com>
Cc: Jeff Da Silva <jdasilva@altera.com>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Sandra Loosemore <sandra@codesourcery.com>
Cc: Yves Vandervennet <yvanderv@altera.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Message-Id: <20170118220146.489-8-marex@denx.de>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'arch_init.c')
-rw-r--r-- | arch_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch_init.c b/arch_init.c index c316ae1023..0810116144 100644 --- a/arch_init.c +++ b/arch_init.c @@ -63,6 +63,8 @@ int graphic_depth = 32; #define QEMU_ARCH QEMU_ARCH_MIPS #elif defined(TARGET_MOXIE) #define QEMU_ARCH QEMU_ARCH_MOXIE +#elif defined(TARGET_NIOS2) +#define QEMU_ARCH QEMU_ARCH_NIOS2 #elif defined(TARGET_OPENRISC) #define QEMU_ARCH QEMU_ARCH_OPENRISC #elif defined(TARGET_PPC) |