mirror of
https://github.com/drasko/codezero.git
synced 2026-03-11 23:03:15 +01:00
Changes since April
Clean up of build directories. Simplifications to capability model.
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#ifndef __PLATFORM_IRQ_H__
|
||||
#define __PLATFORM_IRQ_H__
|
||||
|
||||
|
||||
/* TODO: Not sure about this, need to check */
|
||||
#define IRQ_CHIPS_MAX 1
|
||||
#define IRQS_MAX 96
|
||||
@@ -32,5 +31,9 @@
|
||||
* 75- 81: Test chip interrupts
|
||||
*/
|
||||
|
||||
/* Range of IRQ numbers used by this platform */
|
||||
#define IRQ_RANGE_START 0
|
||||
#define IRQ_RANGE_END 95
|
||||
|
||||
#endif /* __PLATFORM_IRQ_H__ */
|
||||
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
|
||||
#include <l4/platform/realview/offsets.h>
|
||||
|
||||
#define PLATFORM_DEVICES1_START 0x40000000
|
||||
#define PLATFORM_DEVICES1_END 0x60000000
|
||||
|
||||
/*
|
||||
* Device offsets in physical memory
|
||||
* Naming of devices done starting with 0 subscript,
|
||||
|
||||
@@ -9,4 +9,13 @@
|
||||
|
||||
#include <l4/platform/realview/platform.h>
|
||||
|
||||
#define CLCD_SELECT_BOARD 0
|
||||
#define CLCD_SELECT_TILE 1
|
||||
|
||||
void sri_set_mux(int offset);
|
||||
void clcd_clock_write(u32 freq, int clcd_select);
|
||||
u32 clcd_clock_read(int clcd_select);
|
||||
void clcd_init(void);
|
||||
void kmi_init(void);
|
||||
|
||||
#endif /* __PBA9_PLATFORM_H__ */
|
||||
|
||||
Reference in New Issue
Block a user