diff options
author | Simon Glass <sjg@chromium.org> | 2016-07-04 17:58:13 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-07-15 02:40:24 (GMT) |
commit | e24091398d50961ece2fcb2924d7c37d329abc09 (patch) | |
tree | 21e3eee7ed96675e87c22bcfc93e0a686923def4 /drivers/core/device.c | |
parent | 162a7a421718a2d15716a78ffb7abb1d94f6b03a (diff) | |
download | u-boot-fsl-qoriq-e24091398d50961ece2fcb2924d7c37d329abc09.tar.xz |
tiny-printf: Support assert()
At present assert() is not supported with tiny-printf, so when DEBUG is
enabled a build error is generated for each assert().
Add an __assert_fail() function to correct this. It prints a message and
then hangs.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/core/device.c')
0 files changed, 0 insertions, 0 deletions