From patchwork Mon Nov 28 12:48:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Klauser X-Patchwork-Id: 9449517 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DDEE660235 for ; Mon, 28 Nov 2016 12:49:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C998B212DA for ; Mon, 28 Nov 2016 12:49:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BE38827829; Mon, 28 Nov 2016 12:49:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8DB9212DA for ; Mon, 28 Nov 2016 12:49:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932464AbcK1MtC (ORCPT ); Mon, 28 Nov 2016 07:49:02 -0500 Received: from mail.zhinst.com ([212.126.164.98]:55244 "EHLO mail.zhinst.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932362AbcK1MtB (ORCPT ); Mon, 28 Nov 2016 07:49:01 -0500 Received: from ziws08.zhinst.com ([10.42.0.7]) by mail.zhinst.com (Kerio Connect 9.2.0) with ESMTP; Mon, 28 Nov 2016 13:48:55 +0100 From: Tobias Klauser To: Tomi Valkeinen Cc: Andrew Morton , linux-fbdev@vger.kernel.org, Ley Foon Tan Subject: [PATCH] video: vgacon: disable vgacon on nios2 Date: Mon, 28 Nov 2016 13:48:50 +0100 Message-Id: <20161128124850.14383-1-tklauser@distanz.ch> X-Mailer: git-send-email 2.11.0.rc0.7.gbe5a750 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The allyesconfig/allmodconfig build currently fails on nios2 with the following linker error: drivers/built-in.o: In function `vgacon_switch': vgacon.c:(.text+0x34750): undefined reference to `screen_info' vgacon.c:(.text+0x34758): undefined reference to `screen_info' drivers/built-in.o: In function `vgacon_resize': vgacon.c:(.text+0x349b4): undefined reference to `screen_info' vgacon.c:(.text+0x349b8): undefined reference to `screen_info' drivers/built-in.o: In function `vgacon_save_screen': vgacon.c:(.text+0x34ae8): undefined reference to `screen_info' drivers/built-in.o:vgacon.c:(.text+0x34aec): more undefined references to `screen_info' follow Since the nios2 architecture doesn't define the screen_info symbol. Fix it by disabling VGA console for nios2. Cc: Ley Foon Tan Signed-off-by: Tobias Klauser --- drivers/video/console/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig index 38da6e299149..f63a022689b5 100644 --- a/drivers/video/console/Kconfig +++ b/drivers/video/console/Kconfig @@ -9,7 +9,7 @@ config VGA_CONSOLE depends on !4xx && !8xx && !SPARC && !M68K && !PARISC && !FRV && \ !SUPERH && !BLACKFIN && !AVR32 && !MN10300 && !CRIS && \ (!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \ - !ARM64 && !ARC && !MICROBLAZE + !ARM64 && !ARC && !MICROBLAZE && !NIOS2 default y help Saying Y here will allow you to use Linux in text mode through a