[PATCH 2/2] ratp-console: select CRC16 and POLLER, depend on CONSOLE_FULL

Lucas Stach l.stach at pengutronix.de
Thu Feb 11 01:33:56 PST 2016


RATP console selects RATP, which in turn selects CRC16, but those
chains don't work in Kconfig, so select CRC16 also from the
console option.

Also fix build errors by depending on CONSOLE_FULL and selecting
POLLER.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 common/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/Kconfig b/common/Kconfig
index fc3ed8e57d73..3b87a3c8f8d2 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -623,6 +623,9 @@ config PBL_CONSOLE
 config CONSOLE_RATP
 	bool
 	select RATP
+	select CRC16
+	select POLLER
+	depends on CONSOLE_FULL
 	prompt "RATP console support"
 	help
 	  This option adds support for remote controlling barebox via serial
-- 
2.1.4




More information about the barebox mailing list