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 6C3A6C433EF for ; Wed, 8 Jun 2022 18:30:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E9B4F8431B; Wed, 8 Jun 2022 20:30:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="SmCwEkeB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AA7EB84334; Wed, 8 Jun 2022 20:30:20 +0200 (CEST) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (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 CDD7E842E4 for ; Wed, 8 Jun 2022 20:30:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82e.google.com with SMTP id c8so15551141qtj.1 for ; Wed, 08 Jun 2022 11:30:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=804EnHs4ZUoOHq5KV86VxzNOnoUXEw9mg2U/Ia5/hDo=; b=SmCwEkeBHxB7vSZpv1j/9J+0B3EkQOQqZlpB6J3rfeFnuU9tZNtX8b7tEiIO2RVi7z fNjOcCPZlpIvH6aR9cexiA6c93MWzkMbOkzS+mWvf9dUKda9OK29CgauaeYcbiF7CZfe Cdz5wAyA9aRfbGVaX7QhZt7zPZT/IXaYuh8w4= 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:mime-version :content-transfer-encoding; bh=804EnHs4ZUoOHq5KV86VxzNOnoUXEw9mg2U/Ia5/hDo=; b=NFjqh+YjH+nNIELCLSrDIeB+cQ2kGMshkfeRR0jVxJ8fkS0x6OKEeNo5OctluHmidx DKAWrQy61pXSElZPbtkOcgc6xbH6XGiD0C7/z3riMLcj1CIAz5LVwo5gg+Vt0KPt8Hjy hGojzahOwMxbqqfapqKqHtrVfkImwKLYCT8nBgQAWupuIRfFWwOwCwFvSFdCPHeclzK6 A0K1itH7VoOs9NFnAkH/spZ5E5ZkBFGVoViAwIP62ztsOT+Ja+D/oeexoulU6cp3J4Pq 4uNfVsnQkWvWQXvhwB1zBEJCCWI3OSzYo8Hjo4wVKwU8xf2/GTrgax/6mI+1Y/ZkHjtv Y8xQ== X-Gm-Message-State: AOAM532cCOgjbeAHAhvuDlMfnKE/Eb5e4i4EUYiMN9Z+7TaEreLBRrzT 8NTGRGUJXXhtIX59Mc6Nzl9EGzS/NgnVNA== X-Google-Smtp-Source: ABdhPJyH3rBywYlp2D03Z0SSOEZUlSpgAw9EAarXNqy9mAGa7odtQFpeLsTwUu3VayYqraHFLK0qXA== X-Received: by 2002:a05:622a:18a4:b0:303:9b54:87b0 with SMTP id v36-20020a05622a18a400b003039b5487b0mr28438482qtc.576.1654713016147; Wed, 08 Jun 2022 11:30:16 -0700 (PDT) Received: from bill-the-cat.lan (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id f2-20020a05620a408200b006a6ab8f761csm11518709qko.62.2022.06.08.11.30.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 11:30:15 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Gabriel Hojda Subject: [PATCH] odroid_xu3: Fix board environment variable Date: Wed, 8 Jun 2022 14:30:14 -0400 Message-Id: <20220608183014.1417881-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean When migrating CONFIG_CONS_INDEX to Kconfig, on this platform we changed what "board" evaluated to in the environment. This in turn meant that we would no longer try and find the correct fdtfile via the normal distro boot logic. Fix this by overriding board in the default environment, as done on other platforms where CONFIG_SYS_BOARD is not what we want to be in the board environment variable. Fixes: f76750d11133 ("Convert CONFIG_CONS_INDEX et al to Kconfig") Reported-by: Gabriel Hojda Tested-by: Gabriel Hojda Signed-off-by: Tom Rini --- include/configs/odroid_xu3.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/odroid_xu3.h b/include/configs/odroid_xu3.h index eb35d7b4ae2d..360815bc03ee 100644 --- a/include/configs/odroid_xu3.h +++ b/include/configs/odroid_xu3.h @@ -86,6 +86,7 @@ "rootfstype=ext4\0" \ "console=console=ttySAC2,115200n8\0" \ "fdtfile=exynos5422-odroidxu3.dtb\0" \ + "board=odroid\0" \ "board_name=odroidxu3\0" \ "mmcbootdev=0\0" \ "mmcrootdev=0\0" \ -- 2.25.1