summaryrefslogtreecommitdiff
path: root/util/kconfig
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: delete unused legacy kconfig implementationJack Rosenthal2021-04-1639-19988/+0
| | | | | | | | | | | | | | | | | | | | | | | This code is currently unused. It was from an effort to bring Kconfig to CrOS EC OS. Our EC will receive Kconfig by means of Zephyr-based devices, making the effort to bring it to the legacy OS likely obsolete. However, if for some reason we want to bring it to the legacy OS in the future, we would probably want to use kconfiglib instead of this C implementation, as Depthcharge and Zephyr have migrated to it, and Coreboot is in the process of migrating to kconfiglib. BUG=none BRANCH=none TEST=make buildall Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: If53d0c6bd752a0adba775b8638a4f612ccb399ef Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2824033 Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
* tree: rename strtoul to strtoull since it is 64-bitJett Rink2020-11-112-2/+2
| | | | | | | | | | | | | | | A long is 32-bit, but a long long is 64-bit. The function name should be strtoull if it is returning 64 bits of data. BRANCH=none BUG=b:172592963 TEST=builds Signed-off-by: Jett Rink <jettrink@chromium.org> Change-Id: I04c40f9256ed37eb1cf9b6bd1b0ef0320fe49b0c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2530874 Commit-Queue: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
* Replace __attribute__((noreturn)) with noreturnTom Hughes2020-08-171-1/+2
| | | | | | | | | | | | | | | _Noreturn was added in C11 and the convenience macro "noreturn" is specified by stdnoreturn.h: https://en.cppreference.com/w/c/language/_Noreturn. BRANCH=none BUG=none TEST=make buildall -j Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I30361bb5290cea1c776a7356f7e3a68edf1f8e39 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2324816 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
* util/kconfig: import linux-5.4.2's kconfigCaveh Jalali2019-12-1439-0/+19987
this imports linux-5.4.2's kconfig utility. the scripts/kconfig (minus the tests directory) is copied over unmodified. BUG=chromium:998891 BRANCH=none TEST=make buildall passes Change-Id: I5ca79929e717f5153975c2a09ffda34a2f744ea6 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1963731 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>