| /******************************************************************************* |
| * Copyright (C) 2016, ZXIC Corporation. |
| * |
| * File Name: |
| * File Mark: |
| * Description: |
| * Others: |
| * Version: v1.0 |
| * Author: zhouqi |
| * Date: 2013-4-2 |
| * History 1: |
| * Date: |
| * Version: |
| * Author: |
| * Modification: |
| * History 2: |
| ********************************************************************************/ |
| #ifndef __CPU_H__ |
| #define __CPU_H__ |
| #include <config.h> |
| |
| |
| #define SYS_BOOTSEL_BASE 0x0013b004 |
| |
| #define SYS_IRAM0_BASE 0x82000000 /* 120k */ |
| #define SYS_IRAM1_BASE 0x100000 /* 64k *//* for A9 start */ |
| #define SYS_IRAM2_BASE 0x80000 /* 64k */ |
| |
| #define CPU_A9_SUBSYS_CFG 0x013B138 /* for A9 reset */ |
| #define CPU_UFI_SW_RSTEN 0xf |
| |
| #define CORE_OUTPUT_SWITCH_CONFIG_REG (0x0013a000 + 0x0AC) |
| #define CORE_OUTPUT_SW_CONFIG_REG1 (0x0013a000 + 0x0B8) |
| #define CORE_OUTPUT_SW_CONFIG_REG2 (0x0013a000 + 0x0BC) |
| |
| #define USB_RESET (0x0013B080) |
| |
| extern void timer_init(void); |
| |
| |
| #endif /*__CPU_H__*/ |