diff options
author | Simon Glass | 2019-12-29 21:19:10 -0700 |
---|---|---|
committer | Simon Glass | 2020-01-07 16:02:38 -0700 |
commit | cd01d2d595bae3db60a0b222912ea875dd0687c8 (patch) | |
tree | 2a3d8bd57ffb38fe0c015ab0b86e758fab00e25c /drivers/core | |
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>
Diffstat (limited to 'drivers/core')
0 files changed, 0 insertions, 0 deletions