2 * This table is used by some tools to extract hardware parameters.
3 * The table should be included in the kernel and the decompressor.
4 * Don't forget to update the tools if you change this table.
6 * Copyright (C) 2001 Axis Communications AB
8 * Authors: Mikael Starvik (starvik@axis.com)
11 #define PA_SET_VALUE ((CONFIG_ETRAX_DEF_R_PORT_PA_DIR << 8) | \
12 (CONFIG_ETRAX_DEF_R_PORT_PA_DATA))
13 #define PB_SET_VALUE ((CONFIG_ETRAX_DEF_R_PORT_PB_CONFIG << 16) | \
14 (CONFIG_ETRAX_DEF_R_PORT_PB_DIR << 8) | \
15 (CONFIG_ETRAX_DEF_R_PORT_PB_DATA))
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 #ifdef CONFIG_ETRAX_SDRAM
42 .dword CONFIG_ETRAX_DEF_R_WAITSTATES
44 .dword CONFIG_ETRAX_DEF_R_BUS_CONFIG
45 #ifdef CONFIG_ETRAX_SDRAM
47 .dword CONFIG_ETRAX_DEF_R_SDRAM_CONFIG
49 .dword CONFIG_ETRAX_DEF_R_SDRAM_TIMING
52 .dword CONFIG_ETRAX_DEF_R_DRAM_CONFIG
54 .dword CONFIG_ETRAX_DEF_R_DRAM_TIMING
60 .dword 0 ; No more register values