projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ppc: Clean up calling of misc_init_r() during init
[platform/kernel/u-boot.git]
/
include
/
ide.h
diff --git
a/include/ide.h
b/include/ide.h
index
6976a6c
..
ddb9579
100644
(file)
--- a/
include/ide.h
+++ b/
include/ide.h
@@
-26,6
+26,8
@@
#define IDE_BUS(dev) (dev >> 1)
#define IDE_BUS(dev) (dev >> 1)
+#define ATA_CURR_BASE(dev) (CONFIG_SYS_ATA_BASE_ADDR+ide_bus_offset[IDE_BUS(dev)])
+
#ifdef CONFIG_IDE_LED
/*
#ifdef CONFIG_IDE_LED
/*
@@
-38,7
+40,7
@@
#endif /* CONFIG_IDE_LED */
#endif /* CONFIG_IDE_LED */
-#ifdef C
FG
_64BIT_LBA
+#ifdef C
ONFIG_SYS
_64BIT_LBA
typedef uint64_t lbaint_t;
#else
typedef ulong lbaint_t;
typedef uint64_t lbaint_t;
#else
typedef ulong lbaint_t;