diff options
| author | Marek Vasut <marex@denx.de> | 2017-04-19 13:27:39 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2017-04-25 17:50:00 -0700 |
| commit | aaf84c428a84663631574d502f25e8c416875f84 (patch) | |
| tree | 4da28ed5c07535cf2db704b152de4d91a835a1e7 | |
| parent | d283676cb87590e605ce75dedf110975e64e89de (diff) | |
| download | meta-altera-aaf84c428a84663631574d502f25e8c416875f84.tar.gz | |
nios2: Add Nios2 R2 CDX support
Add support for the Nios2 R2 Code Density Extension, which is a
completely new 16/32-bit instruction set addition to reduce size
of the code and increase performance.
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 c8e02d7..784ccfd 100644 --- a/conf/machine/include/tune-nios2.inc +++ b/conf/machine/include/tune-nios2.inc | |||
| @@ -54,6 +54,12 @@ TUNECONFLICTS[bmx] = "nios2 bigendian" | |||
| 54 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "bmx", " -mbmx", "" ,d)}" | 54 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "bmx", " -mbmx", "" ,d)}" |
| 55 | TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "bmx", "-bmx", "" ,d)}" | 55 | TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "bmx", "-bmx", "" ,d)}" |
| 56 | 56 | ||
| 57 | # Nios2 R2 CDX opcodes | ||
| 58 | TUNEVALID[cdx] = "Enable Nios2 R2 Code Density Extension." | ||
| 59 | TUNECONFLICTS[cdx] = "nios2 bigendian" | ||
| 60 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cdx", " -mcdx", "" ,d)}" | ||
| 61 | TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "cdx", "-cdx", "" ,d)}" | ||
| 62 | |||
| 57 | # Architecture configuration | 63 | # Architecture configuration |
| 58 | AVAILTUNES += "nios2 nios2eb nios2r2" | 64 | AVAILTUNES += "nios2 nios2eb nios2r2" |
| 59 | 65 | ||
