Skip to contentSkip to conversation

mach-realview: expose PB1176 ROM using physmap and map_rom

PATCH New Linus Walleij 3 participants 4 messages Sep 6, 2011 – Sep 19, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 mach-realview: expose PB1176 ROM using physmap and map_rom

From: Linus Walleij <[email protected]>

This exposes the PB1176 ROM if you compile in the MTD physmap mapping and also the map_rom chiptype.

---
 arch/arm/mach-realview/include/mach/board-pb1176.h |    1 +
 arch/arm/mach-realview/realview_pb1176.c           |   45 ++++++++++++++++----
 2 files changed, 38 insertions(+), 8 deletions(-)
arch/arm/mach-realview/include/mach/board-pb1176.h +1 -0
index 002ab5d..2a15fef 100644
@@ -70,6 +70,7 @@
 
 #define REALVIEW_DC1176_GIC_CPU_BASE		0x10120000 /* GIC CPU interface, on devchip */
 #define REALVIEW_DC1176_GIC_DIST_BASE		0x10121000 /* GIC distributor, on devchip */
+#define REALVIEW_DC1176_ROM_BASE		0x10200000 /* 16KiB NRAM preudo-ROM, on devchip */
 #define REALVIEW_PB1176_GIC_CPU_BASE		0x10040000 /* GIC CPU interface, on FPGA */
 #define REALVIEW_PB1176_GIC_DIST_BASE		0x10041000 /* GIC distributor, on FPGA */
 #define REALVIEW_PB1176_L220_BASE		0x10110000 /* L220 registers */
arch/arm/mach-realview/realview_pb1176.c +37 -8

72 lines not on this page · raw message

Signature · 1 line
1.7.3.2
#1 lore raw

PATCH v4 1/1 mach-realview: expose PB1176 ROM using physmap and map_rom

Quoted 6 lines · Linus Walleij

From: Linus Walleij <[email protected]>

This exposes the PB1176 ROM if you compile in the MTD physmap mapping and also the map_rom chiptype.

I think this should go in via the corresponding arm subtree.

Signature · 2 lines
Best Regards,
Artem Bityutskiy
#2 lore raw

PATCH v4 1/1 mach-realview: expose PB1176 ROM using physmap and map_rom

Quoted 9 lines · Artem Bityutskiy
Quoted 6 lines · Linus Walleij

From: Linus Walleij <[email protected]>

This exposes the PB1176 ROM if you compile in the MTD physmap mapping and also the map_rom chiptype.

I think this should go in via the corresponding arm subtree.

Sure, but I think we need some nod from the MTD people that this is the right way to present a ROM, so is that an Acked-by?

Yours,
Linus Walleij

#3 lore raw

PATCH v4 1/1 mach-realview: expose PB1176 ROM using physmap and map_rom

Quoted 7 lines · Linus Walleij
Quoted 6 lines · Artem Bityutskiy
Quoted 5 lines · Linus Walleij

From: Linus Walleij <[email protected]>

This exposes the PB1176 ROM if you compile in the MTD physmap mapping and also the map_rom chiptype.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I think this should go in via the corresponding arm subtree.

Sure, but I think we need some nod from the MTD people that this is the right way to present a ROM, so is that an Acked-by?

Signature · 2 lines
Best Regards,
Artem Bityutskiy