diff options
author | Gabe Black <gabeblack@chromium.org> | 2012-10-12 14:26:08 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-22 15:29:55 (GMT) |
commit | 0c9c8fb5ec9c2ec20670dce0c5ff0752371893da (patch) | |
tree | a9f2baf01138067133e57bd2a1d2766f7f88f467 /board/c2mon | |
parent | 24a3fdd64d449c1acd4ccc3636f8bf02e903b6f8 (diff) | |
download | u-boot-0c9c8fb5ec9c2ec20670dce0c5ff0752371893da.tar.xz |
disk: Make the disk partition code work with no specific partition types
Currently, if the disk partition code is compiled with all of the parition
types compiled out, it hits an #error which stops the build. This change
adjusts that file so that those functions will fall through to their defaults
in those cases instead of breaking the build. These functions are needed
because other code calls them, and that code is needed because other config
options are overly broad and bring in support we don't need along with
support we do.
Also reduce repetition of the 6-term #ifdef throughout the file.
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/c2mon')
0 files changed, 0 insertions, 0 deletions