diff options
| author | Marek Vasut <marex@denx.de> | 2017-04-19 13:27:38 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2017-04-25 17:50:00 -0700 |
| commit | d283676cb87590e605ce75dedf110975e64e89de (patch) | |
| tree | 1aa65218e2bcc1db4cfdb11024f00771fe695e84 | |
| parent | b8ccadd56a59912e329bcf11f06e79be10a96e95 (diff) | |
| download | meta-altera-d283676cb87590e605ce75dedf110975e64e89de.tar.gz | |
nios2: Add Nios2 R2 BMX support
Add support for the Bit Manipulation Extensions , which is optional
part of Nios2 R2 spec .
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | conf/machine/include/tune-nios2.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/machine/include/tune-nios2.inc b/conf/machine/include/tune-nios2.inc index 754fe64..c8e02d7 100644 --- a/conf/machine/include/tune-nios2.inc +++ b/conf/machine/include/tune-nios2.inc | |||
| @@ -48,6 +48,12 @@ TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "fpu-customdiv", "-fpudiv | |||
| 48 | TUNECONFLICTS[fpu-custom] = "fpu-soft fpu-customdiv" | 48 | TUNECONFLICTS[fpu-custom] = "fpu-soft fpu-customdiv" |
| 49 | TUNECONFLICTS[fpu-customdiv] = "fpu-soft fpu-custom" | 49 | TUNECONFLICTS[fpu-customdiv] = "fpu-soft fpu-custom" |
| 50 | 50 | ||
| 51 | # Nios2 R2 BMX opcodes | ||
| 52 | TUNEVALID[bmx] = "Enable Nios2 R2 Bit Manipulation Extension." | ||
| 53 | TUNECONFLICTS[bmx] = "nios2 bigendian" | ||
| 54 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "bmx", " -mbmx", "" ,d)}" | ||
| 55 | TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "bmx", "-bmx", "" ,d)}" | ||
| 56 | |||
| 51 | # Architecture configuration | 57 | # Architecture configuration |
| 52 | AVAILTUNES += "nios2 nios2eb nios2r2" | 58 | AVAILTUNES += "nios2 nios2eb nios2r2" |
| 53 | 59 | ||
