Files
u-boot-sunxi/lib
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-05-12 19:30:29 +02:00
2011-01-18 23:38:08 +01:00
2010-11-28 21:58:29 +01:00
2011-07-28 17:22:53 +02:00
2010-04-21 23:42:38 +02:00
2010-09-19 19:29:47 +02:00
2010-11-28 21:56:39 +01:00
2011-09-10 00:04:01 +02:00
2011-09-10 00:04:01 +02:00