From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-la0-x230.google.com ([2a00:1450:4010:c03::230]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WRK8L-0007P9-Lg for barebox@lists.infradead.org; Sat, 22 Mar 2014 11:30:38 +0000 Received: by mail-la0-f48.google.com with SMTP id gf5so2409644lab.35 for ; Sat, 22 Mar 2014 04:30:15 -0700 (PDT) From: Antony Pavlov Date: Sat, 22 Mar 2014 15:29:55 +0400 Message-Id: <1395487797-16599-6-git-send-email-antonynpavlov@gmail.com> In-Reply-To: <1395487797-16599-1-git-send-email-antonynpavlov@gmail.com> References: <1395487797-16599-1-git-send-email-antonynpavlov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 5/7] MIPS: rzx50: drop console initialization in board code To: barebox@lists.infradead.org Signed-off-by: Antony Pavlov --- arch/mips/boards/rzx50/Makefile | 2 +- arch/mips/boards/rzx50/serial.c | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/arch/mips/boards/rzx50/Makefile b/arch/mips/boards/rzx50/Makefile index ff1a655..31c0629 100644 --- a/arch/mips/boards/rzx50/Makefile +++ b/arch/mips/boards/rzx50/Makefile @@ -1 +1 @@ -obj-$(CONFIG_DRIVER_SERIAL_NS16550) += serial.o +obj-y += serial.o diff --git a/arch/mips/boards/rzx50/serial.c b/arch/mips/boards/rzx50/serial.c index 566356a..f1e8da0 100644 --- a/arch/mips/boards/rzx50/serial.c +++ b/arch/mips/boards/rzx50/serial.c @@ -17,16 +17,11 @@ #include #include -#include -#include -static int rzx50_console_init(void) +static int rzx50_hostname_init(void) { barebox_set_hostname("rzx50"); - /* Register the serial port */ - jz_add_uart(DEVICE_ID_DYNAMIC, UART1_BASE, 12000000); - return 0; } -console_initcall(rzx50_console_init); +console_initcall(rzx50_hostname_init); -- 1.9.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox