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 BF8C0C433F5 for ; Mon, 3 Jan 2022 00:58:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 117428141B; Mon, 3 Jan 2022 01:58:45 +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="pkb59o80"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2D45E81420; Mon, 3 Jan 2022 01:58:43 +0100 (CET) Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (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 A1D5480605 for ; Mon, 3 Jan 2022 01:58:40 +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-ed1-x52b.google.com with SMTP id q14so122362976edi.3 for ; Sun, 02 Jan 2022 16:58:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ePHvAY3js6Ouf4w1HA/5xEz7jGjtiTkUw8MJGr8jIOY=; b=pkb59o80yVz9PDov6G7zhz20hceyjCuELxYjDVUR3085Gg09W0VMI/7/VN/pnBaiUc b+ytPgl5Y8QWfoHLKzzjwQfHPTSVB/Vgib7OodwujUU6Cq8l/b8E8wjSN5Y6mOGw1rZe VJIzSIgoVCnxNokdvbeq7MNH6dctVqZp7Nx2ebtR7soO2cC/sBeyIr3vysRhvT7Ve16E H3gVzd7rlfDhxYsl1pbRyrmjds1fakCqgyF5vbxm/3RMXfBgcn5aSxyJwI5Bu2L2iWiV EpnLD9plO5vGAPcQZ0TRsQN6bJCF3TB8GB6ye6A972B7lJdN1s+dGX23u9U0yj8F5aEl 5wvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ePHvAY3js6Ouf4w1HA/5xEz7jGjtiTkUw8MJGr8jIOY=; b=VLz6QhyXAvTFYwh+qfWz5ZIYOIWPj3XWS/v/fN+Ull4xfQJxUd1TvdODUx1z2cRDVb xox8eJGqb5m5kQ81PBweCL176p/j6ivlbAesGw1tdv/2BoLaAb0KOXRGkHa4qkoLi4ul ryMa7wE20cXjqqeO48Cwtf1xM3St5RBRp4HL17NqfJCLLFuF9yIA6p51xSqWntMwuuif r9eJjGk/HAIubAO65CYFBPGVbIFgxHI+zEXghylRhqA7s7VkP0Uo9C5IFjMPWM2F3aXc JXB6fKURh+uPxRDQGPNuiWacvUb201G9409p9WkUsLk5dR7ISZUQAddVhyntXNXi3Tgf 6xUw== X-Gm-Message-State: AOAM533mQR9pLxQ+/xepHYtAQzagDj9hqZbBrfUYVaVNrF83sIzP3p5T SWTFlQmbSncl7uFAduHIRjs9s166DdDBMfbG2Wo= X-Google-Smtp-Source: ABdhPJwypAfbIR91Od55AoH20p01HtAKhFocbngKBadmcjJ8M9zLMhKVD1L/AD8XHfP3rcj8TK5XJi5nYNrefmGrZrM= X-Received: by 2002:a17:906:249a:: with SMTP id e26mr34057362ejb.492.1641171520279; Sun, 02 Jan 2022 16:58:40 -0800 (PST) MIME-Version: 1.0 References: <20220102235435.40001-1-tomm.merciai@gmail.com> In-Reply-To: <20220102235435.40001-1-tomm.merciai@gmail.com> From: Fabio Estevam Date: Sun, 2 Jan 2022 21:58:29 -0300 Message-ID: Subject: Re: [PATCH v2] udoo_neo: fix udoo neo UNDEFINED To: Tommaso Merciai Cc: linux-fancy , Breno Lima , Francesco Montefoschi , U-Boot-Denx Content-Type: text/plain; charset="UTF-8" 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 Hi Tommaso, On Sun, Jan 2, 2022 at 8:54 PM Tommaso Merciai wrote: > > get_board_value function fails to get the right board configuration on > second time that is call. This patch move get_board_value function at > spl level, once is call, store the right configuration into gd static > variable gd->board_type and fix the previous error. > get_board_value is now call only one time. > > Signed-off-by: Tommaso Merciai With this patch I get: Board: UDOO Neo UNDEFINED