]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/configs/o3dnt.h
Merge branch 'agust@denx.de' of git://git.denx.de/u-boot-staging
[karo-tx-uboot.git] / include / configs / o3dnt.h
1 /*
2  * (C) Copyright 2012
3  * DENX Software Engineering, Anatolij Gustschin <agust@denx.de>
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of
8  * the License, or (at your option) any later version.
9  */
10
11 /*
12  * Valid values for CONFIG_SYS_TEXT_BASE are:
13  * 0xFC000000   boot low boot high (standard configuration)
14  * 0x00100000   boot from RAM (for testing only)
15  */
16 #ifndef CONFIG_SYS_TEXT_BASE
17 #define CONFIG_SYS_TEXT_BASE    0xfc000000      /* Standard: boot low */
18 #endif
19
20 /* Board specific flash config */
21 #define CONFIG_SYS_FLASH_BASE           0xfc000000
22 #define CONFIG_SYS_FLASH_SIZE           0x04000000      /* maximum 64MB */
23 /* max number of sectors on one chip */
24 #define CONFIG_SYS_MAX_FLASH_SECT       512
25
26 /*
27  * Include common defines for all ifm boards
28  */
29 #include "o2dnt-common.h"
30
31 /* Additional commands */
32 #define CONFIG_CMD_BSP
33 #define CONFIG_CMD_REGINFO
34
35 /*
36  * GPIO configuration:
37  * no CAN + no PCI
38  */
39 #define CONFIG_SYS_GPS_PORT_CONFIG      0x0000A000
40
41 /* Other board specific configs */
42 #define CONFIG_SYS_BOOTCS_CFG           0x00057d01
43 #define CONFIG_SYS_RESET_ADDRESS        0xfc000000
44
45 #define CONFIG_SYS_MEMTEST_START        0x00100000      /* memtest works on */
46 #define CONFIG_SYS_MEMTEST_END          0x03f00000      /* 1 - 63 MB in DRAM */
47
48 #define CONFIG_BOARD_NAME               "o3dnt"
49 #define CONFIG_BOARD_BOOTCMD            "run flash_self"
50 #define CONFIG_BOARD_MEM_LIMIT          xstr(62)
51 #define BOARD_POST_CRC32_END            xstr(0x01000000)
52
53 #define CONFIG_EXTRA_ENV_SETTINGS                                       \
54         CONFIG_IFM_DEFAULT_ENV_SETTINGS                                 \
55         CONFIG_IFM_DEFAULT_ENV_OLD                                      \
56         CONFIG_IFM_DEFAULT_ENV_NEW                                      \
57         "linbot=fc060000\0"                                             \
58         "lintop=fc15ffff\0"                                             \
59         "rambot=fc160000\0"                                             \
60         "ramtop=fc55ffff\0"                                             \
61         "jffbot=fc560000\0"                                             \
62         "jfftop=fce5ffff\0"                                             \
63         "ubobot=" xstr(CONFIG_SYS_FLASH_BASE) "\0"                      \
64         "ubotop=fc03ffff\0"                                             \
65         "calname="CONFIG_BOARD_NAME"/uCal_"CONFIG_BOARD_NAME"_act\0"    \
66         "calbot=fce60000\0"                                             \
67         "caltop=fcffffff\0"                                             \
68         "progCal=tftp 200000 ${calname};erase ${calbot} ${caltop};"     \
69                 "cp.b ${fileaddr} ${calbot} ${filesize}\0"              \
70         "kernel_addr=0xfc060000\0"                                      \
71         "ramdisk_addr=0xfc160000\0"                                     \
72         "master=mw f0000b00 0x0005A006;mw f0000b0c ${IOpin};"           \
73                 "mw f0000b04 ${IOpin};mw f0000b10 0x20\0"