2 * $Id: hw_settings.S,v 1.3 2005/04/24 18:36:57 starvik Exp $
4 * This table is used by some tools to extract hardware parameters.
5 * The table should be included in the kernel and the decompressor.
6 * Don't forget to update the tools if you change this table.
8 * Copyright (C) 2001 Axis Communications AB
10 * Authors: Mikael Starvik (starvik@axis.com)
13 #include <asm/arch/hwregs/asm/reg_map_asm.h>
14 #include <asm/arch/hwregs/asm/bif_core_defs_asm.h>
15 #include <asm/arch/hwregs/asm/gio_defs_asm.h>
17 .ascii "HW_PARAM_MAGIC" ; Magic number
18 .dword 0xc0004000 ; Kernel start address
21 #ifdef CONFIG_ETRAX_DEBUG_PORT0
23 #elif defined(CONFIG_ETRAX_DEBUG_PORT1)
25 #elif defined(CONFIG_ETRAX_DEBUG_PORT2)
27 #elif defined(CONFIG_ETRAX_DEBUG_PORT3)
34 .dword REG_ADDR(bif_core, regi_bif_core, rw_grp1_cfg)
35 .dword CONFIG_ETRAX_MEM_GRP1_CONFIG
36 .dword REG_ADDR(bif_core, regi_bif_core, rw_grp2_cfg)
37 .dword CONFIG_ETRAX_MEM_GRP2_CONFIG
38 .dword REG_ADDR(bif_core, regi_bif_core, rw_grp3_cfg)
39 .dword CONFIG_ETRAX_MEM_GRP3_CONFIG
40 .dword REG_ADDR(bif_core, regi_bif_core, rw_grp4_cfg)
41 .dword CONFIG_ETRAX_MEM_GRP4_CONFIG
42 .dword REG_ADDR(bif_core, regi_bif_core, rw_sdram_cfg_grp0)
43 .dword CONFIG_ETRAX_SDRAM_GRP0_CONFIG
44 .dword REG_ADDR(bif_core, regi_bif_core, rw_sdram_cfg_grp1)
45 .dword CONFIG_ETRAX_SDRAM_GRP1_CONFIG
46 .dword REG_ADDR(bif_core, regi_bif_core, rw_sdram_timing)
47 .dword CONFIG_ETRAX_SDRAM_TIMING
48 .dword REG_ADDR(bif_core, regi_bif_core, rw_sdram_cmd)
49 .dword CONFIG_ETRAX_SDRAM_COMMAND
51 .dword REG_ADDR(gio, regi_gio, rw_pa_dout)
52 .dword CONFIG_ETRAX_DEF_GIO_PA_OUT
53 .dword REG_ADDR(gio, regi_gio, rw_pa_oe)
54 .dword CONFIG_ETRAX_DEF_GIO_PA_OE
55 .dword REG_ADDR(gio, regi_gio, rw_pb_dout)
56 .dword CONFIG_ETRAX_DEF_GIO_PB_OUT
57 .dword REG_ADDR(gio, regi_gio, rw_pb_oe)
58 .dword CONFIG_ETRAX_DEF_GIO_PB_OE
59 .dword REG_ADDR(gio, regi_gio, rw_pc_dout)
60 .dword CONFIG_ETRAX_DEF_GIO_PC_OUT
61 .dword REG_ADDR(gio, regi_gio, rw_pc_oe)
62 .dword CONFIG_ETRAX_DEF_GIO_PC_OE
63 .dword REG_ADDR(gio, regi_gio, rw_pd_dout)
64 .dword CONFIG_ETRAX_DEF_GIO_PD_OUT
65 .dword REG_ADDR(gio, regi_gio, rw_pd_oe)
66 .dword CONFIG_ETRAX_DEF_GIO_PD_OE
67 .dword REG_ADDR(gio, regi_gio, rw_pe_dout)
68 .dword CONFIG_ETRAX_DEF_GIO_PE_OUT
69 .dword REG_ADDR(gio, regi_gio, rw_pe_oe)
70 .dword CONFIG_ETRAX_DEF_GIO_PE_OE
72 .dword 0 ; No more register values