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 6833FC433F5 for ; Thu, 26 May 2022 13:43:33 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9634484358; Thu, 26 May 2022 15:42:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 225BB8433E; Thu, 26 May 2022 15:42:28 +0200 (CEST) Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (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 90F938430E for ; Thu, 26 May 2022 15:42:22 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qt1-f173.google.com with SMTP id f35so1474704qtb.11 for ; Thu, 26 May 2022 06:42:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0gkmLvpIylcmVukfYZrZuMmmXCrHi8ZosK1GpaB4RJk=; b=r2uYb153K8lXmqo3+KKjf9R4cgapasiJahmsyq8b8dT/3o/n4ERYBCvqjL/ovrbTBk EB66ZQfnvJxAoVPkQCPZ8bsp70xTi3f/qkWhIuaAhKjZKLUeruuwp5r5UG/nVxB44+Lv HcQIoj/i409RGHpz903B0ZoQIdVYCWGg4JfOMUGzh/aqrkUv7V/58ZNLn3JnVQ/m0ITW isXbo9aM6VCdbpKuw4BEQ38mIi0iYGTvQWDNhwDhrtgm/hfqHQO/AbcfxC1U8LilCtDJ cJw6QlMNLWYIcj5CsfisIEo3baA8yvgAUqc5Np0sIqGC3px8/ua1PjrhPVebqp8Eak3+ U57g== X-Gm-Message-State: AOAM530VR58ipzTmlcvVl/xyCkK5gsNUmo6Yzxh+79mYdo0v8Km2/5m9 KDO48mCoIvgOPQ8oNOXSEK5GlAclPg== X-Google-Smtp-Source: ABdhPJyHiARVTfm2+aHeEuXTiHxUN+Qwec7pE0RpYEJhEktdVS4Lum4U+UFm+vLTPO6mhKm5IyZEUg== X-Received: by 2002:ac8:5d8a:0:b0:2f3:dcaa:f1c7 with SMTP id d10-20020ac85d8a000000b002f3dcaaf1c7mr28629461qtx.529.1653572541143; Thu, 26 May 2022 06:42:21 -0700 (PDT) Received: from localhost.localdomain (2603-6081-7b00-25fd-0000-0000-0000-1003.res6.spectrum.com. [2603:6081:7b00:25fd::1003]) by smtp.gmail.com with ESMTPSA id j22-20020a05620a0a5600b006a10aa7908dsm1124264qka.38.2022.05.26.06.42.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 May 2022 06:42:20 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 09/11] stih410-b2260: Switch to using GENERATED_GBL_DATA_SIZE Date: Thu, 26 May 2022 09:42:05 -0400 Message-Id: <20220526134207.3147526-9-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220526134207.3147526-1-trini@konsulko.com> References: <20220526134207.3147526-1-trini@konsulko.com> 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 We have GENERATED_GBL_DATA_SIZE to tell us how large the generated global data is, so do not use a hard-coded value of 1024 for it. Signed-off-by: Tom Rini --- include/configs/stih410-b2260.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h index fba93fd9d32c..69b9232201ba 100644 --- a/include/configs/stih410-b2260.h +++ b/include/configs/stih410-b2260.h @@ -42,10 +42,9 @@ /* Extra Commands */ -#define CONFIG_SYS_GBL_DATA_SIZE 1024 /* Global data structures */ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE - \ CONFIG_SYS_MALLOC_LEN - \ - CONFIG_SYS_GBL_DATA_SIZE) + GENERATED_GBL_DATA_SIZE) /* USB Configs */ #define CONFIG_USB_OHCI_NEW -- 2.25.1