boot/arm: bcm2708 cleanup; no functional change
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
* Michael Lotz, [email protected]
|
* Michael Lotz, [email protected]
|
||||||
* François Revol, [email protected]
|
* François Revol, [email protected]
|
||||||
* Alexander von Gluck IV, [email protected]
|
* Alexander von Gluck IV, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -27,20 +27,6 @@
|
|||||||
|
|
||||||
#include "arch_mailbox.h"
|
#include "arch_mailbox.h"
|
||||||
|
|
||||||
/*
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#include <arm_mmu.h>
|
|
||||||
|
|
||||||
#include "arch_mmu.h"
|
|
||||||
|
|
||||||
#include "arch_framebuffer.h"
|
|
||||||
|
|
||||||
#include "bcm2708.h"
|
|
||||||
#include "mailbox.h"
|
|
||||||
|
|
||||||
#include "platform_debug.h"
|
|
||||||
*/
|
|
||||||
|
|
||||||
//XXX
|
//XXX
|
||||||
extern "C" addr_t
|
extern "C" addr_t
|
||||||
|
|||||||
@@ -4,10 +4,11 @@
|
|||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
* Michael Lotz, [email protected]
|
* Michael Lotz, [email protected]
|
||||||
* François Revol, [email protected]
|
* François Revol, [email protected]
|
||||||
* Alexander von Gluck IV, [email protected]
|
* Alexander von Gluck IV, [email protected]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include "arch_mailbox.h"
|
#include "arch_mailbox.h"
|
||||||
|
|
||||||
#include <arch_cpu.h>
|
#include <arch_cpu.h>
|
||||||
@@ -47,7 +48,7 @@ public:
|
|||||||
ArchMailboxArmBCM2708(addr_t base)
|
ArchMailboxArmBCM2708(addr_t base)
|
||||||
:
|
:
|
||||||
ArchMailbox(base) {}
|
ArchMailbox(base) {}
|
||||||
~ArchMailboxArmBCM2708() {}
|
~ArchMailboxArmBCM2708() {}
|
||||||
|
|
||||||
virtual status_t Write(uint8 channel, uint32 value);
|
virtual status_t Write(uint8 channel, uint32 value);
|
||||||
virtual status_t Read(uint8 channel, uint32& value);
|
virtual status_t Read(uint8 channel, uint32& value);
|
||||||
@@ -57,7 +58,7 @@ virtual status_t Read(uint8 channel, uint32& value);
|
|||||||
extern "C" ArchMailbox*
|
extern "C" ArchMailbox*
|
||||||
arch_get_mailbox_arm_bcm2708(addr_t base)
|
arch_get_mailbox_arm_bcm2708(addr_t base)
|
||||||
{
|
{
|
||||||
return new ArchMailboxArmBCM2708(base);
|
return new ArchMailboxArmBCM2708(base);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user