u-boot/board
Marek Vasut 97334c6616 arm: mx5: Avoid hardcoding memory sizes on M53EVK
The DRAM size can be easily detected at runtime on i.MX53. Implement
such detection on M53EVK and adjust the rest of the macros accordingly
to use the detected values.

An important thing to note here is that we had to override the function
for trimming the effective DRAM address, get_effective_memsize(). That
is because the function uses CONFIG_MAX_MEM_MAPPED as the upper bound of
the available DRAM and we don't have gd->bd->bi_dram[0].size set up at
the time the function is called, thus we cannot put this into the macro
CONFIG_MAX_MEM_MAPPED . Instead, we use custom override where we use the
size of the first DRAM block which we just detected.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
2014-03-31 18:28:51 +02:00
..
8dtech/eco5pk
a3m071
a4m072
a3000
adder
afeb9260
ait/cam_enc_4xx arm: make _end compiler-generated 2014-02-26 21:18:09 +01:00
alphaproject/ap_sh4a_4a
altera Move #ifdef(CONFIG_DISPLAY_CPUINFO) from caller to callee 2014-02-19 11:10:05 -05:00
amcc
AndesTech
armadeus/apf27
armltd arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
astro/mcf5373l
atc
atmark-techno/armadillo-800eva
atmel
avionic-design dts: move device tree sources to arch/$(ARCH)/dts/ 2014-02-19 11:10:05 -05:00
avnet
balloon3
barco/titanium
Barix/ipam390 arm: make _end compiler-generated 2014-02-26 21:18:09 +01:00
bc3450
bct-brettl2 kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
bf506f-ezkit
bf518f-ezbrd kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
bf525-ucr2
bf526-ezbrd kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
bf527-ad7160-eval kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
bf527-ezkit kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
bf527-sdp kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
bf533-ezkit kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
bf533-stamp kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
bf537-minotaur
bf537-pnav
bf537-srv1
bf537-stamp kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
bf538f-ezkit kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
bf548-ezkit kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
bf561-acvilon kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
bf561-ezkit kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
bf609-ezkit net/designware - switch driver to phylib usage 2014-02-07 09:16:46 -05:00
blackstamp
blackvme
bluegiga/apx4devkit
bluewater/snapper9260
boundary/nitrogen6x Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' 2014-02-19 12:04:45 +01:00
br4 kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
broadcom/bcm28155_ap board: bcm28155_ap: Add board files 2014-02-22 19:30:45 +01:00
buffalo/lsxl
BuR drivers: net: cpsw: add support to have phy address from cpsw platform data 2014-03-04 09:41:53 -05:00
BuS
calao
canmb
CarMediaLab/flea3
chromebook-x86/coreboot x86: coreboot: delete unused coreboot/config.mk 2014-02-24 10:56:33 -05:00
cloudengines/pogo_e02
cm-bf527 kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
cm-bf533 kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
cm-bf537e kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
cm-bf537u kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
cm-bf548 blackfin: Add <asm/clock.h> to numerous drivers 2014-02-20 12:00:27 -05:00
cm-bf561 kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
cm41xx arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
cm4008 arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
cm5200
cmi
cobra5272
cogent board: delete unused header files 2014-01-24 16:59:07 -05:00
comelit/dig297
compal/paz00 dts: move device tree sources to arch/$(ARCH)/dts/ 2014-02-19 11:10:05 -05:00
compulab drivers: net: cpsw: add support to have phy address from cpsw platform data 2014-03-04 09:41:53 -05:00
congatec/cgtqmx6eval
corscience/tricorder
cpc45
cpu86
cpu87
cray/L1 kbuild: use scripts/Makefile.clean 2014-02-19 11:10:04 -05:00
creative/xfi3
csb272 Remove obsolete _LINUX_CONFIG_H macro 2014-01-24 16:59:07 -05:00
csb472 Remove obsolete _LINUX_CONFIG_H macro 2014-01-24 16:59:07 -05:00
cu824
d-link/dns325
dave
davedenx
davinci arm: make _end compiler-generated 2014-02-26 21:18:09 +01:00
dbau1x00
denx arm: mx5: Avoid hardcoding memory sizes on M53EVK 2014-03-31 18:28:51 +02:00
dnp5370
earthlcd/favr-32-ezkit
egnite/ethernut5
eltec
emk
enbw/enbw_cmc
ep82xxm
ep8248
ep8260
esd board: delete meaningless serial.h 2014-01-24 16:59:21 -05:00
esg/ima3-mx53
espt
esteem192e
etin board: delete unused header files 2014-01-24 16:59:07 -05:00
eukrea
evb64260 board: delete meaningless serial.h 2014-01-24 16:59:21 -05:00
eXalion
exmeritus/hww1u1a
fads config: remove platform CONFIG_SYS_HZ definition part 3 2014-02-19 10:46:26 -05:00
faraday/a320evb
flagadm
freescale arm: mx5: Avoid hardcoding memory sizes on MX53QSB 2014-03-31 18:28:51 +02:00
funkwerk/vovpn-gw
g2000
gaisler
galaxy5200
gateworks/gw_ventana ventana: Add Gateworks Ventana family support 2014-03-12 10:23:03 +01:00
gdsys
gen860t
genesi/mx51_efikamx
genietv board: delete unused header files 2014-01-24 16:59:07 -05:00
gw8260
h2200 kbuild: change out-of-tree build 2014-02-19 11:07:50 -05:00
hale/tt01
hermes
hidden_dragon board: delete unused header files 2014-01-24 16:59:07 -05:00
highbank
htkw/mcx omap3: fix pinmux for mcx board 2014-02-21 13:55:41 -05:00
hymod kbuild: rename OBJCFLAGS to OBJCOPYFLAGS 2014-02-25 11:01:28 -05:00
ibf-dsp561
icecube
icpdas/lp8x4x
icu862
idmr
ids8247
ifm
imgtec/malta
imx31_phycore
in-circuit/grasshopper
incaip
inka4x0 board: delete unused header files 2014-01-24 16:59:07 -05:00
intercontrol/digsy_mtc
iomega/iconnect
ip04 kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
ip860
ipek01
iphase4539
isee drivers: net: cpsw: add support to have phy address from cpsw platform data 2014-03-04 09:41:53 -05:00
ispan
ivm
jornada
jse
jupiter
karo
keymile Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-02-17 14:22:02 -05:00
kmc/kzm9g
korat
kup
LaCie
LEOX/elpt860
logicpd
lubbock
lwmon
lwmon5
manroland
Marvell board: delete meaningless serial.h 2014-01-24 16:59:21 -05:00
matrix_vision kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
mbx8xx
mcc200
micronas/vct
mimc/mimc200
miromico/hammerhead
mosaixtech/icon
motionpro
mousse
mpc8308_p1m
mpl arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
mpr2
ms7720se
ms7722se
ms7750se
muas3001
munices
musenki
mvblue
netphone
netta
netta2
netvia
nokia/rx51 Move #ifdef(CONFIG_DISPLAY_CPUINFO) from caller to callee 2014-02-19 11:10:05 -05:00
nvidia venice2: move device tree to fix build error 2014-02-20 12:00:20 -05:00
nx823
olimex/mx23_olinuxino
omicron/calimain
openrisc/openrisc-generic
overo
palmld
palmtc
palmtreo680
pandora
pb1x00
pcs440ep kbuild: change out-of-tree build 2014-02-19 11:07:50 -05:00
pdm360ng
phytec drivers: net: cpsw: add support to have phy address from cpsw platform data 2014-03-04 09:41:53 -05:00
pm520
pm826
pm828
ppcag/bg0900
ppmc7xx
ppmc8260
pr1 kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
prodrive board: delete meaningless serial.h 2014-01-24 16:59:21 -05:00
psyent
pxa255_idp
qemu-mips
quad100hd
quantum
r360mpi
raidsonic/ib62x0
raspberrypi/rpi_b
rattler
rbc823
renesas
ronetix
RPXClassic
RPXlite
RPXlite_dw
rpxsuper
RRvision
rsdproto
sacsng
samsung arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
sandbox/sandbox lib: time: add weak timer_init() function 2014-01-24 16:59:06 -05:00
sandburst board: sandburst: delete FORCEBUILD 2014-02-19 11:10:04 -05:00
sandisk/sansa_fuze_plus
sandpoint board: delete unused header files 2014-01-24 16:59:07 -05:00
sbc405
sbc8349
sbc8548
sbc8641d
sc3 Remove obsolete _LINUX_CONFIG_H macro 2014-01-24 16:59:07 -05:00
scb9328
schulercontrol/sc_sps_1
Seagate
sheldon/simpc8313
shmin
siemens arm: am335x: DXR2: Reset SMSC LAN9303 switch via GPIO upon bootup 2014-03-04 09:42:07 -05:00
silica/pengwyn drivers: net: cpsw: add support to have phy address from cpsw platform data 2014-03-04 09:41:53 -05:00
sixnet
snmc
socrates
solidrun hummingboard: Return from cpu_eth_init() directly 2014-02-11 11:24:11 +01:00
spc1920
spd8xx
spear kbuild: add dummy obj-y to create built-in.o 2014-02-19 11:07:50 -05:00
st/nhk8815
st-ericsson kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
stx
svm_sc8xx
synopsys axs101: fix dw gmac instantiation for updated dw gmac driver 2014-02-21 07:54:05 -05:00
syteco
t3corp
taskit/stamp9g20
tcm-bf518 kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
tcm-bf537 kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
technexion
teejet/mt_ventoux
ti ARM: AM43xx: Add Ethernet boot support to SPL 2014-03-04 09:42:07 -05:00
timll
toradex dts: move device tree sources to arch/$(ARCH)/dts/ 2014-02-19 11:10:05 -05:00
total5200
tqc
trizepsiv
ttcontrol/vision2
udoo
utx8245
v37
v38b
ve8313
vpac270 arm: make _end compiler-generated 2014-02-26 21:18:09 +01:00
w7o Remove obsolete _LINUX_CONFIG_H macro 2014-01-24 16:59:07 -05:00
wandboard wandboard: Include <input.h> 2014-03-05 12:23:48 +01:00
woodburn
xaeniax
xes
xilinx Merge branch 'u-boot/master' into 'u-boot-arm/master' 2014-02-20 13:16:05 +01:00
zeus
zipitz2
zpc1900