1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-02 01:02:19 +02:00
Files
u-boot-megous/include
Simon Glass 21726a7afc Add assert() for debug assertions
assert() is like BUG_ON() but compiles to nothing unless DEBUG is defined.
This is useful when a condition is an error but a board reset is unlikely
to fix it, so it is better to soldier on in hope. Assertion failures should
be caught during development/test.

It turns out that assert() is defined separately in a few places in U-Boot
with various meanings. This patch cleans up some of these.

Build errors exposed by this change (and defining DEBUG) are also fixed in
this patch.

Signed-off-by: Simon Glass <sjg@chromium.org>
2011-09-10 00:04:01 +02:00
..
2011-08-04 23:34:02 +02:00
2011-08-01 15:19:40 +02:00
2011-08-04 23:34:02 +02:00
2011-08-01 15:19:40 +02:00
2011-07-26 16:34:41 +02:00
2011-09-10 00:04:01 +02:00
2011-07-11 13:24:20 -05:00
2011-08-04 23:30:38 +02:00
2011-08-04 23:34:02 +02:00
2011-08-01 15:19:40 +02:00
2011-05-19 22:22:44 +02:00
2011-04-30 23:29:55 +02:00
2011-08-03 12:49:20 +02:00
2011-09-05 11:41:42 +02:00
2011-09-10 00:04:01 +02:00
2011-04-20 15:09:19 -05:00
2011-02-02 00:54:42 +01:00
2011-07-26 14:10:14 +02:00
2011-03-27 19:19:54 +02:00
2011-07-15 20:29:18 -05:00
2011-08-04 23:34:02 +02:00
2011-08-04 23:34:02 +02:00
2011-08-01 15:19:40 +02:00
2011-08-01 15:19:40 +02:00
2011-07-26 16:29:27 +02:00
2011-06-22 20:00:51 +02:00
2011-04-29 07:32:48 -05:00
2011-08-01 15:19:40 +02:00
2011-08-01 15:19:40 +02:00