1
2
3
4
5
6
7
8
9#ifndef __CONFIGS_SC_SPS_1_H__
10#define __CONFIGS_SC_SPS_1_H__
11
12
13#define CONFIG_MX28
14#define CONFIG_MACH_TYPE MACH_TYPE_SC_SPS_1
15
16
17
18
19#define CONFIG_NR_DRAM_BANKS 1
20#define PHYS_SDRAM_1 0x40000000
21#define PHYS_SDRAM_1_SIZE 0x40000000
22#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
23
24
25#define CONFIG_ENV_SIZE (16 * 1024)
26
27
28#if defined(CONFIG_CMD_MMC) && defined(CONFIG_ENV_IS_IN_MMC)
29#define CONFIG_ENV_OFFSET (256 * 1024)
30#define CONFIG_SYS_MMC_ENV_DEV 0
31#endif
32
33
34#ifdef CONFIG_CMD_NET
35#define CONFIG_FEC_MXC
36#define CONFIG_PHY_SMSC
37#endif
38
39
40#ifdef CONFIG_CMD_USB
41#define CONFIG_EHCI_MXS_PORT0
42#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
43#endif
44
45
46#define CONFIG_BOOTFILE "uImage"
47#define CONFIG_BOOTCOMMAND "bootm"
48#define CONFIG_LOADADDR 0x42000000
49#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
50
51
52#define CONFIG_EXTRA_ENV_SETTINGS \
53 "update_sd_firmware_filename=u-boot.sd\0" \
54 "update_sd_firmware=" \
55 "if mmc rescan ; then " \
56 "if tftp ${update_sd_firmware_filename} ; then " \
57 "setexpr fw_sz ${filesize} / 0x200 ; " \
58 "setexpr fw_sz ${fw_sz} + 1 ; " \
59 "mmc write ${loadaddr} 0x800 ${fw_sz} ; " \
60 "fi ; " \
61 "fi\0"
62
63
64#include <configs/mxs.h>
65
66#endif
67