summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* mmc: enable partition switch function for emmcLei Wen2011-05-18-5/+71
| | | | | | | | | | | | | | | | | | | 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>
* cmd_mmc: eliminate device num in the mmc commandLei Wen2011-05-18-88/+116
| | | | | | | mmc command applied device, like ide and usb... Signed-off-by: Lei Wen <leiwen@marvell.com> Acked-by: Andy Fleming <afleming@freescale.com>
* mmc_spi: generate response for send status commandThomas Chou2011-05-18-0/+6
| | | | | | | | | | 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>
* Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk2011-05-18-1696/+1287
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '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 ...
| * avr32: add ATAG_BOARDINFOAndreas Bießmann2011-05-18-0/+19
| | | | | | | | | | | | | | | | | | 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>
| * at91: reworked support for otc570 boardDaniel Gorsulowski2011-05-18-164/+211
| | | | | | | | | | | | | | The otc570 board support was broken. Within this opportunity, I completely reworked the board files. Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
| * at91: reworked support for meesc boardDaniel Gorsulowski2011-05-18-1/+2
| | | | | | | | | | | | | | The meesc board support was broken. Within this opportunity, I completely reworked the board files. Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
| * hammerhead: move CONFIG_SYS_TEXT_BASE to headerAndreas Bießmann2011-05-18-1/+1
| | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * mimc200: move CONFIG_SYS_TEXT_BASE to headerAndreas Bießmann2011-05-18-1/+1
| | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * favr-32-ezkit: move CONFIG_SYS_TEXT_BASE to headerAndreas Bießmann2011-05-18-1/+1
| | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * atstk100x: move CONFIG_SYS_TEXT_BASE to headerAndreas Bießmann2011-05-18-1/+4
| | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * atngw100: move CONFIG_SYS_TEXT_BASE to headerAndreas Bießmann2011-05-18-1/+1
| | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * mimc200: fix "#define XXXX 1"Andreas Bießmann2011-05-18-28/+28
| | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * hammerhead: fix "#define XXXX 1"Andreas Bießmann2011-05-18-24/+24
| | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * favr-32-ezkit: fix "#define XXXX 1"Andreas Bießmann2011-05-18-23/+23
| | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * atstk1006: fix "#define XXXX 1"Andreas Bießmann2011-05-18-24/+24
| | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * atstk1004: fix "#define XXXX 1"Andreas Bießmann2011-05-18-21/+21
| | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * atstk1003: fix "#define XXXX 1"Andreas Bießmann2011-05-18-21/+21
| | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * atstk1002: fix "#define XXXX 1"Andreas Bießmann2011-05-18-24/+24
| | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * atngw100: fix "#define XXXX 1"Andreas Bießmann2011-05-18-27/+27
| | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * avr32: use single linker scriptAndreas Bießmann2011-05-18-286/+2
| | | | | | | | | | | | | | 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>
| * avr32/config.mk: simplify PLATFORM_RELFLAGSAndreas Bießmann2011-05-18-5/+2
| | | | | | | | | | | | | | 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>
| * avr32: fix linkingAndreas Bießmann2011-05-18-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes following error: ---8<--- avr32-linux-ld: --gc-sections and -r may not be used together --->8--- Since 8aba9dceebb14144e07d19593111ee3a999c37fc all avr32 boards are broken due to linking error as seen above. Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * Add support for Bluewater Systems Snapper 9260 and 9G20 modulesRyan Mallon2011-05-18-0/+2
| | | | | | | | | | | | | | | | 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>
| * at91: fixed at91sam9263 system fileDaniel Gorsulowski2011-05-18-37/+18
| | | | | | | | Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
| * remove __attribute__ ((packed)) in at91 headersJens Scharsig2011-05-18-8/+8
| | | | | | | | | | | | | | * remove __attribute__ ((packed)) to prevent byte access to soc registers in some gcc version Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
| * at91rm9200: fix lowlevel_init() SMRDATA sizeJens Scharsig2011-05-18-2/+6
| | | | | | | | | | | | | | * 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>
| * AT91: fix timer.c - remove reset_timer()Reinhard Meyer2011-05-18-16/+11
| | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * AT91: fix at91sam_wdt.c to reworked header filesReinhard Meyer2011-05-18-1/+1
| | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * AT91: remove LEGACY from at91_rstc.hReinhard Meyer2011-05-18-25/+0
| | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * ATMEL: fix dataflash (dirty) this file should be converted to struct SoC accessReinhard Meyer2011-05-18-38/+57
| | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * AT91: change includes from asm/arch/io.h to asm/io.hReinhard Meyer2011-05-18-54/+10
| | | | | | | | | | | | and remove the now unused asm/arch-at91/io.h Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * AT91: cleanup at91sam9260_matrix.h to struct SoC accessReinhard Meyer2011-05-18-57/+45
| | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * ATMEL: fix related common atmel driver filesReinhard Meyer2011-05-18-36/+24
| | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * AT91: fix related at91 driver filesReinhard Meyer2011-05-18-37/+47
| | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * AT91: fix related at91 system/driver filesReinhard Meyer2011-05-18-51/+33
| | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * AT91: fix related arch-at91 header filesReinhard Meyer2011-05-18-29/+15
| | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * AT91: cleanup hardware.h, remove memory-map.hReinhard Meyer2011-05-18-100/+32
| | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * AT91: rework at91sam9g45.hReinhard Meyer2011-05-18-118/+107
| | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * AT91: rework at91sam9263.hReinhard Meyer2011-05-18-118/+100
| | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * AT91: rework at91sam9261.hReinhard Meyer2011-05-18-85/+102
| | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * AT91: rework at91sam9260.hReinhard Meyer2011-05-18-120/+132
| | | | | | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
| * avr32: fixup definitions to ATMEL_BASE_xxxAndreas Bießmann2011-05-18-90/+85
| | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
| * avr32: rename memory-map.h -> hardware.hAndreas Bießmann2011-05-18-17/+17
| | | | | | | | Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
* | Merge branch 'master' of git://git.denx.de/u-boot-nand-flashWolfgang Denk2011-05-18-5/+2
|\ \ | | | | | | | | | | | | * 'master' of git://git.denx.de/u-boot-nand-flash: nand_spl: nand_boot.c: Remove last CONFIG_SYS_NAND_READ_DELAY occurance
| * | nand_spl: nand_boot.c: Remove last CONFIG_SYS_NAND_READ_DELAY occuranceStefan Roese2011-05-16-5/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | 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>
* | nios2: Make STANDALONE_LOAD_ADDR configurable per boardThomas Chou2011-05-16-1/+1
|/ | | | | | | | | | | Follow commit 8ae86b76c648d8bef97241c78e2fddb1c4f164d3 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>
* Merge branch 'master' of git://git.denx.de/u-boot-nand-flashWolfgang Denk2011-05-15-26/+17
|\
| * nand_spl: nand_boot.c: Remove CONFIG_SYS_NAND_READ_DELAYStefan Roese2011-05-13-18/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are multiple reasons why this define should be removed: First it saves some space and therefore fixes a problem we have on the canyonlands_nand and glacier_nand targets right now. Second, the define was hackish and would most likely not work on all board using nand_boot.c. Boards not providing a real dev_ready() function should implement a board specific function instead. I checked and it seems, that all boards using nand_boot.c right now already implement a board specific dev_ready() function. So this patch should not break any boards and will result in smaller NAND_SPL images. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Sughosh Ganu <urwithsughosh@gmail.com> Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Tested-by: Sughosh Ganu <urwithsughosh@gmail.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
| * nand_spl: nand_boot.c: Init nand_chip.options to 0Stefan Roese2011-05-13-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Patch 65a9db7b [nand_spl: Fix large page nand_command()] broke nand booting on canyonlands. "options" has to be initialized to 0. If not, boards might have the NAND_BUSWIDTH_16 bit set, resulting in wrong offset calculation. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Scott Wood <scottwood@freescale.com> Cc: Alex Waterman <awaterman@dawning.com> Signed-off-by: Scott Wood <scottwood@freescale.com>