aboutsummaryrefslogtreecommitdiff
path: root/include/ide.h
diff options
context:
space:
mode:
authorSimon Glass2023-04-25 10:54:26 -0600
committerTom Rini2023-04-27 13:51:06 -0400
commit14a4f52b0d1b561ce52c4590bdd339497dfd5be5 (patch)
treec3d2fc6d850f88e11ce087cfc58e8e02f3171098 /include/ide.h
parentcaf0a88d9f317aecada0cece5d7f9df371058805 (diff)
ide: Move ATA_CURR_BASE to C file
This is not used outside one C file. Move it out of the header to reduce its visbility. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/ide.h')
-rw-r--r--include/ide.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/ide.h b/include/ide.h
index 426cef4e39e..58f6640c61b 100644
--- a/include/ide.h
+++ b/include/ide.h
@@ -11,9 +11,6 @@
#define IDE_BUS(dev) (dev / (CONFIG_SYS_IDE_MAXDEVICE / CONFIG_SYS_IDE_MAXBUS))
-#define ATA_CURR_BASE(dev) (CONFIG_SYS_ATA_BASE_ADDR+ide_bus_offset[IDE_BUS(dev)])
-extern ulong ide_bus_offset[];
-
/*
* Function Prototypes
*/