summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKim Phillips <[email protected]>2013-02-04 11:16:26 -0600
committerKim Phillips <[email protected]>2013-02-04 11:16:26 -0600
commit9a32084ea0cf55d22384f083002ee9932e074f31 (patch)
tree726a2ee288654832876f3e81ff5f1d356e784e13 /examples
parent8f171a56b58e2e89d0e5e995f074f774c2d64bc3 (diff)
parent2d795c9621de274cb0cb8cf4af5941293f89c3be (diff)
Merge branch 'master' of git://git.denx.de/u-boot
Diffstat (limited to 'examples')
-rw-r--r--examples/standalone/mem_to_mem_idma2intr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/standalone/mem_to_mem_idma2intr.c b/examples/standalone/mem_to_mem_idma2intr.c
index d0a75eadfd1..e466c904a78 100644
--- a/examples/standalone/mem_to_mem_idma2intr.c
+++ b/examples/standalone/mem_to_mem_idma2intr.c
@@ -356,7 +356,7 @@ uint dpalloc (uint size, uint align)
/* Pointer to initial global data area */
if (dpinit_done == 0) {
- dpbase = gd->dp_alloc_base;
+ dpbase = gd->arch.dp_alloc_base;
dpinit_done = 1;
}
@@ -369,7 +369,7 @@ uint dpalloc (uint size, uint align)
if ((off = size & align_mask) != 0)
size += align - off;
- if ((dpbase + size) >= gd->dp_alloc_top) {
+ if ((dpbase + size) >= gd->arch.dp_alloc_top) {
dpbase = savebase;
printf ("dpalloc: ran out of dual port ram!");
return 0;