07 Dec, 2011

1 commit

  • exports.h no longer includes common.h, which contains assert(). qsort.c
    needs to be updated. This fixes this warning:

    qsort.c: In function 'qsort':
    qsort.c:30:3: warning: implicit declaration of function 'assert' [-Wimplicit-function-declaration]

    Signed-off-by: Simon Glass
    Acked-by: Kumar Gala
    Tested-by: Heiko Schocher

    Simon Glass
     

10 Sep, 2011

1 commit

  • 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

    Simon Glass
     

10 Jan, 2011

1 commit


28 Oct, 2010

1 commit


20 Sep, 2010

1 commit