qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [PATCH 1/8] bcm2835_sbm: add BCM2835 mailboxes


From: Andrew Baumann
Subject: Re: [Qemu-arm] [PATCH 1/8] bcm2835_sbm: add BCM2835 mailboxes
Date: Thu, 24 Dec 2015 00:13:06 +0000

> From: Peter Crosthwaite [mailto:address@hidden
> Sent: Wednesday, 23 December 2015 15:59
> >>> Notice that this file comes from Linux. I know it's not pretty, but
> 
> Where in Linux exactly? I am actually having trouble finding the
> original source. Grepping around linux-next, there is no mach
> bcm-2708. I can see this mach in an rPI specific fork, but I don't see
> it in upstream Linux.

After some grovelling, I think it originates from here:
https://github.com/raspberrypi/linux/blob/rpi-4.1.y/arch/arm/mach-bcm2708/include/mach/arm_control.h

However, there are some diffs between that and my version, which look like they 
originated from someone hacking it to get each line under 80 characteres (to 
satisfy checkpatch.pl?). This rather defeats the purpose of keeping it 
unmodified.

As far as I can tell, we only need the mailbox-related defs. I'll just pull 
those out into the relevant device emulation, and drop the file.

Andrew

reply via email to

[Prev in Thread] Current Thread [Next in Thread]