projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pantheon: define CONFIG_SYS_CACHELINE_SIZE
[oweals/u-boot.git]
/
disk
/
part.c
diff --git
a/disk/part.c
b/disk/part.c
index 2b63db6c75f00f1b951f9bbf28dcbaab72929f82..f07a17feb8a0e5e03663d986754e346779efe0ad 100644
(file)
--- a/
disk/part.c
+++ b/
disk/part.c
@@
-81,13
+81,13
@@
block_dev_desc_t *get_dev(char* ifname, int dev)
char *name;
name = drvr->name;
char *name;
name = drvr->name;
-#if
ndef CONFIG_RELOC_FIXUP_WORKS
+#if
def CONFIG_NEEDS_MANUAL_RELOC
name += gd->reloc_off;
#endif
name += gd->reloc_off;
#endif
- while (name) {
+ while (
drvr->
name) {
name = drvr->name;
reloc_get_dev = drvr->get_dev;
name = drvr->name;
reloc_get_dev = drvr->get_dev;
-#if
ndef CONFIG_RELOC_FIXUP_WORKS
+#if
def CONFIG_NEEDS_MANUAL_RELOC
name += gd->reloc_off;
reloc_get_dev += gd->reloc_off;
#endif
name += gd->reloc_off;
reloc_get_dev += gd->reloc_off;
#endif