depthcharge: Add a list_for_each macro.

This makes it easier to walk through a list without having a lot of
boilerplate code.

BUG=chrome-os-partner:17340
TEST=Built and booted into depthcharge on Snow. Verified that uncommitted code
that parses a FIT image was able to iterate through lists correctly to parse
the, print out its structure, etc.
BRANCH=None

Change-Id: Ie9d508fdb10ab4a1b3c7b11ea22ebe8e094a6800
Signed-off-by: Gabe Black <gabeblack@google.com>
1 file changed
tree: 9833708d9dcfb4873892138178f44c54a20ccd4a
  1. board/
  2. src/
  3. util/
  4. .gitignore
  5. Kconfig
  6. Makefile
  7. Makefile.inc
  8. PRESUBMIT.cfg