nios2: provide and include soc-specific headers

BSP builds for Nios II generate a linker.h and system.h which reflects
the configuration for that CPU. This can vary depending on how the CPU
is wired up in QSYS, so it needs to be at the SOC level--we essentially
treat any given CPU configuration as a SOC in Zephyr build terms.

Include these files from <arch/cpu.h>.

Change-Id: I12f76600107fec1a14a2f9cb82b0f55915ec03a6
Origin: Altera Quartus tools, machine generated
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2016-05-04 13:52:25 -07:00 committed by Benjamin Walsh
commit 8564875a98
4 changed files with 458 additions and 0 deletions

View file

@ -24,6 +24,8 @@
#ifndef _ARCH_IFACE_H
#define _ARCH_IFACE_H
#include <system.h>
#ifdef __cplusplus
extern "C" {
#endif