commit | 50ad221ac9132d482d406da53b24359f1ba9cb8e | [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 | 9ca3742f544bd568202eea4e9eb688cf673e69ca [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>