commit | c19d13b030e93c6b30f61743e940da8d4418e714 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed May 08 08:06:02 2013 +0000 |
committer | Tom Rini <trini@ti.com> | Tue May 14 15:37:25 2013 -0400 |
tree | 3cff800eb0fb598ba44d62e4adfb85f455db7431 | |
parent | 13d06981a9829c9edcfd6f9f582d216fbaed95e5 [diff] |
arm: Refactor bootm to reduce #ifdefs With fewer #ifdefs the code is more readable and more of the code is compiled for all boards. Add defines in the header file to control what features are enabled, and then use if() instead of #ifdef. Signed-off-by: Simon Glass <sjg@chromium.org>