Message ID | 20220526134207.3147526-10-trini@konsulko.com |
---|---|
State | Accepted |
Commit | 42c6141d379c0458cbacfb166b4a2d4cd8817325 |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4L88Kr0JhYz9s07 for <incoming@patchwork.ozlabs.org>; Thu, 26 May 2022 23:43:59 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0CFDD84357; Thu, 26 May 2022 15:42:58 +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 0AD0884342; Thu, 26 May 2022 15:42:29 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 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 B800A842BC for <u-boot@lists.denx.de>; Thu, 26 May 2022 15:42:23 +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 bb31so1510661qtb.8 for <u-boot@lists.denx.de>; Thu, 26 May 2022 06:42:23 -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=IP8Zx1bMgOpkgMoHMscW1v7yJ4dS4GKvc0RhzUHtLug=; b=cHqqw/QFAoyJ4gLjxKCzSOP3hZIPRl8fnKhcCmCytEuWTw14PzzJdbNMAHZ7TKtouH 3xOEUtcZi19LYVBHBcNClCaodEhsBjh8AsxBWF9x+D2TSUZGoIEoUZumstUOPRV0YYtI gi80xvrlO1tq+J3qFgRUP0M4kmxbWBy+LzuVX3YZtbApQG307vOVXNNhqztm0IB6ogp6 0bpZtIsXih9eAQpiNuf/Yz7kb3od7VZnJ40+AYnvFKtf+dN98F5R+ZPbZu9NWzWvSAKC PgBtNxsKi+Ceqn7izQakQqHpub9ei+YeW3PgR41NFXlOplu09o6UYN0mJXkxtikucHTh jWrQ== X-Gm-Message-State: AOAM530Uk/8arSD/Ocqb9Z/Q/oepSj9qdEbQkC3te3YwGddfmBLuXylk d410UahF2sq21ptu6Oe6pv4CaYYSgQ== X-Google-Smtp-Source: ABdhPJzBq4dyr/LjMcPzzNqi9NpagQMJaa5+UL4l0WzUyZBKxALhlz/V/ZnrcvuSt/gMDP88fdtsEA== X-Received: by 2002:a05:622a:87:b0:2fb:c893:2a35 with SMTP id o7-20020a05622a008700b002fbc8932a35mr4274787qtw.94.1653572542165; Thu, 26 May 2022 06:42:22 -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.21 for <u-boot@lists.denx.de> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 May 2022 06:42:21 -0700 (PDT) From: Tom Rini <trini@konsulko.com> To: u-boot@lists.denx.de Subject: [PATCH 10/11] Introduce include/system-constants.h Date: Thu, 26 May 2022 09:42:06 -0400 Message-Id: <20220526134207.3147526-10-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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean |
Series |
[01/11] m68k: Remove dead code
|
expand
|
diff --git a/include/system-constants.h b/include/system-constants.h new file mode 100644 index 000000000000..4fd24f460993 --- /dev/null +++ b/include/system-constants.h @@ -0,0 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __SYSTEM_CONSTANTS_H__ +#define __SYSTEM_CONSTANTS_H__ + +#endif
We have a number of CONFIG symbols today that are of the form: SYM1 = CONST1 + CONST2 or other static math operations (shifts, etc). The issue is that by moving these to Kconfig we no longer have the ability to calculate these values, so they become less flexible and useful. It's also the case that sometimes a platform will just define SYM1 directly or perform a slightly different set of calculations. We introduce this header now to have a place to start to handle these cases. Signed-off-by: Tom Rini <trini@konsulko.com> --- include/system-constants.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 include/system-constants.h