mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
bios/boot: Support setting EVBAR for Marocchino too
The Marocchino CPU is an OR1K architecture so it also requires setting of EVBAR to boot linux.
This commit is contained in:
parent
a76828a40a
commit
d3942c137d
1 changed files with 2 additions and 1 deletions
|
@ -64,7 +64,8 @@ void __attribute__((noreturn)) boot(unsigned long r1, unsigned long r2, unsigned
|
|||
flush_cpu_dcache();
|
||||
flush_l2_cache();
|
||||
|
||||
#if defined(CONFIG_CPU_TYPE_MOR1KX) && defined(CONFIG_CPU_VARIANT_LINUX)
|
||||
#if (defined(CONFIG_CPU_TYPE_MOR1KX) || defined(CONFIG_CPU_TYPE_MAROCCHINO)) \
|
||||
&& defined(CONFIG_CPU_VARIANT_LINUX)
|
||||
/* Mainline Linux expects to have exception vector base address set to the
|
||||
* base address of Linux kernel; it also expects to be run with an offset
|
||||
* of 0x100. */
|
||||
|
|
Loading…
Reference in a new issue