commit | cd01d2d595bae3db60a0b222912ea875dd0687c8 | [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 | d8a3f5259a36e76d1de127f65714c40918e8ee4c [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>