summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* NAND: Fix warning due to missing env_ptr casts to u_char * in env_nand.c.Marcel Ziswiler2008-07-09-4/+4
| | | | | | | | | | The writeenv() and readenv() calls introduced by the recently added bad block management for environment variables were missing casts therefore producing compile time warnings. While at it fixing some typo in a comment and indentation. Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
* NAND: Rename DEBUG to MTDDEBUG to avoid namespace pollution.Scott Wood2008-07-09-90/+132
| | | | | | | | | This is particularly problematic now that non-NAND-specific code is including <nand.h>, and thus all debugging code is being compiled regardless of whether it was requested, as reported by Scott McNutt <smcnutt@psyent.com>. Signed-off-by: Scott Wood <scottwood@freescale.com>
* Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-07-07-20/+30
|\
| * Merge branch 'master' of git://www.denx.de/git/u-boot-at91Wolfgang Denk2008-07-07-20/+30
| |\
| | * [AT91SAM9] Fix NAND FLASH timingsPatrice Vilchez2008-07-05-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix NAND FLASH timings for at91sam9x evaluation kits. New timings are based on application note "NAND Flash Support on AT91SAM9 Microcontrollers" available at http://atmel.com/dyn/resources/prod_documents/doc6255.pdf Signed-off-by: Patrice Vilchez <patice.vilchez@atmel.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Stelian Pop <stelian@popies.net>
| | * Fix boot from NOR due to incorrect reset delay.Stelian Pop2008-07-05-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AT91 RSTC registers are battery-backuped, so their values are not reset across power cycles. One of those registers, the AT91_RSTC_MR register, is being modified by U-Boot, in the ethernet initialisation routine, to generate a 500ms user reset. Unfortunately, this value is not being restored afterwards, causing subsequent resets to also last for 500ms. This long reset sequence causes problems (at least) in the boot sequence from NOR: by the time the CPU tries to load a program from the NOR flash, the latter is still in reset and not yet available. Additionaly, this patch fixes a bug in the original code which caused the reset delay to last for 2s instead of 500ms. Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | | SH: fix out of tree buildingWolfgang Denk2008-07-07-11/+14
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | | Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-07-07-22/+129
|\ \ \ | |/ /
| * | Merge branch 'master' of git://www.denx.de/git/u-boot-avr32Wolfgang Denk2008-07-07-22/+129
| |\ \
| | * | avr32: Enable SPI flash support on ATNGW100Haavard Skinnemoen2008-06-20-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The ATNGW100 has 8MB DataFlash on board. Give users access to it through the new SPI flash framework. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
| | * | avr32: Fix SPI portmux initializationHaavard Skinnemoen2008-06-20-22/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the new GPIO manipulation functions to set up the chip select lines, and make sure both busses use GPIO for chip select control. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
| | * | avr32: Add GPIO manipulation functionsPeter Ma2008-06-20-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds GPIO manipulation functions for AVR32 AP7 platform. Signed-off-by: Peter Ma <pma@mediamatech.com> [haavard.skinnemoen@atmel.com: coding style fixup, slight simplification] Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
* | | | Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2008-07-07-1/+12
|\ \ \ \ | |/ / /
| * | | Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xxWolfgang Denk2008-07-07-4/+16
| |\ \ \
| | * | | update mvBL-M7 board configAndre Schwarz2008-07-03-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update mvBL-M7 config file to use UBOOT_VERSION. Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | fix non-working mvBL-M7Andre Schwarz2008-06-25-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing #define CONFIG_HIGH_BATS in mvBL-M7 board config file. Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | fix system config overwrite @ MPC834x and MPC8313Andre Schwarz2008-06-25-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During 83xx setup the "System I/O configuration register high" gets overwritten with user defined value if CFG_SICRH is defined. Regarding to the MPC834x manual (Table 5-28 reve.1) bits 28+29 of SICRH must keep their reset value regardless of configuration. On my board (using RGMII) those bits are set after reset - yet it's unclear where they come from. The patch keeps both bits on MPC834x and MPC8313. Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
| | * | | mpc83xx: move CPU_TYPE_ENTRY over to processor.hKim Phillips2008-06-25-1/+7
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to avoid this: cpu.c:47:1: warning: "CPU_TYPE_ENTRY" redefined In file included from cpu.c:33: /home/kim/git/u-boot/include/asm/processor.h:982:1: warning: this is the location of the previous definition Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* | | | net: smc911x: Fix typoNobuhiro Iwamatsu2008-07-07-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
* | | | update mvBL-M7 board configAndre Schwarz2008-07-07-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | update mvBL-M7 config file to use UBOOT_VERSION and define CONFIG_HIGH_BATS. Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de>
* | | | net: fix compile problem in smc911x driver.Nobuhiro Iwamatsu2008-07-07-2/+2
|/ / / | | | | | | | | | | | | Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Acked-by: Ben Warren <biggerbadderben@gmail.com>
* | | ppc4xx: Rename CONFIG_XILINX_ML300 to CONFIG_XILINX_405Michal Simek2008-07-06-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | This change helps with better handling with others Xilinx based platform. Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Stefan Roese <sr@denx.de>
* | | include/sha256.h: fix file permissions.Wolfgang Denk2008-07-06-0/+0
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | | Merge branch 'master' of ssh+git://mercury.denx.de/home/wd/git/u-boot/masterWolfgang Denk2008-07-06-551/+5990
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: board/amirix/ap1000/serial.c board/exbitgen/exbitgen.c board/exbitgen/flash.c board/ml2/serial.c board/xilinx/ml300/serial.c Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | Update CHANGELOGWolfgang Denk2008-07-04-0/+264
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | CCM/SCM boards: fix out of tree buildingWolfgang Denk2008-07-04-2/+2
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | SCM board: fix build errors.Wolfgang Denk2008-07-03-3/+10
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | IAD210 board: fix ``"ALIGN" redefined'' warning.Wolfgang Denk2008-07-03-3/+2
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | CCM board: fix build errors.Wolfgang Denk2008-07-03-2/+9
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | sacsng board: fix warnings "suggest explicit braces to avoid ambiguous 'else'"Wolfgang Denk2008-07-03-4/+8
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | Cleanup: fix "expected specifier-qualifier-list before 'phys_size_t'" errorsWolfgang Denk2008-07-03-6/+6
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | lmb: fix "implicit declaration of function 'lmb_free'" warningWolfgang Denk2008-07-03-1/+2
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | Cleanup: remove redundant deleting on *~ filesWolfgang Denk2008-07-02-15/+15
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | Cleanup out-or-tree building for some boards (.depend)Wolfgang Denk2008-07-02-256/+256
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | Cleanup: fix out-of-tree building for some boardsWolfgang Denk2008-07-02-54/+106
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | Cleanup: replace hard-wired $(AR) 'crv' settings by $(ARFLAGS)Wolfgang Denk2008-07-02-15/+15
| | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | fdt: Fix typo in variable name.Detlev Zundel2008-07-02-2/+2
| | | | | | | | | | | | Signed-off-by: Detlev Zundel <dzu@denx.de>
| * | Add logos for RRvision boardGary Jennejohn2008-07-02-0/+0
| | | | | | | | | | | | Signed-off-by: Gary Jennejohn <garyj@denx.de>
| * | mpc8260: add fdt_fixup_ethernet supportEsben Haabendal2008-07-01-0/+5
| | | | | | | | | | | | | | | | | | | | | Add support for updating mac-address and local-mac-address in fdt for all MPC8260 targets. Signed-off-by: Esben Haabendal <eha@doredevelopment.dk>
| * | cmd_nvedit.c: clean up syntax highlightingSteven A. Falco2008-07-01-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | My text-editor (vim) has a bit of trouble syntax-highlighting the cmd_nvedit.c file, because it apparently does not parse C ifdef/else/endif. The following patch does not change the behavior of the code at all, but does allow the editor to properly syntax-highlight the file. Signed-off-by: Steve Falco <sfalco@harris.com>
| * | Make setenv() return statusSteven A. Falco2008-07-01-7/+7
| | | | | | | | | | | | | | | | | | | | | Currently, the setenv function does not return an error code. This patch allows to test for errors. Signed-off-by: Steve Falco <sfalco@harris.com>
| * | PPC: Added fls, fls64, __ilog2_u64, and ffs64 to bitopsKumar Gala2008-07-01-0/+52
| | | | | | | | | | | | | | | | | | | | | fls64, __ilog2_u64, ffs64 are variants that work on an u64, and fls is used to implement them. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * | i.MX31: Cleanup comments in lowlevel_init.S.Magnus Lilja2008-07-01-4/+4
| | | | | | | | | | | | Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
| * | Move conditional compilation of MPC8XXX SPI driver to MakefileBen Warren2008-07-01-7/+11
| | | | | | | | | | | | Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
| * | i.MX31: fixed CTRL-C detectionJuergen Kilb2008-07-01-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Register URXD contains status information in bits [15..8]. With status bit 15 set, CTRL-C was reported as 0x8003 instead of 0x03. Therefore CTRL-C was not detected. To solve this, bits [15..8] were masked out now. Signed-off-by: Juergen Kilb <J.Kilb@gmx.de> Acked-by: Felix Radensky <felix@embedded-sol.com>
| * | add SHA256 supportJean-Christophe PLAGNIOL-VILLARD2008-06-30-0/+279
| | | | | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Francesco Albanese <Francesco.Albanese@swisscom.com>
| * | Delay FIT format check on sector based devicesMarian Balakowicz2008-06-30-57/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Global FIT image operations like format check cannot be performed on a first sector data, defer them to the point when whole FIT image was uploaded to a system RAM. Signed-off-by: Marian Balakowicz <m8@semihalf.com> Partial ('cmd_nand' case) Acked-by: Grant Erickson <gerickson@nuovations.com> NAND and DOC bits Acked-by: Scott Wood <scottwood@freescale.com>
| * | sata: wait for device updating signature to hostDave Liu2008-06-30-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | The driver need wait for the device updating signature to host. If we don't wait for it, the driver can not detect the device(disk) when the system powers up. Signed-off-by: Dave Liu <daveliu@freescale.com>
| * | serial_pl010.c: add watchdog supportStuart Wood2008-06-29-2/+6
| | | | | | | | | | | | Signed-off-by: Stuart Wood <stuart.wood@labxtechnologies.com>
| * | jffs2_1pass.c: add watchdog supportStuart Wood2008-06-29-0/+3
| | | | | | | | | | | | Signed-off-by: Stuart Wood <stuart.wood@labxtechnologies.com>