MCC200: set default configuration to low_boot DDR,

and support for configurable options high_boot and/or SDRAM.
This commit is contained in:
Wolfgang Denk 2006-07-23 22:40:51 +02:00
parent fd27996dac
commit 4819fad905
4 changed files with 32 additions and 10 deletions

View File

@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4: Changes since U-Boot 1.1.4:
====================================================================== ======================================================================
* MCC200: set default configuration to low_boot DDR,
and support for configurable options high_boot and/or SDRAM.
* Add support for 256 MB SDRAM on CPU87 * Add support for 256 MB SDRAM on CPU87
Patch by Josef Wagner, 25 Nov 2005 Patch by Josef Wagner, 25 Nov 2005

View File

@ -323,13 +323,25 @@ lite5200b_LOWBOOT_config: unconfig
@./mkconfig -a IceCube ppc mpc5xxx icecube @./mkconfig -a IceCube ppc mpc5xxx icecube
mcc200_config \ mcc200_config \
mcc200_lowboot_config: unconfig mcc200_SDRAM \
mcc200_highboot \
mcc200_highboot_SDRAM: unconfig
@ >include/config.h @ >include/config.h
@[ -z "$(findstring lowboot_,$@)" ] || \ @[ -n "$(findstring highboot,$@)" ] || \
{ echo "TEXT_BASE = 0xFC000000" >board/mcc200/config.tmp ; \ { echo "... with lowboot configuration" ; \
echo "... with lowboot configuration" ; \
} }
@./mkconfig mcc200 ppc mpc5xxx mcc200 @[ -z "$(findstring highboot,$@)" ] || \
{ echo "TEXT_BASE = 0xFFF00000" >board/mcc200/config.tmp ; \
echo "... with highboot configuration" ; \
}
@[ -n "$(findstring _SDRAM,$@)" ] || \
{ echo "... with DDR" ; \
}
@[ -z "$(findstring _SDRAM,$@)" ] || \
{ echo "#define CONFIG_MCC200_SDRAM" >>include/config.h ; \
echo "... with SDRAM" ; \
}
@./mkconfig -a mcc200 ppc mpc5xxx mcc200
o2dnt_config: o2dnt_config:
@./mkconfig o2dnt ppc mpc5xxx o2dnt @./mkconfig o2dnt ppc mpc5xxx o2dnt

View File

@ -26,16 +26,18 @@
# #
# Valid values for TEXT_BASE are: # Valid values for TEXT_BASE are:
# #
# 0xFFF00000 boot high (standard configuration) # 0xFC000000 boot low (standard configuration)
# 0xFE000000 boot low # 0xFFF00000 boot high
# 0x00100000 boot from RAM (for testing only) # 0x00100000 boot from RAM (for testing only)
# #
sinclude $(TOPDIR)/board/$(BOARDDIR)/config.tmp sinclude $(TOPDIR)/board/$(BOARDDIR)/config.tmp
ifndef TEXT_BASE ifndef TEXT_BASE
## Standard: boot high ## Standard: boot low
TEXT_BASE = 0xFFF00000 TEXT_BASE = 0xFC000000
## Boot high
# TEXT_BASE = 0xFFF00000
## For testing: boot from RAM ## For testing: boot from RAM
# TEXT_BASE = 0x00100000 # TEXT_BASE = 0x00100000
endif endif

View File

@ -32,7 +32,12 @@
/* #include "mt48lc8m32b2-6-7.h" */ /* #include "mt48lc8m32b2-6-7.h" */
/* One MT48LC16M32S2 for 64 MB */ /* One MT48LC16M32S2 for 64 MB */
#include "mt48lc16m32s2-75.h" /* #include "mt48lc16m32s2-75.h" */
#if defined (CONFIG_MCC200_SDRAM)
#include "mt48lc16m16a2-75.h"
#else
#include "mt46v16m16-75.h"
#endif
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;