On Tuesday 21 April 2015 11:09:52 Eric Anholt wrote:
+
+DT_MACHINE_START(BCM2836, BCM2836)
+ .map_io = bcm2836_map_io,
+ .init_irq = irqchip_init,
+ .init_machine = bcm2835_init,
+ .restart = bcm2835_restart,
+ .dt_compat = bcm2836_compat
+MACHINE_END
I've
On Tuesday 21 April 2015 16:02:19 Eric Anholt wrote:
Hard to know. Does anything reference BCM2835_PERIPH_VIRT? Does it work
if you remove it?
Well, that's clear enough. It dies early with:
Uncompressing Linux... done, booting the kernel.
[0.00] Booting Linux on physical CPU 0xf00
On Tuesday 21 April 2015 11:09:52 Eric Anholt wrote:
+static struct map_desc bcm2836_io_map __initdata = {
+ .virtual = BCM2835_PERIPH_VIRT,
+ .pfn = __phys_to_pfn(BCM2836_PERIPH_PHYS),
+ .length = BCM2835_PERIPH_SIZE,
+ .type = MT_DEVICE
+};
+
static void __init
---
arch/arm/mach-bcm/board_bcm2835.c | 30 --
1 file changed, 28 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-bcm/board_bcm2835.c
b/arch/arm/mach-bcm/board_bcm2835.c
index 70f2f39..69f5821 100644
--- a/arch/arm/mach-bcm/board_bcm2835.c
+++
On Tuesday 21 April 2015 13:37:13 Eric Anholt wrote:
Arnd Bergmann a...@arndb.de writes:
On Tuesday 21 April 2015 11:09:52 Eric Anholt wrote:
+static struct map_desc bcm2836_io_map __initdata = {
+ .virtual = BCM2835_PERIPH_VIRT,
+ .pfn = __phys_to_pfn(BCM2836_PERIPH_PHYS),
Arnd Bergmann a...@arndb.de writes:
On Tuesday 21 April 2015 13:37:13 Eric Anholt wrote:
Arnd Bergmann a...@arndb.de writes:
On Tuesday 21 April 2015 11:09:52 Eric Anholt wrote:
+static struct map_desc bcm2836_io_map __initdata = {
+ .virtual = BCM2835_PERIPH_VIRT,
+ .pfn
Arnd Bergmann a...@arndb.de writes:
On Tuesday 21 April 2015 11:09:52 Eric Anholt wrote:
+static struct map_desc bcm2836_io_map __initdata = {
+ .virtual = BCM2835_PERIPH_VIRT,
+ .pfn = __phys_to_pfn(BCM2836_PERIPH_PHYS),
+ .length = BCM2835_PERIPH_SIZE,
+ .type =