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:
Gedare Bloom
2011-11-27 17:30:11 +00:00
parent 0f653ba984
commit cc3b482bc0
2 changed files with 11 additions and 3 deletions

View File

@@ -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

View File

@@ -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)