commit | e1277ff4963ddde63e98dcfb5e97a0bdb1e505fd | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Dec 29 21:19:10 2019 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Jan 07 16:02:38 2020 -0700 |
tree | 2a3d8bd57ffb38fe0c015ab0b86e758fab00e25c | |
parent | fefee5500b139aff1cef6ffee8cc9847817a312d [diff] |
common: Add a noisy assert() Some U-Boot code uses BUG_ON() and WARN_ON() macros. These use __FILE__ which can include quite a large path, depending on how U-Boot is built. The existing assert() is only checked if DEBUG is enabled. Add a new one which is always checked, and prints a (smaller) error in that case. Signed-off-by: Simon Glass <sjg@chromium.org>