From patchwork Thu Nov 18 05:45:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Masami Hiramatsu X-Patchwork-Id: 519233 Delivered-To: patch@linaro.org Received: by 2002:ac0:c605:0:0:0:0:0 with SMTP id p5csp487243imj; Wed, 17 Nov 2021 21:45:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJNgMlY+85KKgbC+GpfpCMPzb9hwp6UVfnjWsxpdZsqfNRTCmbmCeSnOsBGGd3X9XOvjrT X-Received: by 2002:a17:906:8794:: with SMTP id za20mr29356964ejb.11.1637214344957; Wed, 17 Nov 2021 21:45:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637214344; cv=none; d=google.com; s=arc-20160816; b=q5Up4EvzVzHwIN6i4s7sHxaB064lIEUcKa4WiCkvMNTMZnXkbmQvC8pyswOJcENS0x zrcEXxJgAsl0j80i8IbDog8gceLwFZwDijQS2KVKZ+EsEoNAXqkocFLucVkYNCb59GPN FAv+0IQpyosGZZ7koAnqMAoTKfd2PzErSYQoPc0AXU4IhMW23jGdI0+iFv9UZhF9uM+i DWV5j3oO2wS3BfljLyg/VACvnDIEg7kjvJzCyvnXdgBIZwiR/efRRjXIFQeKXnc2Y6Q8 eLqng0cDhT2W+IHFr61TS+sEGD5pHr+ydnBYFY0CPrdwBFxEqUiUimjcpU4/S4Z0VlAg 25/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:user-agent:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=09E9W+PZe1IetNn8O7WKmfHWP39uMUtbsXxrxbMlxu4=; b=lQ+bG4373Hym2E0cgvQGshibbg5X9HBx/OCnQhJ30EzN+ht1Pl7JiRUJ8v8VqYum/k wYzxzFE5iBVIMT1OkzWa+FPgSUT0Z8ohFNCeSOsIhOQjt9/rrY6SHqUT3uQIKgNY1EFJ Nnqr6Hojs17BXWE2yeh+JHWAQ8C6Yx+TyxKVjb9jHfyoGkQSwKVLYUxSS2avKaaSLHyq AmV3BhOaA6SsogWGiDQtzzOJ/sXkz34GrVB5HjhKNc86hm+N11BtqS6BIBrym4CjutVH a3WI3GPG7oQhDgqk/eVTmorxs8ykvamkF0UKqnWkcChVKB2p4UjRvk99GtMW7/Oq44EK IbEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IalM4qZC; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id z12si6671241edd.193.2021.11.17.21.45.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 21:45:44 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IalM4qZC; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 572B882093; Thu, 18 Nov 2021 06:45:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="IalM4qZC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6999F82D5B; Thu, 18 Nov 2021 06:45:38 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (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 EC8E882093 for ; Thu, 18 Nov 2021 06:45:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=masami.hiramatsu@linaro.org Received: by mail-pl1-x62b.google.com with SMTP id u17so4284873plg.9 for ; Wed, 17 Nov 2021 21:45:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=09E9W+PZe1IetNn8O7WKmfHWP39uMUtbsXxrxbMlxu4=; b=IalM4qZCAyyYb8n0djjWkqZUtDdRNGVa6zSDhGtDpk6MEmcN0JodbhfALtnYGJnfr2 Zp63WaxdVHCSPE/emRvJ4or4WHzM70+ZX7IGjxJWPhROANnMl5N8/zKCWcchWe8IR+3X 32dxrlPHaSd1gVLTJjfSo0BUcpWHP+liOXgswd6mDx6kLrq7XH2mfZrV9SbK9Ll5D302 mtqFY//fmRcgnqB1Deb4rfopCW7xZHJwt3cElK4ODuMu3KY9Bl3gKDz/rXOUPAY4YEvU rI7Bz7AlMkakGffgo4Pi9AtDXr63cHtD5JEq/W/lbn1KbV3dcCcEcR1nSF3R8b+0CcOU 2Bjg== 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:user-agent:mime-version:content-transfer-encoding; bh=09E9W+PZe1IetNn8O7WKmfHWP39uMUtbsXxrxbMlxu4=; b=HT718hU4FSSuIP81kDQtk4sSs8ZHYjTUH/hP/RlL023DpUiNvDGPAqiqfVitzbW4jw M/Zy0SITvqPhLGX0EyLnO6FYi3YQ8R4LZfowwNLra+0gBLzThW2rT1+xCISp5LgcAxgn R0RA8KmHq5rqDE7AdnLFu94rdlSNljlPdPIJQd6t9pc0IQxi2Lmp2J8KmG8Iez/8iJf1 vzF0pYi3dpr4i/xiE2RWovv8jeuo+Mrk8os0w0lfDbmB4ZiLaUcFLfn1YwU8O7VXKeqy LaO0EVERB1kASP2fPg12D/rjNUqR+WLtsNuNFoSSa1ZHeB2D205kf6Fc2DQ2YirbVMKy BobA== X-Gm-Message-State: AOAM5329ErOQvpVVathDo+Qr4ZHJ83u+0jIjOnYG9W/MvYY0KbvuLZNO vRIT4pLNidHiuJltZP/PT4WLiQ== X-Received: by 2002:a17:90b:4a81:: with SMTP id lp1mr7305943pjb.204.1637214328827; Wed, 17 Nov 2021 21:45:28 -0800 (PST) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id s14sm1502524pfk.73.2021.11.17.21.45.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 21:45:28 -0800 (PST) From: Masami Hiramatsu To: Simon Glass Cc: =?utf-8?q?Marek_Beh=C3=BAn?= , u-boot-board-maintainers@lists.denx.de, u-boot-custodians@lists.denx.de, Tom Rini , u-boot@lists.denx.de, Joe Hershberger , Wolfgang Denk , =?utf-8?q?Marek_Beh=C3=BAn?= , ilias.apalodimas@linaro.org, Kazuhiko Sakamoto Subject: [PATCH] Revert "board: synquacer: developerbox: Don't set gd->env_addr to default_environment" Date: Thu, 18 Nov 2021 14:45:25 +0900 Message-Id: <163721432461.467760.11657628315867225456.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: User-Agent: StGit/0.19 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 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 Without default setting of gd->env_addr, U-Boot will cause a synchronous abort if the env-variables on the SPI flash is broken or not saved corectly. Set gd->env_addr correctly. This reverts commit 535870f3b0fb09ee9b2885409f05304111464643. Signed-off-by: Masami Hiramatsu Reviewed-by: Marek BehĂșn --- board/socionext/developerbox/developerbox.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/socionext/developerbox/developerbox.c b/board/socionext/developerbox/developerbox.c index 31b1349514..9552bfcdc3 100644 --- a/board/socionext/developerbox/developerbox.c +++ b/board/socionext/developerbox/developerbox.c @@ -82,6 +82,8 @@ int board_init(void) { gd->bd->bi_boot_params = CONFIG_SYS_LOAD_ADDR + LOAD_OFFSET; + gd->env_addr = (ulong)&default_environment[0]; + synquacer_setup_scbm_smmu(); return 0;