blob: 29b7637e303538aeabfcdf2bc27d96a2827aeb2e [file] [log] [blame]
Jon Smirlbc03df92009-06-14 18:21:28 -04001To build RAMBOOT, replace this section the main Makefile
2
3pcm030_config \
4pcm030_RAMBOOT_config \
5pcm030_LOWBOOT_config: unconfig
6 @ >include/config.h
7 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
8 { echo "TEXT_BASE = 0xFF000000" >board/phytec/pcm030/config.tmp ; \
9 echo "... with LOWBOOT configuration" ; \
10 }
11 @[ -z "$(findstring RAMBOOT_,$@)" ] || \
12 { echo "TEXT_BASE = 0x00100000" >board/phycore_mpc5200b_tiny/\
13 config.tmp ; \
14 echo "... with RAMBOOT configuration" ; \
15 echo "... remember to make sure that MBAR is already \
16 switched to 0xF0000000 !!!" ; \
17 }
18 @$(MKCONFIG) -a pcm030 ppc mpc5xxx pcm030 phytec
19 @ echo "remember to set pcm030_REV to 0 for rev 1245.0 rev or to 1 for rev 1245.1"
20
Jon Smirlbc03df92009-06-14 18:21:28 -040021Alternative SDRAM settings:
22
23#define SDRAM_MODE 0x018D0000
24#define SDRAM_EMODE 0x40090000
25#define SDRAM_CONTROL 0x715f0f00
26#define SDRAM_CONFIG1 0x73722930
27#define SDRAM_CONFIG2 0x47770000
28
29/* Settings for XLB = 99 MHz */
30#define SDRAM_MODE 0x008D0000
31#define SDRAM_EMODE 0x40090000
32#define SDRAM_CONTROL 0x714b0f00
33#define SDRAM_CONFIG1 0x63611730
34#define SDRAM_CONFIG2 0x47670000
35
36The board ships default with the environment in EEPROM
37Moving the environment to flash can be more reliable
38
39#define CONFIG_ENV_IS_IN_FLASH 1
40#define CONFIG_ENV_ADDR (CONFIG_SYS_FLASH_BASE + 0xfe0000)
41#define CONFIG_ENV_SIZE 0x20000
42#define CONFIG_ENV_SECT_SIZE 0x20000