2 * $Id: hw_settings.S,v 1.1 2001/12/17 13:59:27 bjornw 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 #define PA_SET_VALUE ((CONFIG_ETRAX_DEF_R_PORT_PA_DIR << 8) | \
14 (CONFIG_ETRAX_DEF_R_PORT_PA_DATA))
15 #define PB_SET_VALUE ((CONFIG_ETRAX_DEF_R_PORT_PB_CONFIG << 16) | \
16 (CONFIG_ETRAX_DEF_R_PORT_PB_DIR << 8) | \
17 (CONFIG_ETRAX_DEF_R_PORT_PB_DATA))
19 .ascii "HW_PARAM_MAGIC" ; Magic number
20 .dword 0xc0004000 ; Kernel start address
23 #ifdef CONFIG_ETRAX_DEBUG_PORT0
25 #elif defined(CONFIG_ETRAX_DEBUG_PORT1)
27 #elif defined(CONFIG_ETRAX_DEBUG_PORT2)
29 #elif defined(CONFIG_ETRAX_DEBUG_PORT3)
36 #ifdef CONFIG_ETRAX_SDRAM
44 .dword CONFIG_ETRAX_DEF_R_WAITSTATES
46 .dword CONFIG_ETRAX_DEF_R_BUS_CONFIG
47 #ifdef CONFIG_ETRAX_SDRAM
49 .dword CONFIG_ETRAX_DEF_R_SDRAM_CONFIG
51 .dword CONFIG_ETRAX_DEF_R_SDRAM_TIMING
54 .dword CONFIG_ETRAX_DEF_R_DRAM_CONFIG
56 .dword CONFIG_ETRAX_DEF_R_DRAM_TIMING
62 .dword 0 ; No more register values