From patchwork Wed Jan 17 13:56:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 862279 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=vanguardiasur-com-ar.20150623.gappssmtp.com header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.b="ez3SxPFQ"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zM7xG40T1z9sNx for ; Thu, 18 Jan 2018 00:59:14 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 022C5C21E0E; Wed, 17 Jan 2018 13:58:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id E02ABC21E3B; Wed, 17 Jan 2018 13:57:25 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 1E81FC21DE8; Wed, 17 Jan 2018 13:56:59 +0000 (UTC) Received: from mail-qt0-f195.google.com (mail-qt0-f195.google.com [209.85.216.195]) by lists.denx.de (Postfix) with ESMTPS id 12F1DC21E45 for ; Wed, 17 Jan 2018 13:56:56 +0000 (UTC) Received: by mail-qt0-f195.google.com with SMTP id i1so5751934qtj.8 for ; Wed, 17 Jan 2018 05:56:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vkwyK3rgVhUeJ7pHxBLs0c+9uNOUVo4D71jirGa0tUQ=; b=ez3SxPFQl+H/14MI9zqOFFAhTXBMkLI/W2vKj4zB4PHuYeC9qmTYC5S+zoNe4P+c5D U0umVtr4mQPF21qKYOZk+uS5M73Rf3IuqwUX58yaL3dEa/eM/zuiSkLYxb1ISeHRyz7E QjeIXYAMK3WjLs1F9pgqviuNBtIHNFdvx24SJ9UnJC5HSBODYsEEibB0815+Ef8SJgVN HdoEU1D/zr3TrCRjS1GYMmvJqN1ZBGuqiT6zn5UIRsy/WkOvCzF/wco7MZFF/84et7G4 MQ54L6kui3ztPJ8WrbV/HrAyU7GPiChW5zpaUSsELYX+lx317OCPLXUYcJ2xwcxafsD2 1gOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vkwyK3rgVhUeJ7pHxBLs0c+9uNOUVo4D71jirGa0tUQ=; b=iGjxt8+68BB/p+I/eOSSZYTX07uHj9fL7JWTqFRvgSElz7vIMNik3lMZozQJ1m/x9W X5eSxNLZaRVGvmSyqjNOUiaSsiWOUvcXarK+aiZa79r88lo/WUgo+IXovKuVHHPyd3O3 tNmDmKACR2WZHQc/v1MfxyncUYqGua+nJaxlcEz3mahfS0m2P5Ok4jzH8va6nhIcEWBO x84AfnTmdj5EpepAbwBISwcZK8qaCbmSVEfYHVH2H/qfvYvwy99x6TezGSjURGOft6ZM ELxIpTQx9P7XrAbe54AvkgEmUtUxsp3GojyIOxVV3WQXowZi22WrNFGe7tQjy4O+Gzy3 90qg== X-Gm-Message-State: AKwxytfLP4TMaqw/a28maQJV93v72u3laQQFb9VzboAnx8huNwz7WP9p 3ymPRiRWbs6456VQf62o/Yk+wuf5 X-Google-Smtp-Source: ACJfBosXUPiIOVeocaSzKy4R/KlCGGapbPCDqxK/OhUF8ggWBE4YcR7tmmsT5Vk4bWy4Bn6H9ZC6+g== X-Received: by 10.237.50.99 with SMTP id y90mr15808761qtd.274.1516197414790; Wed, 17 Jan 2018 05:56:54 -0800 (PST) Received: from ezelaptop.fibertel.com.ar ([190.210.56.45]) by smtp.gmail.com with ESMTPSA id r2sm2871366qkb.54.2018.01.17.05.56.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jan 2018 05:56:54 -0800 (PST) From: Ezequiel Garcia To: u-boot@lists.denx.de Date: Wed, 17 Jan 2018 10:56:25 -0300 Message-Id: <20180117135626.22498-5-ezequiel@vanguardiasur.com.ar> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180117135626.22498-1-ezequiel@vanguardiasur.com.ar> References: <20180117135626.22498-1-ezequiel@vanguardiasur.com.ar> Cc: michal.simek@xilinx.com Subject: [U-Boot] [PATCH 4/5] zynq: board: Remove checkboard X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Now that showing silicon version is part of the CPU info display, let's remove checkboard(). Note that the generic show_board_info() will still show the DT 'model' property. For instance: U-Boot 2018.01-00172-g5e296ab7317a (Jan 17 2018 - 09:57:36 -0300) CPU: Zynq 7z010 Silicon: v3.1 Model: Bitmain Antminer S9 Board Signed-off-by: Ezequiel Garcia --- board/xilinx/zynq/board.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index f9e7bca4ee40..2374da68328f 100644 --- a/board/xilinx/zynq/board.c +++ b/board/xilinx/zynq/board.c @@ -11,7 +11,6 @@ #include #include #include -#include DECLARE_GLOBAL_DATA_PTR; @@ -52,22 +51,6 @@ int board_late_init(void) return 0; } -#ifdef CONFIG_DISPLAY_BOARDINFO -int checkboard(void) -{ - u32 version = zynq_get_silicon_version(); - - version <<= 1; - if (version > (PCW_SILICON_VERSION_3 << 1)) - version += 1; - - puts("Board: Xilinx Zynq\n"); - printf("Silicon: v%d.%d\n", version >> 1, version & 1); - - return 0; -} -#endif - int zynq_board_read_rom_ethaddr(unsigned char *ethaddr) { #if defined(CONFIG_ZYNQ_GEM_EEPROM_ADDR) && \