summaryrefslogtreecommitdiff
path: root/include/system-constants.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-05-25 17:16:18 +0300
committerTom Rini <trini@konsulko.com>2022-06-06 19:09:13 +0300
commit42c6141d379c0458cbacfb166b4a2d4cd8817325 (patch)
tree0c4be0f6c570651471e04fa7bdeb8a8c9223d8a2 /include/system-constants.h
parentbe131adb8d1a0b414688c60d47fbe9525d243d79 (diff)
downloadu-boot-42c6141d379c0458cbacfb166b4a2d4cd8817325.tar.xz
Introduce include/system-constants.h
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>
Diffstat (limited to 'include/system-constants.h')
-rw-r--r--include/system-constants.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/system-constants.h b/include/system-constants.h
new file mode 100644
index 0000000000..4fd24f4609
--- /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