Fabio Estevam and Andy Fleming
1ed60d7ade
fsl_esdhc: Initialize mmc->b_max
...
commit 262951(MMC: make b_max unconditional) missed to update fsl_esdhc.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com >
Acked-by: Stefano Babic <sbabic@denx.de >
2011-05-18 14:37:45 -05:00
Lei Wen and Andy Fleming
bc897b1d4d
mmc: enable partition switch function for emmc
...
For emmc, it may have up to 7 partitions: two boot partitions, one
user partition, one RPMB partition and four general purpose partitions.
(Refer to JESD84-A44.pdf/page 154)
As bootloader may need to read out or reflashing images on those
different partitions, it is better to enable the partition switch with
console command support.
Also for partition would be restore to user partition(part 0) when CMD0
is used, so change mmc_init routine to perform normal initialization
only once for each slot, unless use the rescan command to force init
again.
Signed-off-by: Lei Wen <leiwen@marvell.com >
Acked-by: Andy Fleming <afleming@freescale.com >
2011-05-18 14:37:03 -05:00
Lei Wen and Andy Fleming
ea6ebe2177
cmd_mmc: eliminate device num in the mmc command
...
mmc command applied device, like ide and usb...
Signed-off-by: Lei Wen <leiwen@marvell.com >
Acked-by: Andy Fleming <afleming@freescale.com >
2011-05-18 14:36:35 -05:00
Thomas Chou and Andy Fleming
ed018b21d6
mmc_spi: generate response for send status command
...
A "send status" command is added with the commit "mmc: checking
status after commands with R1b response". But the status register
returned from send status command of SPI protocol is different from
that of MMC/SD protocol. We do a simple test and generate a response
in stead of full bit-by-bit translation.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw >
2011-05-18 14:30:34 -05:00
Wolfgang Denk
0ea91423f4
Merge branch 'master' of git://git.denx.de/u-boot-arm
...
* 'master' of git://git.denx.de/u-boot-arm: (40 commits)
avr32: add ATAG_BOARDINFO
at91: reworked support for otc570 board
at91: reworked support for meesc board
hammerhead: move CONFIG_SYS_TEXT_BASE to header
mimc200: move CONFIG_SYS_TEXT_BASE to header
favr-32-ezkit: move CONFIG_SYS_TEXT_BASE to header
atstk100x: move CONFIG_SYS_TEXT_BASE to header
atngw100: move CONFIG_SYS_TEXT_BASE to header
mimc200: fix "#define XXXX 1"
hammerhead: fix "#define XXXX 1"
favr-32-ezkit: fix "#define XXXX 1"
atstk1006: fix "#define XXXX 1"
atstk1004: fix "#define XXXX 1"
atstk1003: fix "#define XXXX 1"
atstk1002: fix "#define XXXX 1"
atngw100: fix "#define XXXX 1"
avr32: use single linker script
avr32/config.mk: simplify PLATFORM_RELFLAGS
avr32: fix linking
Add support for Bluewater Systems Snapper 9260 and 9G20 modules
...
2011-05-18 14:31:56 +02:00
Wolfgang Denk
ce6400a0f8
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
...
* 'master' of git://git.denx.de/u-boot-nand-flash:
nand_spl: nand_boot.c: Remove last CONFIG_SYS_NAND_READ_DELAY occurance
2011-05-18 14:30:31 +02:00
Andreas Bießmann and Albert ARIBAUD
24890f1198
avr32: add ATAG_BOARDINFO
...
This patch adds a new ATAG_BORADINFO to U-Boot. This tag is intended to hand
over the bd->bi_board_number to the linux kernel for early stage board
information like a board revision or other kind of board specific decisions
necessary before the linux peripherial drivers are up.
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:54 +02:00
Daniel Gorsulowski and Albert ARIBAUD
a950c81851
at91: reworked support for otc570 board
...
The otc570 board support was broken. Within this opportunity, I completely
reworked the board files.
Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu >
2011-05-18 07:56:54 +02:00
Daniel Gorsulowski and Albert ARIBAUD
89ce8f73c6
at91: reworked support for meesc board
...
The meesc board support was broken. Within this opportunity, I completely
reworked the board files.
Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu >
2011-05-18 07:56:54 +02:00
Andreas Bießmann and Albert ARIBAUD
15cc55ac93
hammerhead: move CONFIG_SYS_TEXT_BASE to header
...
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:54 +02:00
Andreas Bießmann and Albert ARIBAUD
d85edc7c18
mimc200: move CONFIG_SYS_TEXT_BASE to header
...
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:54 +02:00
Andreas Bießmann and Albert ARIBAUD
8e218a9997
favr-32-ezkit: move CONFIG_SYS_TEXT_BASE to header
...
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:54 +02:00
Andreas Bießmann and Albert ARIBAUD
47293c18ba
atstk100x: move CONFIG_SYS_TEXT_BASE to header
...
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:54 +02:00
Andreas Bießmann and Albert ARIBAUD
da48437230
atngw100: move CONFIG_SYS_TEXT_BASE to header
...
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:54 +02:00
Andreas Bießmann and Albert ARIBAUD
2607ecf26e
mimc200: fix "#define XXXX 1"
...
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:54 +02:00
Andreas Bießmann and Albert ARIBAUD
bf018332ec
hammerhead: fix "#define XXXX 1"
...
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:54 +02:00
Andreas Bießmann and Albert ARIBAUD
eacbfe7d75
favr-32-ezkit: fix "#define XXXX 1"
...
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:53 +02:00
Andreas Bießmann and Albert ARIBAUD
09d623cdfd
atstk1006: fix "#define XXXX 1"
...
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:53 +02:00
Andreas Bießmann and Albert ARIBAUD
4de58bcb1a
atstk1004: fix "#define XXXX 1"
...
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:53 +02:00
Andreas Bießmann and Albert ARIBAUD
38a3939869
atstk1003: fix "#define XXXX 1"
...
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:53 +02:00
Andreas Bießmann and Albert ARIBAUD
e3e8d46342
atstk1002: fix "#define XXXX 1"
...
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:53 +02:00
Andreas Bießmann and Albert ARIBAUD
b78431a43d
atngw100: fix "#define XXXX 1"
...
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:53 +02:00
Andreas Bießmann and Albert ARIBAUD
bb7dc6af20
avr32: use single linker script
...
This patch move the atstk100x linker script to $(CPUDIR) and delete other
pure copies of this file in each board directory.
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:53 +02:00
Andreas Bießmann and Albert ARIBAUD
758472cc7b
avr32/config.mk: simplify PLATFORM_RELFLAGS
...
This patch removes PLATFORM_RELFLAGS from board specific config.mk files and
define them in arch specific config.mk file.
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:53 +02:00
Andreas Bießmann and Albert ARIBAUD
c8e7ddd4c6
avr32: fix linking
...
This patch fixes following error:
---8<---
avr32-linux-ld: --gc-sections and -r may not be used together
--->8---
Since 8aba9dceeb all avr32 boards are broken due
to linking error as seen above.
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:52 +02:00
Ryan Mallon and Albert ARIBAUD
74cd9777f8
Add support for Bluewater Systems Snapper 9260 and 9G20 modules
...
Add support for Bluewater Systems AT91 based Snapper 9260 and 9G20
single board computer modules. Includes NAND flash and Ethernet
support.
Signed-off-by: Ryan Mallon <ryan@bluewatersys.com >
2011-05-18 07:56:52 +02:00
Daniel Gorsulowski and Albert ARIBAUD
1069a5cf30
at91: fixed at91sam9263 system file
...
Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu >
2011-05-18 07:56:52 +02:00
Jens Scharsig and Albert ARIBAUD
673678eacf
remove __attribute__ ((packed)) in at91 headers
...
* remove __attribute__ ((packed)) to prevent byte access
to soc registers in some gcc version
Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de >
2011-05-18 07:56:52 +02:00
Jens Scharsig and Albert ARIBAUD
ce26582606
at91rm9200: fix lowlevel_init() SMRDATA size
...
* use start/end label for initialization tables instead of fix values
Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de >
Acked-by: Andreas Bießmann <andreas.devel@googlemail.com >
2011-05-18 07:56:52 +02:00
Reinhard Meyer and Albert ARIBAUD
cfff263f41
AT91: fix timer.c - remove reset_timer()
...
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de >
2011-05-18 07:56:52 +02:00
Reinhard Meyer and Albert ARIBAUD
7f6ed7ff7c
AT91: fix at91sam_wdt.c to reworked header files
...
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de >
2011-05-18 07:56:51 +02:00
Reinhard Meyer and Albert ARIBAUD
50f750022b
AT91: remove LEGACY from at91_rstc.h
...
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de >
2011-05-18 07:56:51 +02:00
Reinhard Meyer and Albert ARIBAUD
a0cfd18876
ATMEL: fix dataflash (dirty) this file should be converted to struct SoC access
...
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de >
2011-05-18 07:56:51 +02:00
Reinhard Meyer and Albert ARIBAUD
86592f6059
AT91: change includes from asm/arch/io.h to asm/io.h
...
and remove the now unused asm/arch-at91/io.h
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de >
2011-05-18 07:56:51 +02:00
Reinhard Meyer and Albert ARIBAUD
60af568038
AT91: cleanup at91sam9260_matrix.h to struct SoC access
...
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de >
2011-05-18 07:56:51 +02:00
Reinhard Meyer and Albert ARIBAUD
329f0f52fa
ATMEL: fix related common atmel driver files
...
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de >
2011-05-18 07:56:51 +02:00
Reinhard Meyer and Albert ARIBAUD
372f2783a7
AT91: fix related at91 driver files
...
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de >
2011-05-18 07:56:51 +02:00
Reinhard Meyer and Albert ARIBAUD
9f3fe90f09
AT91: fix related at91 system/driver files
...
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de >
2011-05-18 07:56:51 +02:00
Reinhard Meyer and Albert ARIBAUD
83f1072e06
AT91: fix related arch-at91 header files
...
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de >
2011-05-18 07:56:51 +02:00
Reinhard Meyer and Albert ARIBAUD
405e5919f2
AT91: cleanup hardware.h, remove memory-map.h
...
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de >
2011-05-18 07:56:50 +02:00
Reinhard Meyer and Albert ARIBAUD
4b1f9b1b36
AT91: rework at91sam9g45.h
...
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de >
2011-05-18 07:56:50 +02:00
Reinhard Meyer and Albert ARIBAUD
09aca70fa4
AT91: rework at91sam9263.h
...
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de >
2011-05-18 07:56:50 +02:00
Reinhard Meyer and Albert ARIBAUD
5e5925930b
AT91: rework at91sam9261.h
...
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de >
2011-05-18 07:56:50 +02:00
Reinhard Meyer and Albert ARIBAUD
aa0f5ef20d
AT91: rework at91sam9260.h
...
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de >
2011-05-18 07:56:50 +02:00
Andreas Bießmann and Albert ARIBAUD
f4278b716c
avr32: fixup definitions to ATMEL_BASE_xxx
...
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:50 +02:00
Andreas Bießmann and Albert ARIBAUD
5d73bc7af7
avr32: rename memory-map.h -> hardware.h
...
Signed-off-by: Andreas Bießmann <biessmann@corscience.de >
2011-05-18 07:56:50 +02:00
Thomas Chou and Scott McNutt
e09e083f7f
nios2: Make STANDALONE_LOAD_ADDR configurable per board
...
Follow commit 8ae86b76c6
which changed the variable name.
Fix this error,
nios2-elf-ld: invalid hex number `-o'
Signed-off-by: Thomas Chou <thomas@wytron.com.tw >
Signed-off-by: Scott McNutt <smcnutt@psyent.com >
2011-05-16 21:00:43 -04:00
Stefan Roese and Scott Wood
e29816f330
nand_spl: nand_boot.c: Remove last CONFIG_SYS_NAND_READ_DELAY occurance
...
Remove the last CONFIG_SYS_NAND_READ_DELAY occurance from nand_boot.c.
I missed this one in patch a9c847cb [nand_spl: nand_boot.c: Remove
CONFIG_SYS_NAND_READ_DELAY].
This fixes a compile breakage on kilauea_nand for example.
Signed-off-by: Stefan Roese <sr@denx.de >
Cc: Scott Wood <scottwood@freescale.com >
Signed-off-by: Scott Wood <scottwood@freescale.com >
2011-05-16 14:10:19 -05:00
Wolfgang Denk
535abb96fb
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
2011-05-15 23:23:36 +02:00
Wolfgang Denk
77467e2560
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
2011-05-15 23:20:10 +02:00