aboutsummaryrefslogtreecommitdiff
path: root/disk/part_amiga.c
diff options
context:
space:
mode:
authorSimon Glass2022-08-11 19:34:44 -0600
committerTom Rini2022-09-16 11:05:00 -0400
commitfc614d2044a41ce98588f591349ac0f8c1c43ff6 (patch)
tree6241b5ed4a1ebd84165a149b1a9df80b2d359dda /disk/part_amiga.c
parent1bbfdc575cdaf3afde6485b204d95b26ad2c5677 (diff)
disk: Use Makefile to omit partition drivers
At present these files have an #ifdef covering the whole file. Move the condition to the Makefile instead. Add BLK to the condition since future patches will adjust things so that HAVE_BLOCK_DEVICE is only for SPL, but the partition drivers are needed in U-Boot proper too. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'disk/part_amiga.c')
-rw-r--r--disk/part_amiga.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/disk/part_amiga.c b/disk/part_amiga.c
index ac7ada54781..45d3a704866 100644
--- a/disk/part_amiga.c
+++ b/disk/part_amiga.c
@@ -11,8 +11,6 @@
#include "part_amiga.h"
#include <part.h>
-#ifdef CONFIG_HAVE_BLOCK_DEVICE
-
#undef AMIGA_DEBUG
#ifdef AMIGA_DEBUG
@@ -387,5 +385,3 @@ U_BOOT_PART_TYPE(amiga) = {
.print = part_print_amiga,
.test = part_test_amiga,
};
-
-#endif