]> git.baikalelectronics.ru Git - uboot.git/commit
Introduce include/system-constants.h
authorTom Rini <trini@konsulko.com>
Wed, 25 May 2022 14:16:18 +0000 (10:16 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2022 16:09:13 +0000 (12:09 -0400)
commitb5be87c75aeb2f58abad476a876ca11db7b85d32
tree0c4be0f6c570651471e04fa7bdeb8a8c9223d8a2
parent8b796257b387a636f6c8113e078556b49b82910a
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>
include/system-constants.h [new file with mode: 0644]