summaryrefslogtreecommitdiff
path: root/src/include/string.h
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-02-11 16:05:50 -0600
committerAaron Durbin <adurbin@chromium.org>2016-02-13 01:16:00 +0100
commitc65b8f128e25346ba01b90cb4f59d07ea84157af (patch)
tree5f402f9295d536f40f78215810fa4d1fdfb5bd45 /src/include/string.h
parentada13ed4cbc519fde092dc54cda21e9d8ad94aa1 (diff)
soc/intel/apollolake: pre-evaluate gpio number values
To allow sharing macros in ASL as well as C the macros can't have complex expression because the ASL compiler does not evaluate those expressions. To that end, just pre-calculate the values. Lastly, add N_OFFSET and utilize it for symmetry. Change-Id: I546d71008e776b27ce8bcd24d2cbd2ee1b2d8020 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/13693 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/include/string.h')
0 files changed, 0 insertions, 0 deletions