diff options
author | Paul Burton <paul.burton@imgtec.com> | 2017-08-07 16:01:14 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-08-30 00:57:28 +0200 |
commit | 9e111ee7c385eda6e866ec89c267559a06d01eee (patch) | |
tree | bbb671e960280405748760704724601fc0c85f82 /arch/mips/configs/generic | |
parent | c7a1d3d8ad330650e939d73b6dd71f2bcdfc1e56 (diff) | |
download | linux-9e111ee7c385eda6e866ec89c267559a06d01eee.tar.gz linux-9e111ee7c385eda6e866ec89c267559a06d01eee.tar.bz2 linux-9e111ee7c385eda6e866ec89c267559a06d01eee.zip |
MIPS: NI 169445: Only include in 32r2el kernels
The NI 169445 board uses a little endian MIPS32r2 CPU, and therefore
including board support in kernels that are unable to run on such a CPU
is pointless.
Specify requirements in the board config fragment that cause the NI
169445 board support to only be included in generic kernels that target
little endian MIPS32r2 CPUs.
For example, NI 169445 support will be included when configuring using
32r2el_defconfig but not when using 64r6_defconfig.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Nathan Sullivan <nathan.sullivan@ni.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16945/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/configs/generic')
-rw-r--r-- | arch/mips/configs/generic/board-ni169445.config | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/configs/generic/board-ni169445.config b/arch/mips/configs/generic/board-ni169445.config index 0bae1f861a5b..f72223b366ca 100644 --- a/arch/mips/configs/generic/board-ni169445.config +++ b/arch/mips/configs/generic/board-ni169445.config @@ -1,3 +1,6 @@ +# require CONFIG_CPU_MIPS32_R2=y +# require CONFIG_CPU_LITTLE_ENDIAN=y + CONFIG_FIT_IMAGE_FDT_NI169445=y CONFIG_SERIAL_8250=y |