diff options
author | Wesley W. Terpstra <wesley@sifive.com> | 2017-04-06 10:48:46 -0700 |
---|---|---|
committer | Wesley W. Terpstra <wesley@sifive.com> | 2017-04-06 10:48:46 -0700 |
commit | 8197cad40c5af8e4e315429be9f20aefbcc803ee (patch) | |
tree | f31fd7f64d1234df1bf367b5c4399c4b432eb64e | |
parent | a2c8937e631f7531c3d59e4f179369f51eb44d19 (diff) | |
download | pk-8197cad40c5af8e4e315429be9f20aefbcc803ee.zip pk-8197cad40c5af8e4e315429be9f20aefbcc803ee.tar.gz pk-8197cad40c5af8e4e315429be9f20aefbcc803ee.tar.bz2 |
mtrap: allow override of DISABLED_HART_MASK from CFLAGS
-rw-r--r-- | machine/mtrap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/machine/mtrap.h b/machine/mtrap.h index 16453d7..df71797 100644 --- a/machine/mtrap.h +++ b/machine/mtrap.h @@ -10,7 +10,9 @@ #endif // These harts will be prevented from booting beyond bbl +#ifndef DISABLED_HART_MASK #define DISABLED_HART_MASK 0x0UL +#endif #ifndef __ASSEMBLER__ |