summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2020-07-07 14:40:25 -0600
committerCommit Bot <commit-bot@chromium.org>2020-07-10 01:29:45 +0000
commitbf7c46cfad31de55f62133c1e19c4d9e5e92d799 (patch)
tree061bbbfea81e6ee3ac1c682a14a623025e5b34a6 /builtin
parentcf1ced5987f008a617ebd5655d3bd350486e0425 (diff)
downloadchrome-ec-bf7c46cfad31de55f62133c1e19c4d9e5e92d799.tar.gz
third_party/incbin: Add public domain incbin
Add the public domain incbin library used to include binary files directly into C code. The UNLICENSE file confirms the code can be treated as unencumbered. BUG=none BRANCH=none TEST=make buildall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I6107737cdb5a94e71e5325943b2d1d2627659f85 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2289214 Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/limits.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/builtin/limits.h b/builtin/limits.h
new file mode 100644
index 0000000000..5cbfa3e6d1
--- /dev/null
+++ b/builtin/limits.h
@@ -0,0 +1,11 @@
+/* Copyright 2020 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef __CROS_EC_LIMITS_H_
+#define __CROS_EC_LIMITS_H_
+
+#define ULONG_MAX 0xffffffffu
+
+#endif /* __CROS_EC_LIMITS_H_ */