disk: define HAVE_BLOCK_DEVICE in a common place
authorStephen Warren <swarren@nvidia.com>
Thu, 28 Feb 2013 15:03:46 +0000 (15:03 +0000)
committerTom Warren <twarren@nvidia.com>
Thu, 14 Mar 2013 18:06:44 +0000 (11:06 -0700)
commit2c1af9dcdcf4ede8d153c0918beca9067ec0eb36
tree8f86cd1e5d351a6a731d8cbc0699b321941f46f4
parenta885f85214dcd358b29a2ffe69ab4f9b515b95e9
disk: define HAVE_BLOCK_DEVICE in a common place

This set of ifdefs is used in a number of places. Move its definition
somewhere common so it doesn't have to be repeated.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Tom Rini <trini@ti.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
disk/part.c
disk/part_amiga.c
disk/part_dos.c
disk/part_efi.c
disk/part_iso.c
disk/part_mac.c
include/config_fallbacks.h