[U-Boot] [PATCH 1/1] pcm051: Supply a bd_ram_ofs for the cpsw driver

Lars Poeschel larsi at wh2.tu-dresden.de
Wed Sep 25 12:21:21 CEST 2013


From: Lars Poeschel <poeschel at lemonage.de>

Since 2bf36ac638ab2db9f0295aa47064976eeebf80c1 the BD ram address is
not hardcoded inside cpsw driver any more. Platforms have to supply
their bd_ram_ofs in the platform data to the driver. With this
commit pcm051 does this.

Signed-off-by: Lars Poeschel <poeschel at lemonage.de>
---
 board/phytec/pcm051/board.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/phytec/pcm051/board.c b/board/phytec/pcm051/board.c
index e40b0bd..dafb1eb 100644
--- a/board/phytec/pcm051/board.c
+++ b/board/phytec/pcm051/board.c
@@ -150,6 +150,7 @@ static struct cpsw_platform_data cpsw_data = {
 	.ale_entries		= 1024,
 	.host_port_reg_ofs	= 0x108,
 	.hw_stats_reg_ofs	= 0x900,
+	.bd_ram_ofs		= 0x2000,
 	.mac_control		= (1 << 5),
 	.control		= cpsw_control,
 	.host_port_num		= 0,
-- 
1.8.4.rc3



More information about the U-Boot mailing list