summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* SMDKV310: Fix build error for smdkv310 boardChander Kashyap2011-09-031-1/+1
| | | | | | | | | Fix build error for smdkv310 board: board/samsung/smdkv310/smdkv310.c:126: undefined reference to `gpio_set_pull' Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
* gpio:samsung s5p_ suffix add for GPIO functionsŁukasz Majewski2011-09-036-35/+35
| | | | | | | | | | | | | | This change is driven by need of general gpio_* functions, which as their parameter are accepting the GPIO pin number, NOT block and pin. This makes the code alike to omap, and allows for using more generic frameworks (e.g. software I2C). Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
* mmc: S5P: Support DMA restarts at buffer boundariesAnton Staaf2011-09-031-4/+11
| | | | | | | | | | | | | | | | | | Currently if a DMA buffer straddles a buffer alignment boundary (512KiB) then the DMA engine will pause and generate a DMA interrupt. Since the DMA interrupt is not enabled it will hang the MMC driver. This patch adds support for restarting the DMA transfer. The SYSTEM_ADDRESS register contains the next address that would have been read/written when a boundary is hit. So we can read that and write it back. The write triggers the resumption of the transfer. Signed-off-by: Anton Staaf <robotboy@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Tested-by : Jaehoon Chung <jh80.chung@samsung.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
* SMDKV310: Fix host compilation of mkv310_imageDirk Behme2011-09-031-0/+1
| | | | | | | | | | | | | | | | | | | Fix compilation of mkv310_image host tool tools/mkv310_image.c: In function 'main': tools/mkv310_image.c:67: error: 'S_IRUSR' undeclared (first use in this function) tools/mkv310_image.c:67: error: (Each undeclared identifier is reported only once tools/mkv310_image.c:67: error: for each function it appears in.) tools/mkv310_image.c:67: error: 'S_IWUSR' undeclared (first use in this function) tools/mkv310_image.c:67: error: 'S_IRGRP' undeclared (first use in this function) tools/mkv310_image.c:67: error: 'S_IWGRP' undeclared (first use in this function) tools/mkv310_image.c:67: error: 'S_IROTH' undeclared (first use in this function) tools/mkv310_image.c:67: error: 'S_IWOTH' undeclared (first use in this function) resulting from a 'make smdkv310_config'. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
* arm: fix bd pointer dereference prior initializationIgor Grinberg2011-09-031-4/+5
| | | | | | | gd->bd pointer has been used prior been initialized. Move the relevant code after the initialization. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
* arm, lib/board.c: use gd->ram_size instead of bd->bi_memsizeHeiko Schocher2011-09-031-1/+1
| | | | | Signed-off-by: Heiko Schocher <hs@denx.de> cc: Albert Aribaud <albert.u.boot@aribaud.net>
* mx5: Remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFFJason Liu2011-09-037-13/+0
| | | | | | | | | | | | | | | | | CONFIG_L2_OFF is obsolete after the following commit: e47f2db5371047eb9bcd115fee084e6a8a92a239 armv7: rename cache related CONFIG flags Replace the cache related CONFIG flags with more meaningful names. Following are the changes: CONFIG_L2_OFF -> CONFIG_SYS_L2CACHE_OFF Since imx5 does not provide L2 cache operations(Enable/Disable) Simply remove CONFIG_L2_OFF and CONFIG_SYS_L2CACHE_OFF Signed-off-by: Jason Liu <jason.hui@linaro.org> Cc:Stefano Babic <sbabic@denx.de> Acked-by: Stefano Babic <sbabic@denx.de>
* MX31: removed warnings due to clock.hStefano Babic2011-09-031-1/+1
| | | | Signed-off-by: Stefano Babic <sbabic@denx.de>
* integrator: convert to new build systemLinus Walleij2011-09-037-274/+13
| | | | | | | | | | | | | | | | | This deletes the integrator split_by_variant.sh script and defines a number of unique board types for the core modules that are meaningful to support for the Integrator AP/CP, i.e. the ones that did not just say "unsupported core module" in split_by_variant.sh. If more core modules need to be supported they are easy to add. We delete all the old cruft in Makefile and MAKEALL that was working around the old way of building boards. We create a unique config file per board to satisfy the build system, but they are just oneliners that include the existing integratorap.h and integratorcp.h configs. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* integratorcp: make the board compileLinus Walleij2011-09-031-0/+6
| | | | | | | This defines the requires CONFIG_SYS_* variables to make the Integrator CP board compile. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* integratorap: remove hardcoded 32MB memory cmdlineLinus Walleij2011-09-031-1/+1
| | | | | | | | | The default configuration for the Integrator AP forces memory to be 32 MB on the command line to the kernel, while we have perfect information and detection of the actual memory size in the ATAGs. Delete the confusion. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* integratorap: support some rudimentary commandsLinus Walleij2011-09-031-0/+6
| | | | | | | | This adds support for a subset of the default commands for the Integrator, however since the card does not have Ethernet (unless you plug in a PCI card) we can not use the default command set. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* integratorap: support the hush shellLinus Walleij2011-09-031-0/+2
| | | | | | | Give us some kind of sane shell environment so the bootloader can be used. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* integratorap: support relocationLinus Walleij2011-09-032-9/+8
| | | | | | | | | | The integrator board was apparently never converted over to support relocation until now. After this the integrator u-boot both compiles and boots on the Integrator AP. This also fixes the SDRAM memory size detection. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* integratorap: make the compile work againLinus Walleij2011-09-032-1/+7
| | | | | | | | | The integratorap/cp config for u-boot was outdated and would not even compile, so fix the obvious missing bits for it to start building. After this "make ap920t_config/make all" starts working again. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* arm: lib: memcpy: Do not copy to same addressMatthias Weisser2011-09-031-0/+3
| | | | | | | | In some cases (e.g. bootm with a elf payload which is already at the right position) there is a in place copy of data to the same address. Catching this saves some ms while booting. Signed-off-by: Matthias Weisser <weisserm@arcor.de>
* arm: omap: innovator: use common code for machine typeIgor Grinberg2011-09-033-9/+4
| | | | | | | | | Innovator and H2 boards used machine_is_* macros for setting the machine type. These macros are expanded in compile time and thus leaves unreachable code (though gcc might optimize it). Switch them to use common code for machine type setting. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
* arm: nvidia and smdk6400: use common code for machine typeIgor Grinberg2011-09-033-4/+1
| | | | | | | | NVIDIA boards and Samsung SMDK6400 already use a local variant of CONFIG_MACH_TYPE option. Switch to use the new common code. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
* MAKEALL ARMv7: Use boards.cfgDirk Behme2011-09-031-21/+2
| | | | | | Use the boards from boards.cfg for building ./MAKEALL ARMV7. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
* atmel: Update support of board AT91SAM9M10G45-EK to new styleThomas Petazzoni2011-09-036-188/+156
| | | | | | Based on earlier work by Alex Waterman <awaterman@dawning.com>. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* AT91: fix at91sam9g45.h to include USB Host definesReinhard Meyer2011-09-031-1/+3
| | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
* make pm9g45 buildable for v2011.06 releaseAsen Dimov2011-09-035-27/+27
| | | | | | | Signed-off-by: Asen Chavdarov Dimov <dimov@ronetix.at> Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de> changed at91_serial_hw_init to at91_seriald_hw_init
* make pm9263 buildable for v2011.06 releaseAsen Dimov2011-09-034-35/+35
| | | | Signed-off-by: Asen Chavdarov Dimov <dimov@ronetix.at>
* atmel: update at91sam9m10g45 SoC support to new styleThomas Petazzoni2011-09-033-185/+135
| | | | | | Based on earlier work by Alex Waterman <awaterman@dawning.com>. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pm9261: compiles with the AT91 reworked schemeAsen Dimov2011-09-034-34/+33
| | | | Signed-off-by: Asen Chavdarov Dimov <dimov@ronetix.at>
* tny_a9260/tny_a9g20: update board to the new AT91 organizationThomas Petazzoni2011-09-035-83/+73
| | | | | | Cc: Albin Tonnerre <tonnerrealbin@gmail.com> CC: Gregory Hermant <gregory.hermant@calao-systems.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sbc35_a9g20: update board to the new AT91 organizationThomas Petazzoni2011-09-035-97/+88
| | | | | | | | | Cc: Albin Tonnerre <tonnerrealbin@gmail.com> Cc: Gregory Hermant <gregory.hermant@calao-systems.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de> Removed SBC35 from MAKEALL
* at91: reworked support for meesc boardMatthias Fuchs2011-09-033-108/+144
| | | | | | | | The meesc board support was broken. Within this opportunity, I completely reworked the board files. Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu> Signed-off-by: Matthias Fuchs <Matthias.Fuchs@esd.eu>
* MPC8xx: fix build problem for ETX094 boardWolfgang Denk2011-08-312-143/+3
| | | | | | | | | | Commit 7616e78 "Add Ethernet hardware MAC address framework to usbnet" increased the code size and broke building for the ETX094 board. Adjust the linker script to make it build again. While we are at it, remove unused u-boot.lds.debug Signed-off-by: Wolfgang Denk <wd@denx.de>
* phy.c: make less verbose - turn printf() into debug()Wolfgang Denk2011-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | The PHY driver was too verbose and corrupted the boot message display like this: ... Net: TSEC0 connected to Marvell 88E1111S TSEC1 connected to Marvell 88E1111S TSEC0, TSEC1 ... Turn printf() into debug() so we het the expected output again: ... Net: TSEC0, TSEC1 ... Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Kumar Gala <galak@kernel.crashing.org>
* Merge branch 'master' of git://git.denx.de/u-boot-shWolfgang Denk2011-08-2622-2/+1340
|\ | | | | | | | | | | | | | | | | | | | | | | * 'master' of git://git.denx.de/u-boot-sh: sh: add calling mmc_initialize in board.c sh: sh7757lcr: Add KEEP order to start.o section usb: r8a66597: Fix argument mistake of inl sh: Clean up rsk7264 board settings sh: sh2a: Add sh2a optimize to config.mk sh: Fix rsk7203 alignment problem sh: Add support for SH2A freestanding build sh: Add Renesas rsk7264 board
| * sh: add calling mmc_initialize in board.cYoshihiro Shimoda2011-08-221-0/+12
| | | | | | | | | | | | | | | | Some SH have MMC controller. So, if we need it, we have to call the mmc_initialize(). Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * sh: sh7757lcr: Add KEEP order to start.o sectionYoshihiro Shimoda2011-08-221-1/+1
| | | | | | | | | | | | | | | | | | | | The sh7757lcr has a local u-boot.lds because the sh7757lcr is only supported the SPI booting. This patch refers from the commit "sh: Add KEEP order to start.o section" (commit ID: b52da2aed8c2c388661f369052a97d5b5c9ed00a). Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * usb: r8a66597: Fix argument mistake of inlNobuhiro Iwamatsu2011-08-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Fail in build, because argument of inl used in r8a66597_read_fifo is wrong. r8a66597.h:441:35: error: macro "inl" passed 2 arguments, but takes just 1 In file included from r8a66597-hcd.c:25: r8a66597.h: In function ‘r8a66597_read_fifo’: r8a66597.h:441: error: ‘inl’ undeclared (first use in this function) r8a66597.h:441: error: (Each undeclared identifier is reported only once r8a66597.h:441: error: for each function it appears in.) Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * sh: Clean up rsk7264 board settingsPhil Edworthy2011-08-221-45/+24
| | | | | | | | | | | | | | | | | | | | Adjusted default settings so that we can boot zImages and uImages. Removed unused settings, use default commands and where possible calculate all other settings. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * sh: sh2a: Add sh2a optimize to config.mkNobuhiro Iwamatsu2011-08-221-0/+5
| | | | | | | | | | | | | | | | Only the optimization of sh2 had been supported up. This adds the optimization of sh2a. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * sh: Fix rsk7203 alignment problemPhil Edworthy2011-08-221-0/+1
| | | | | | | | | | Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * sh: Add support for SH2A freestanding buildPhil Edworthy2011-08-228-0/+868
| | | | | | | | | | | | | | | | | | | | SH2A toolchains often only provide an fdpic version of libgcc. This can't be used with bare-metal software like U-Boot, so this patch provides the necessary functions extracted from libgcc. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
| * sh: Add Renesas rsk7264 boardPhil Edworthy2011-08-2210-1/+474
| | | | | | | | | | | | | | | | | | | | The rsk7264 (also know as rsk2+sh7264) is an SH2A based board with 64MB NAND flash and 64MB SDRAM. It is very similar to the rsk7203 board. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | Merge branch 'master' of git://git.denx.de/u-boot-ubiWolfgang Denk2011-08-261-4/+2
|\ \ | | | | | | | | | | | | * 'master' of git://git.denx.de/u-boot-ubi: ubifs: Fix bad free() sequence in ubifs_finddir()
| * | ubifs: Fix bad free() sequence in ubifs_finddir()Wolfgang Denk2011-08-191-4/+2
| |/ | | | | | | | | | | | | | | | | | | | | Free private_data member element before freeing file structure. This was causing malloc to crash. Also remove unnecessary variable assigments as file structure gets free'd as well. Signed-off-by: Rod Boyce <uboot@teamboyce.co.uk> Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
* | usb: increase non-bulk timeout for slow chipsets.Jason Cooper2011-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | If you take a look at 96820a35, you'll see the original timeout was CONFIG_SYS_HZ. Which is 1000. After the mentioned change, non-bulk timeout was changed to 100. This causes timeout failures on the dreamplug platform when trying to initialize the usb microsd reader. Signed-off-by: Jason Cooper <u-boot@lakedaemon.net> Acked-by: Mike Frysinger <vapier@gentoo.org>
* | USB: Move USB_PRINTF() out of ifdef in usb_scan_devices()Marek Vasut2011-08-081-1/+1
| | | | | | | | Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
* | USB: Set portnr so USB1.1 and 1.0 devices work on EHCI controllersMarek Vasut2011-08-081-0/+1
| | | | | | | | Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
* | usb: r8a66597: Fix argument mistake of inlNobuhiro Iwamatsu2011-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Fail in build, because argument of inl used in r8a66597_read_fifo is wrong. r8a66597.h:441:35: error: macro "inl" passed 2 arguments, but takes just 1 In file included from r8a66597-hcd.c:25: r8a66597.h: In function ‘r8a66597_read_fifo’: r8a66597.h:441: error: ‘inl’ undeclared (first use in this function) r8a66597.h:441: error: (Each undeclared identifier is reported only once r8a66597.h:441: error: for each function it appears in.) Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
* | Put common autoload code into auto_load() functionSimon Glass2011-08-081-43/+33
| | | | | | | | | | | | | | This is a small clean-up patch. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Eric Bénard <eric@eukrea.com>
* | Add documentation for USB Host NetworkingSimon Glass2011-08-081-1/+156
| | | | | | | | | | | | | | | | This describes what it is for, devices supported, how to enable for your board in U-Boot, setting up the server, and notes about MAC addresses. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Eric Bénard <eric@eukrea.com>
* | Add Ethernet hardware MAC address framework to usbnetSimon Glass2011-08-085-30/+72
| | | | | | | | | | | | | | | | | | | | | | | | Built-in Ethernet adapters support setting the mac address by means of a ethaddr environment variable for each interface (ethaddr, eth1addr, eth2addr). This adds similar support to the USB network side, using the names usbethaddr, usbeth1addr, etc. They are kept separate since we don't want a USB device taking the MAC address of a built-in device or vice versa. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Eric Bénard <eric@eukrea.com>
* | Add support for SMSC95XX USB 2.0 10/100MBit Ethernet AdapterSimon Glass2011-08-084-0/+900
|/ | | | | | | | The SMSC95XX is a USB hub with a built-in Ethernet adapter. This adds support for this, using the USB host network framework. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Eric Bénard <eric@eukrea.com>
* Convert ISO-8859 files to UTF-8Albert ARIBAUD2011-08-04100-184/+184
| | | | | | | | There was a mix of UTF-8 and ISO-8859 files in the U-Boot source tree, which could cause issues with the patchwork review system. This commit converts all ISO-8859 files to UTF-8. Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
OpenPOWER on IntegriCloud