[U-Boot] [PATCH] powerpc/corenet_ds: Change CONFIG_SYS_DCSRBAR_PHYS
Trübenbach, Ralf
Ralf.Truebenbach at men.de
Mon May 2 14:59:03 CEST 2011
This patch changes DCSR's 36 bit physical address from F_0000_0000
to F_F000_0000.
Most 36bit physical addresses (except SDRAM/PCI MEM...) are at
F_0000_0000 + <32BIT_ADDR>. To be consistent we should
change CONFIG_SYS_DCSRBAR_PHYS.
Tested at P4080_DS eval board.
Signed-off-by: Ralf Trübenbach <ralf.truebenbach at men.de>
Cc: Kumar Gala <kumar.gala at freescale.com>
Cc: Andy Fleming <afleming at gmail.com>
---
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index d1cda15..a80aeac 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -134,9 +134,11 @@
#endif
#define CONFIG_SYS_IMMR CONFIG_SYS_CCSRBAR /* PQII uses CONFIG_SYS_IMMR */
-#ifdef CONFIG_PHYS_64BIT
#define CONFIG_SYS_DCSRBAR 0xf0000000
-#define CONFIG_SYS_DCSRBAR_PHYS 0xf00000000ull
+#ifdef CONFIG_PHYS_64BIT
+#define CONFIG_SYS_DCSRBAR_PHYS 0xff0000000ull
+#else
+#define CONFIG_SYS_DCSRBAR_PHYS CONFIG_SYS_DCSRBAR
#endif
/* EEPROM */
--
Best Regards/Mit freundlichen Gruessen
Ralf Trübenbach
------------------------------------------------------------------------
Ralf Trübenbach, Software Design
MEN Mikro Elektronik GmbH
Neuwieder Straße 5-7
90411 Nürnberg, Germany
Phone +49-911-99 33 5-0
Fax +49-911-99 33 5-910
Ralf.Truebenbach at men.de
www.men.de
MEN Mikro Elektronik GmbH - Manfred Schmitz (CTO), Udo Fuchs (CFO)
- Handelsregister/Trade Register AG Nürnberg HRB 5540
More information about the U-Boot
mailing list