/*
 *               Copyright (C) 2005, BroadOn Communications Corp.
 *
 *  These coded instructions, statements, and computer programs contain
 *  unpublished proprietary information of BroadOn Communications Corp.,
 *  and are protected by federal copyright law. They may not be disclosed
 *  to third parties or copied or duplicated in any form, in whole or in
 *  part, without the prior written consent of BroadOn Communications Corp.
 *
 *  Description:
 *      Flash verification test
 *
 */


Source Code
------------

1) Simple check
- fl_simple.c: A simple test that checks the most basic operations

2) Hardware tests
- fl_bitwalk_test.c: Tests for bitwalking the SIZE and AD0 fields
- fl_ecc_test.c: Tests for flash ECC operations
- fl_misc_test.c: Tests for miscellaneous flash operations
- fl_ops_test.c: Tests for read/write/erase/copy operations
- fl_performance_test.c: Tests for measuring performance

3) Power consumption tests
- fl_read.c: Continuous flash reads
- fl_write.c: Continuous flash writes

Public header file flash.h, are located in sw/include/. The tests utilize the
flash library and its header files (fl_ops.h, fl_utils.h)


Environment Variables
---------------------

1) FL_DEBUG_LOG
- Enable logging in the flash device driver
- Otherwise all flPrint, entry, and exit statements become void


Testing
-------

Run the regression tests on the SCE with the following commands:

    make runtests_simple
    make runtests_dv

The tests should stop immediately if something went wrong. Check the output
for any error messages.
