1 #ifndef STARTUP_INC_INCLUDED
2 #define STARTUP_INC_INCLUDED
4 #include <hwregs/asm/reg_map_asm.h>
5 #include <hwregs/asm/bif_core_defs_asm.h>
6 #include <hwregs/asm/gio_defs_asm.h>
7 #include <hwregs/asm/config_defs_asm.h>
10 move.d CONFIG_ETRAX_DEF_GIO_PA_OUT, $r0
14 move.d CONFIG_ETRAX_DEF_GIO_PA_OE, $r0
18 move.d CONFIG_ETRAX_DEF_GIO_PB_OUT, $r0
22 move.d CONFIG_ETRAX_DEF_GIO_PB_OE, $r0
26 move.d CONFIG_ETRAX_DEF_GIO_PC_OUT, $r0
30 move.d CONFIG_ETRAX_DEF_GIO_PC_OE, $r0
34 move.d CONFIG_ETRAX_DEF_GIO_PD_OUT, $r0
38 move.d CONFIG_ETRAX_DEF_GIO_PD_OE, $r0
42 move.d CONFIG_ETRAX_DEF_GIO_PE_OUT, $r0
46 move.d CONFIG_ETRAX_DEF_GIO_PE_OE, $r0
56 REG_STATE(
config, rw_clk_ctrl, fix_io,
yes), $r0
60 .macro SETUP_WAIT_STATES
61 ;; Set
up waitstates etc
63 move.d CONFIG_ETRAX_MEM_GRP1_CONFIG, $r1
66 move.d CONFIG_ETRAX_MEM_GRP2_CONFIG, $r1
69 move.d CONFIG_ETRAX_MEM_GRP3_CONFIG, $r1
72 move.d CONFIG_ETRAX_MEM_GRP4_CONFIG, $r1