From f57f70aab9d5ed7964f2f791829a2d780b788a7e Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Thu, 13 Oct 2005 01:45:54 +0200 Subject: Support passing of OF flat trees to the kernel. Patch by Pantelis Antoniou, 04 Sep 2005 --- cpu/arm920t/at91rm9200/ether.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpu/arm920t/at91rm9200/ether.c') diff --git a/cpu/arm920t/at91rm9200/ether.c b/cpu/arm920t/at91rm9200/ether.c index d88517f4b1..ca5b7d198c 100644 --- a/cpu/arm920t/at91rm9200/ether.c +++ b/cpu/arm920t/at91rm9200/ether.c @@ -184,7 +184,7 @@ int eth_init (bd_t * bd) /* Init Ehternet buffers */ for (i = 0; i < RBF_FRAMEMAX; i++) { - rbfdt[i].addr = rbf_framebuf[i]; + rbfdt[i].addr = (unsigned long)rbf_framebuf[i]; rbfdt[i].size = 0; } rbfdt[RBF_FRAMEMAX - 1].addr |= RBF_WRAP; -- cgit v1.2.1