diff mbox series

[10/11] Introduce include/system-constants.h

Message ID 20220526134207.3147526-10-trini@konsulko.com
State Accepted
Commit 42c6141d379c0458cbacfb166b4a2d4cd8817325
Delegated to: Tom Rini
Headers show
Series [01/11] m68k: Remove dead code | expand

Commit Message

Tom Rini May 26, 2022, 1:42 p.m. UTC
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
diff mbox series

Patch

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