From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E37B4C433F5 for ; Mon, 3 Jan 2022 15:15:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0718E80FAE; Mon, 3 Jan 2022 16:15:33 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="E5B0qnuM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 57CEF82FC8; Mon, 3 Jan 2022 16:15:31 +0100 (CET) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 90FD9804C8 for ; Mon, 3 Jan 2022 16:15:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=festevam@gmail.com Received: by mail-qt1-x82b.google.com with SMTP id q14so30641129qtx.10 for ; Mon, 03 Jan 2022 07:15:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7YnbM0ZLgCpeol/V1bMQCY3pTHHQKaiTC5TG+OumJ1k=; b=E5B0qnuM/2fTSnIZtXnmB7q4/ByYC+tTOOBSvLgSrnWtJlBO3tNALnjtL5vfw6AKdV wc2TzzlJ7DwEJBlVn4jRQ+to48215R+yn+sToRi2gBce0pywaT0H/cuorLfze9iHt4cm SME9li25cfLVPkOghcLhIBa8ty/C4FKKs8M2Pvh/x1Zd4IDoSBYrfOlTZf8uUyZooYcS +n9CB2/iHHJDj+ZhIbqdULuiyeKfBD12BI/6AhzbuO07yXTHzSAuo+K3c+uHfSUeqHWn QNy82dhXqzD2rZfkU7c6gpIHJ5xBypk9zlQ0V4EflNfufRIXeQ2kV7NXWfJ2vmR1DhgQ 8NRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7YnbM0ZLgCpeol/V1bMQCY3pTHHQKaiTC5TG+OumJ1k=; b=4ft/s8s26Y7PKx18V/rOfnXZxGdHT8KulzaAnobHt2boGiKU6lcXGfH2HdU18MWT8E pcWpN0cl1V1uylKIoM8WK6014uyq5ifUJ+EtxoaotFAIzsA3z2HFMcIUoKZgybYIzU/N tA2HONjPnfd4dpocuCEcQrf6ijIKaxg7OuoexC6HCjeNikoofc/+sVMNUsEKSIsb8Yjh ydOxorIdLLQ7CQF2demAQs8aJpZHDz+lk8t9tON+hgSEHl7b4gmva2JWRwP0d0ehEYyn TghsHCFBtlnFGQc9WgQNl8KBya+5P11Xo92rMUwpcJFxIzvyaMm5aaCzMaxKA630cRr8 Oc/Q== X-Gm-Message-State: AOAM5304OzKFJYHrzkDObH6tokU1Qq56BXVcjdswN5XwVBAUF81FpY3d 7BbbNqa2ytm6PGxLqeVif0A= X-Google-Smtp-Source: ABdhPJzIOTK0EzhcWrm4h5l/SvwJKx/R2Sj8IcuIkejaM/XnYQbn+FX2IH5tHq7oxRtcw8NlJa9gBQ== X-Received: by 2002:ac8:5f0c:: with SMTP id x12mr39954520qta.3.1641222923476; Mon, 03 Jan 2022 07:15:23 -0800 (PST) Received: from localhost.localdomain ([2804:14c:485:504a:9fae:13de:8196:cc8c]) by smtp.gmail.com with ESMTPSA id x1sm28686149qtj.9.2022.01.03.07.15.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jan 2022 07:15:23 -0800 (PST) From: Fabio Estevam To: sbabic@denx.de Cc: u-boot@lists.denx.de, pbrobinson@gmail.com, tomm.merciai@gmail.com, Fabio Estevam Subject: [PATCH 2/2] udoo: neo: Do not print the Model information Date: Mon, 3 Jan 2022 12:15:12 -0300 Message-Id: <20220103151512.435434-2-festevam@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220103151512.435434-1-festevam@gmail.com> References: <20220103151512.435434-1-festevam@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean By default the Model information from DT is printed: CPU: Freescale i.MX6SX rev1.2 996 MHz (running at 792 MHz) CPU: Extended Commercial temperature grade (-20C to 105C) at 63C Reset cause: POR Model: UDOO Neo Basic Board: UDOO Neo FULL I2C: ready As the udoo basic DT is used, such output may be confusing. Improve it by only printing the Board model instead, which is read from the board identification GPIOs. Signed-off-by: Fabio Estevam --- This applies on top of Peter's series: https://lore.kernel.org/all/20211221123249.455347-1-pbrobinson@gmail.com/T board/udoo/neo/neo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c index 0c0d3f615d18..da6a0b4e9247 100644 --- a/board/udoo/neo/neo.c +++ b/board/udoo/neo/neo.c @@ -350,7 +350,8 @@ static char *board_string(int type) return "UNDEFINED"; } -int checkboard(void) +/* Override the default implementation, DT model is not accurate */ +int show_board_info(void) { int *board_type = (int *)OCRAM_START; -- 2.25.1