summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* mmc: fix response decoding on little endianRabin Vincent2009-06-021-3/+3
| | | | | | | | | | | | | | | | The mmc code defines the response as an array of chars. However, it access the response bytes both as (i) an array of four uints (with casts) and (ii) as individual chars. The former case is used more often, including by the driver when it assigns the response. The char-wise accesses are broken on little endian systems because they assume that the bytes in the uints are in big endian byte order. This patch fixes this by changing the response to be an array of four uints and replacing the char-wise accesses with equivalent uint-wise accesses. Signed-off-by: Rabin Vincent <rabin@rab.in>
* Blackfin: bf518f-ezbrd: setup portmux for async flashGraf Yang2009-05-251-0/+1
| | | | | | | | The pins for async memory where parallel flash lives are not enabled by default, so make sure we mux them as needed. Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ppc4xx: Move definition for PPC4xx NAND FLASH controller to headerStefan Roese2009-05-231-0/+7
| | | | | | | | | This patch moves the definition for the PPC4xx NAND FLASH controller (NDFC) CONFIG_NAND_NDFC into include/ppc4xx.h. This is needed for the upcoming fix for the ECC byte ordering of the NDFC driver. Signed-off-by: Stefan Roese <sr@denx.de> Acked-by: Scott Wood <scottwood@freescale.com>
* TQM834x: remove defines causing gcc4.4 warningsKim Phillips2009-05-201-20/+0
| | | | | | | | | | | Configuring for TQM834x board... cpu_init.c: In function 'cpu_init_f': cpu_init.c:262: warning: array subscript is above array bounds cpu_init.c:263: warning: array subscript is above array bounds cpu_init.c:270: warning: array subscript is above array bounds ... Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* MIPS: Make all extern-ed functions in bitops.h staticShinya Kuribayashi2009-05-161-32/+32
| | | | | | | | | | | | All these functions are expected to be static inline-ed. This patch also fixes the following build warnings on MIPS targets: include/asm/bitops.h: In function 'ext2_find_next_zero_bit': include/asm/bitops.h:862: warning: '__fswab32' is static but used in inline function 'ext2_find_next_zero_bit' which is not static include/asm/bitops.h:885: warning: '__fswab32' is static but used in inline function 'ext2_find_next_zero_bit' which is not static include/asm/bitops.h:887: warning: '__fswab32' is static but used in inline function 'ext2_find_next_zero_bit' which is not static Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
* ARM: fix PXA build by defining UP2OCRDaniel Mack2009-05-151-0/+4
| | | | | | | | | | | | | U-Boot does not currently build for PXA platforms with USB support enabled: usb.c:46: error: 'UP2OCR' undeclared (first use in this function) Signed-off-by: Daniel Mack <daniel@caiaq.de> Cc: Markus Klotzbuecher <mk@denx.de> Edited commit message. Signed-off-by: Wolfgang Denk <wd@denx.de>
* console.h: remove unused prototype 'console_realloc'Jean-Christophe PLAGNIOL-VILLARD2009-05-151-2/+0
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Fix e-mail address of Gary Jennejohn.Detlev Zundel2009-05-157-7/+7
| | | | Signed-off-by: Detlev Zundel <dzu@denx.de>
* Fix OneNAND ipl to read CONFIG_SYS_MONITOR_LENRohit Hagargundgi2009-05-151-0/+1
| | | | | | | | | Add CONFIG_SYS_MONITOR_LEN macro to apollon board config. CONFIG_SYS_MONITOR_LEN defines the U-Boot image size. and is used by OneNAND ipl when reading U-Boot image. Signed-off-by: Rohit Hagargundgi <h.rohit at samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
* powerpc/inka4x0: Remove left-over ide reset code.Detlev Zundel2009-05-151-1/+0
| | | | | | | The pin which was used in preliminary versions of the board for ide reset is really connected to the rtc clock. Signed-off-by: Detlev Zundel <dzu@denx.de>
* Blackfin: bf527-ezkit: fix SPI flash env paramsMike Frysinger2009-05-061-2/+2
| | | | | | | | The BF527-EZKIT settings for storing the environment in SPI flash wasn't using the correct sector settings for the SPI flash part that is actually on the board. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Blackfin: fix booting with older bootroms (no EVT1)Mike Frysinger2009-05-061-0/+8
| | | | | | | | | | | When dropping jump block support, the assumption was that all bootroms supported entry point redirection via the EVT1 register. Unfortunately, this turned out to be incorrect for the oldest Blackfin parts (BF533-0.2 and older and BF561). No one really noticed earlier because these parts usually are booted by bypassing the bootrom entirely, and older BF533 parts are not supported at all (too many anomalies). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* OMAP3: Fix timer handling to 1ms and CONFIG_SYS_HZ to 1000Manikandan Pillai2009-04-305-24/+28
| | | | | Signed-off-by: Dirk Behme <dirk.behme@googlemail.com> Signed-off-by: Manikandan Pillai <mani.pillai@ti.com>
* Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk2009-04-3016-163/+59
|\
| * arm925t: Fix CONFIG_SYS_HZ to 1000Ladislav Michl2009-04-294-11/+11
| | | | | | | | | | | | | | | | | | | | | | Let CONFIG_SYS_HZ to have value of 1000 effectively fixing all users of get_timer. Changes since original version: * Set PTV=2 (divisor 8) for boards using 12MHz timer clock source to improve timer resolution. Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
| * OMAP3: Remove legacy NAND definesDirk Behme2009-04-294-117/+0
| | | | | | | | | | | | Remove remaining legacy NAND defines for Beagle, EVM, Overo and Pandora. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
| * OMAP3: Print correct silicon revisionSanjeev Premi2009-04-291-5/+9
| | | | | | | | | | | | | | | | | | | | The function display_board_info() displays incorrect silicon revision - based on the return value from function get_cpu_rev(). This patch fixes the problem. Signed-off-by: Sanjeev Premi <premi@ti.com>
| * OMAP3: Remove unused board-typesSanjeev Premi2009-04-292-11/+0
| | | | | | | | | | | | | | | | | | | | | | The board-types defined in struct omap3_sysinfo seem to be unused. The function display_board_info() is passed board type as an argument; which is ignored. This patch removes all uses of board-type, related definitions and functions. Signed-off-by: Sanjeev Premi <premi@ti.com>
| * OMAP3: Use functions print_cpuinfo() and checkboard()Sanjeev Premi2009-04-296-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the functions print_cpuinfo() and checkboard() to display the cpu and board specific information. These functions reuse content from the existing function display_board_info() - which has been removed. Also, updated the existig OMAP3 configurations to define: - CONFIG_DISPLAY_CPUINFO - CONFIG_DISPLAY_BOARDINFO Signed-off-by: Sanjeev Premi <premi@ti.com>
| * OMAP3: Fix changed mmc init commandDirk Behme2009-04-265-5/+5
| | | | | | | | | | | | | | In recent U-Boot mmcinit changed to mmc init. Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
| * minor DaVinci clock cleanupDavid Brownell2009-04-244-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Minor cleanup to clock-related defines for DaVinci DM6446 boards: - CONFIG_SYS_CLK_FREQ is unused; remove it. - CONFIG_SYS_NS16550_CLK must be the same as CONFIG_SYS_HZ_CLOCK On DM6446 both of those peripheral clocks actually come from the same source, the primary oscillator. Having them use the same symbol avoids bugs in the clone'n'modify development cycle. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
| * s3c64xx: remove unnecessary definitionMinkyu Kang2009-04-241-4/+0
| | | | | | | | | | | | | | CONFIG_S3C6400 is must defined at config header file That definition is unnecessary at this file Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
* | ids8247: Remove legacy NAND definesHeiko Schocher2009-04-281-55/+0
| | | | | | | | | | | | | | | | because legacy NAND support is deprecated converting to current NAND interface. !This just compile, because I have no more the hardware to test it. Signed-off-by: Heiko Schocher <hs@denx.de>
* | mips/vcth: Use generic 16550 uart driverDetlev Zundel2009-04-281-1/+12
| | | | | | | | | | | | | | | | | | | | As the common code also handles baudrate switching, which the board specific vct.c driver did not support, this is one of the rare occassions where deleting code actually adds a feature :) Signed-off-by: Detlev Zundel <dzu@denx.de> Acked-by: Stefan Roese <sr@denx.de> Acked-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
* | AmigaOneG3SE: Fix CONFIG_CMD_CONSOLE definitionPeter Tyser2009-04-281-1/+1
| | | | | | | | Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* | Replace __attribute references with __attribute__Peter Tyser2009-04-283-3/+3
| | | | | | | | | | | | | | | | __attribute__ follows gcc's documented syntax and is generally more common than __attribute. This change is only asthetic and should not affect functionality. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
* | Remove sa1100.hShinya Kuribayashi2009-04-281-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | sa1100.h is not used anywhere, then remove it. $ find . -name '*.h' -empty -print ./include/sa1100.h $ git grep 'sa1100.h' . $ Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Merge branch 'master' of git://git.denx.de/u-boot-mpc83xxWolfgang Denk2009-04-271-2/+2
|\ \ | |/ |/|
| * mpc83xx: MPC8360ERDK: fix environment offset configuration bugAnatolij Gustschin2009-04-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | The size of U-Boot binary for MPC8360ERDK increased (> 2 flash sectors now), so 'saveenv' will partially overwrite U-Boot in flash and will brick the board. This patch moves environment offset to fourth flash sector and also fixes CONFIG_SYS_MONITOR_LEN. Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* | Merge branch 'master' of git://git.denx.de/u-boot-netWolfgang Denk2009-04-241-1/+1
|\ \
| * | net: fix ULI 526x macro usage in netdev.hTimur Tabi2009-04-191-1/+1
| |/ | | | | | | | | | | | | | | | | Change netdev.h to use CONFIG_ULI526X instead of CONFIG_ULI526. CONFIG_ULI526X is used everywhere else, so that's the correct macro name. Without this fix, Ethernet will not work on the Freescale MPC8610 HPCD. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
* | Merge branch 'master' of git://git.denx.de/u-boot-at91Wolfgang Denk2009-04-2413-46/+528
|\ \ | |/ |/|
| * at91sam9/at91cap: fix CONFIG_SYS_HZ to 1000Jean-Christophe PLAGNIOL-VILLARD2009-04-167-7/+7
| | | | | | | | | | | | | | | | The timer has been rewrote with a precision at ~0,18% Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Tested-by: Sergey Lapin <slapin@ossfans.org> Tested-by: Eric BENARD <ebenard@free.fr>
| * at91: add support for the PM9263 board of Ronetix GmbHIlko Iliev2009-04-164-0/+472
| | | | | | | | | | | | | | | | | | | | The PM9263 board is based on the AT91SAM9263-EK board. Here is the page on Ronetix website: http://www.ronetix.at/starter_kit_9263.html Signed-off-by: Ilko Iliev <iliev@ronetix.at> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * at91sam9/at91cap: improve clock frameworkJean-Christophe PLAGNIOL-VILLARD2009-04-1610-40/+50
| | | | | | | | | | | | calculate dynamically the clock rate and pllb setting for usb Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | fix DaVinci NS16550_REG_SIZE regressionDavid Brownell2009-04-164-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Update the DaVinci DM6446 boards to use the new convention for CONFIG_SYS_NS16550_REG_SIZE ... the size hasn't changed from the original 4 bytes, but these chips are little-endian. (Resolves a regression added recently by the include/ns16550.h patch to "Unify structure declaration for registers". The code previously worked just fine because the registers were accessed as host-endian words, not as bytes.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
* | ppc4xx: Disable POST memory test on NAND-booting KilaueaStefan Roese2009-04-161-1/+12
| | | | | | | | | | | | | | | | | | Don't run the memory POST on the NAND-booting version. It will overwrite part of the U-Boot image which is already loaded from NAND to SDRAM. We were just lucky that it booted at all with this SDRAM test enabled. Signed-off-by: Stefan Roese <sr@denx.de>
* | ppc4xx: Disable POST memory test on NAND-booting SequoiaStefan Roese2009-04-161-2/+13
|/ | | | | | | | | Don't run the memory POST on the NAND-booting version. It will overwrite part of the U-Boot image which is already loaded from NAND to SDRAM. We were just lucky that it booted at all with this SDRAM test enabled. Signed-off-by: Stefan Roese <sr@denx.de>
* Merge branch 'master' of git://git.denx.de/u-boot-blackfinWolfgang Denk2009-04-075-69/+150
|\
| * Blackfin: update anomaly sheetsMike Frysinger2009-04-065-69/+150
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Support for PXA27X UDC.Remy Bohmer2009-04-062-53/+312
| | | | | | | | | | | | | | | | This Patch adds Support for PXA27X UDC. (Rebased to drivers/usb reorganisation) Signed-off-by: Vivek Kutal <vivek.kutal@azingo.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
* | drivers/usb: regorganisationJean-Christophe PLAGNIOL-VILLARD2009-04-064-39/+0
|/ | | | | | | | | | | | | move to linux usb driver organisation as following drivers/usb/gadget drivers/usb/host drivers/usb/musb Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
* Merge branch 'master' of git://git.denx.de/u-boot-armWolfgang Denk2009-04-0526-22/+153
|\
| * integratorap: fix PCI supportJean-Christophe PLAGNIOL-VILLARD2009-04-051-2/+2
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * arm: clean cache managementJean-Christophe PLAGNIOL-VILLARD2009-04-0522-0/+59
| | | | | | | | | | | | unify arm cache management except for non standard cache as ARM7TDMI Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * arm: update co-processor 15 accessJean-Christophe PLAGNIOL-VILLARD2009-04-051-0/+84
| | | | | | | | | | | | import system.h from linux Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * s3c64xx: fix the wrong gpio offsetMinkyu Kang2009-04-051-3/+3
| | | | | | | | | | | | This patch fix the wrong gpio offset Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
| * Move machine specific code to board at s3c64xx (v2)Kyungmin Park2009-04-051-0/+5
| | | | | | | | | | | | | | | | | | | | Move machine specific code to smdk6400. Some board use OneNAND instead of NAND. Some register MP0_CS_CFG[5:0] are controled by both h/w and s/w. So it's better to use macro instead of hard-coded value. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
| * ZOOM1 Remove legacy NAND definesTom Rix2009-04-051-17/+0
| | | | | | | | Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
* | Update CHANGELOG, coding style cleanup.Wolfgang Denk2009-04-052-2/+0
| |
OpenPOWER on IntegriCloud