diff options
author | Julius Werner <jwerner@chromium.org> | 2016-05-19 13:15:16 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-04-10 10:42:45 +0000 |
commit | f5b76fe9e9dc179cc0e29f724d132e530f88b401 (patch) | |
tree | 907c3ce978dc5fe83c965e02e84e4be710a442b6 /payloads/libpayload/Kconfig | |
parent | 651d8dd4f6562e1176d87b7dfe7210507a622f55 (diff) | |
download | coreboot-f5b76fe9e9dc179cc0e29f724d132e530f88b401.tar.xz |
libpayload: Fix CONFIG_LP_DEBUG_MALLOC for 64-bit archs
New compilers are a little more stringent about defining the same
prototype more than once, so some of our CONFIG_LP_DEBUG_MALLOC wrappers
don't quite work the way they are written anymore. Also, several of the
printf()s weren't written 64-bit safe. And let's add some
double-evaluation safety while I'm here anyway... and I have no idea why
this ever depended on CONFIG_LP_USB, that just seems like a typo.
Change-Id: Ib54ebc3cfba99f372690365b78c7ceb372c0bd45
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/14921
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'payloads/libpayload/Kconfig')
-rw-r--r-- | payloads/libpayload/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/payloads/libpayload/Kconfig b/payloads/libpayload/Kconfig index fd967c1a52..5dce89ae6f 100644 --- a/payloads/libpayload/Kconfig +++ b/payloads/libpayload/Kconfig @@ -415,7 +415,6 @@ menu "Debugging" config DEBUG_MALLOC bool "Debug memory allocator" - depends on USB default n help Select this option if you want to debug the memory allocator. This |