> From: Peter Crosthwaite [mailto:crosthwaitepe...@gmail.com] > 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