forked from Imagelibrary/rtems
2011-11-27 Sebastien Bourdeauducq <seb@tmplab.org>
PR 1970/bsps * include/system_conf.h: Support for the new Milkymist sysctl and clock frequency detection.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2011-11-27 Sebastien Bourdeauducq <seb@tmplab.org>
|
||||
|
||||
PR 1970/bsps
|
||||
* include/system_conf.h: Support for the new Milkymist sysctl and clock
|
||||
frequency detection.
|
||||
|
||||
2011-11-27 Sebastien Bourdeauducq <seb@tmplab.org>
|
||||
|
||||
PR 1966/bsps
|
||||
|
||||
@@ -15,9 +15,11 @@
|
||||
#ifndef __SYSTEM_CONFIG_H_
|
||||
#define __SYSTEM_CONFIG_H_
|
||||
|
||||
#define CPU_FREQUENCY (80000000)
|
||||
#define UART_BAUD_RATE (115200)
|
||||
|
||||
/* Clock frequency */
|
||||
#define MM_FREQUENCY (0xe0001074)
|
||||
|
||||
/* FML bridge */
|
||||
#define FMLBRG_FLUSH_BASE (0xc8000000)
|
||||
#define FMLBRG_LINE_LENGTH (32)
|
||||
@@ -65,10 +67,10 @@
|
||||
#define GPIO_LED2 (0x00000002)
|
||||
|
||||
/* System ID and reset */
|
||||
#define MM_SYSTEM_ID (0xe000103c)
|
||||
#define MM_SYSTEM_ID (0xe000107c)
|
||||
|
||||
/* ICAP */
|
||||
#define MM_ICAP (0xe0001034)
|
||||
#define MM_ICAP (0xe0001040)
|
||||
|
||||
#define ICAP_READY (0x01)
|
||||
#define ICAP_CE (0x10000)
|
||||
|
||||
Reference in New Issue
Block a user