summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2012-10-12 14:26:08 +0000
committerTom Rini <trini@ti.com>2012-10-22 08:29:55 -0700
commit0c9c8fb5ec9c2ec20670dce0c5ff0752371893da (patch)
treea9f2baf01138067133e57bd2a1d2766f7f88f467 /api
parent24a3fdd64d449c1acd4ccc3636f8bf02e903b6f8 (diff)
downloadu-boot-imx-0c9c8fb5ec9c2ec20670dce0c5ff0752371893da.zip
u-boot-imx-0c9c8fb5ec9c2ec20670dce0c5ff0752371893da.tar.gz
u-boot-imx-0c9c8fb5ec9c2ec20670dce0c5ff0752371893da.tar.bz2
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 'api')
0 files changed, 0 insertions, 0 deletions