diff options
author | Marek Vasut | 2017-04-19 13:19:02 +0200 |
---|---|---|
committer | Ley Foon Tan | 2017-05-08 10:59:19 +0200 |
commit | edebea98777d7090ea14bdce2e38e6798557729d (patch) | |
tree | 42d00a6c8e42ed6d2c04bf8d78c21fc2a0247ccf /arch/nios2/include/asm | |
parent | nios2: Add BMX support (diff) | |
download | kernel-qcow2-linux-edebea98777d7090ea14bdce2e38e6798557729d.tar.gz kernel-qcow2-linux-edebea98777d7090ea14bdce2e38e6798557729d.tar.xz kernel-qcow2-linux-edebea98777d7090ea14bdce2e38e6798557729d.zip |
nios2: Add CDX support
Add support for the CDX Code Density Extensions present in
Nios II R2 . This introduces new 16bit instruction set to
improve code density while retaining support for the 32bit
Nios II R2 instructions.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2/include/asm')
-rw-r--r-- | arch/nios2/include/asm/cpuinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/cpuinfo.h b/arch/nios2/include/asm/cpuinfo.h index 79d376435d7d..dbdaf96f28d4 100644 --- a/arch/nios2/include/asm/cpuinfo.h +++ b/arch/nios2/include/asm/cpuinfo.h @@ -30,6 +30,7 @@ struct cpuinfo { bool has_mul; bool has_mulx; bool has_bmx; + bool has_cdx; /* CPU caches */ u32 icache_line_size; |