提交 54292850 编写于 作者: A Andreas Ruprecht 提交者: Ralf Baechle

MIPS: Sibyte: Fix Kconfig dependencies of SIBYTE_BUS_WATCHER

Commit 6793f55c ("MIPS: sibyte: Amend dependencies for
SIBYTE_BUS_WATCHER") changed the dependencies for
SIBYTE_BUS_WATCHER to make it visible only if SIBYTE_BCM112X
or SIBYTE_SB1250 are enabled.

In the code in arch/mips/sibyte/common/bus_watcher, however,
a #if defined() check suggests that this functionality should
also be available for SIBYTE_BCM1x55 and SIBYTE_BCM1x80.

Make it selectable by extending the dependencies of
SIBYTE_BUS_WATCHER in arch/mips/sibyte/Kconfig.
Reported-by: NJonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Signed-off-by: NAndreas Ruprecht <andreas.ruprecht@fau.de>
Cc: valentinrothberg@gmail.com
Cc: stefan.hengelein@fau.de
Cc: pebolle@tiscali.nl
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/10736/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 47f2ac50
...@@ -143,7 +143,8 @@ config SIBYTE_CFE_CONSOLE ...@@ -143,7 +143,8 @@ config SIBYTE_CFE_CONSOLE
config SIBYTE_BUS_WATCHER config SIBYTE_BUS_WATCHER
bool "Support for Bus Watcher statistics" bool "Support for Bus Watcher statistics"
depends on SIBYTE_SB1xxx_SOC && \ depends on SIBYTE_SB1xxx_SOC && \
(SIBYTE_BCM112X || SIBYTE_SB1250) (SIBYTE_BCM112X || SIBYTE_SB1250 || \
SIBYTE_BCM1x55 || SIBYTE_BCM1x80)
help help
Handle and keep statistics on the bus error interrupts (COR_ECC, Handle and keep statistics on the bus error interrupts (COR_ECC,
BAD_ECC, IO_BUS). BAD_ECC, IO_BUS).
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册