aboutsummaryrefslogtreecommitdiff
path: root/include/ide.h
diff options
context:
space:
mode:
authorSimon Glass2023-04-25 10:54:29 -0600
committerTom Rini2023-04-27 13:51:06 -0400
commit00a79f21c1c178d312635b96035da6aa48eb5321 (patch)
treefbfb36f244923bb4c3dd3c5f5d2210645cf25a5e /include/ide.h
parent091785110031efe1f417a727ac7db68f2beb3116 (diff)
ide: Drop init for not using BLK
ALl boards use CONFIG_BLK now so this code is not used. Drop it and the header-file #ifdef Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/ide.h')
-rw-r--r--include/ide.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/ide.h b/include/ide.h
index 9c0d40364a8..457f275c61b 100644
--- a/include/ide.h
+++ b/include/ide.h
@@ -18,17 +18,10 @@
void ide_init(void);
struct blk_desc;
struct udevice;
-#ifdef CONFIG_BLK
ulong ide_read(struct udevice *dev, lbaint_t blknr, lbaint_t blkcnt,
void *buffer);
ulong ide_write(struct udevice *dev, lbaint_t blknr, lbaint_t blkcnt,
const void *buffer);
-#else
-ulong ide_read(struct blk_desc *block_dev, lbaint_t blknr, lbaint_t blkcnt,
- void *buffer);
-ulong ide_write(struct blk_desc *block_dev, lbaint_t blknr, lbaint_t blkcnt,
- const void *buffer);
-#endif
#if defined(CONFIG_OF_IDE_FIXUP)
int ide_device_present(int dev);