Skip to content
Commit cd01d2d5 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent d8a3f525
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment