- Jul 18, 2014
-
-
Hans de Goede authored
Add support for the x-powers axp152 pmic which is found on most A10s boards and enable it for the r7-tv-dongle board. Signed-off-by:
Henrik Nordstrom <henrik@henriknordstrom.net> Signed-off-by:
Ian Campbell <ijc@hellion.org.uk> Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk>
-
Henrik Nordstrom authored
Add support for the x-powers axp209 pmic which is found on most A10, A13 and A20 boards. And enable AXP209 support for the Cubietruck and Cubieboard boards. Signed-off-by:
Henrik Nordstrom <henrik@henriknordstrom.net> Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk>
-
Hans de Goede authored
Add support for the i2c controller found on all Allwinner sunxi SoCs, this is the same controller as found on the Marvell orion5x and kirkwood SoC families, with a slightly different register layout, so this patch uses the existing mvtwsi code. Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk> Acked-By:
Prafulla Wadaskar <prafulla@marvell.com> Acked-by:
Heiko Schocher <hs@denx.de> [ ijc -- updated u-boot-spl-fel.lds ]
-
- Jul 16, 2014
-
-
Hans de Goede authored
Note this has only been tested on Allwinner sunxi devices (support for which gets introduced by a later patch). The kirkwood changes have been compile tested using the wireless_space board config, the orion5x changes have been compile tested using the edminiv2 board config. Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Heiko Schocher <hs@denx.de>
-
- Jul 08, 2014
-
-
Ian Campbell authored
Mark rc as __maybe_unused since it is infact unused on systems with neither EMAC nor GMAC. Signed-off-by:
Ian Campbell <ijc@hellion.org.uk> Acked-by:
Tom Rini <trini@ti.com>
-
- Jul 06, 2014
-
-
Hans de Goede authored
Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk>
-
Chen-Yu Tsai authored
Many A20 boards (ie Cubieboard2, A20-OLinuXino_MICRO) use an 100 Mbit MII phy together with the GMAC nic found in the A20 SoC, add support for this (this will get used when we add these boards in a later patch). Signed-off-by:
Chen-Yu Tsai <wens@csie.org> Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk>
-
Hans de Goede authored
Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk>
-
Stefan Roese authored
There have been 3 versions of the sunxi_emac support patch during its development. Somehow version 2 ended up in upstream u-boot where as the u-boot-sunxi git repo got version 3. This bumps the version in upstream u-boot to version 3 of the patch: - Initialize MII clock earlier so mii access to allow independent use - Name change from WEMAC to EMAC to match mainline kernel & chip manual - Cosmetic code cleanup Signed-off-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Henrik Nordstrom <henrik@henriknordstrom.net> Signed-off-by:
Oliver Schinagl <oliver@schinagl.nl> Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk>
-
Hans de Goede authored
Add support for the Allwinner A13 and A10s SoCs also know as the Allwinner sun5i family, and the A13-OLinuXinoM A13 based and r7-tv-dongle A10s based boards. The only differences compared to the already supported sun4i and sun7i families are all in the DRAM controller initialization: -Different hcpr values -Different MBUS settings -Some other small initialization changes Signed-off-by:
Henrik Nordstrom <henrik@henriknordstrom.net> Signed-off-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Oliver Schinagl <oliver@schinagl.nl> Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk>
-
Hans de Goede authored
Add support for the Allwinner A10 SoC also known as the Allwinner sun4i family, and add the Cubieboard board which uses the A10 SoC. Compared to sun7 only the DRAM controller is a bit different: -Controller reset bits are inverted, but only for Rev. A -Different hpcr values -No MBUS on sun4i -Various other initialization changes Signed-off-by:
Henrik Nordstrom <henrik@henriknordstrom.net> Signed-off-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Oliver Schinagl <oliver@schinagl.nl> Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk>
-
Hans de Goede authored
There is no way to reset the cpu, so use the watchdog for this. Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk>
-
Hans de Goede authored
The DMA code in sunxi_mmc.c is broken. mmc_trans_data_by_dma() allocates the dma descriptors on the stack, and then exits while the dma transfer is in progress, so the dma engine is reading stack memory which at that point may be re-used. So far we've gotten away with this by luck, but recent u-boot changes have shifted the stack start address by 16 bytes, which combined with dma alignment now exposes this problem. Since we end up just busy waiting for the dma engine anyway, this commit fixes things by simply removing the dma code, resulting in smaller bug-free code. Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk>
-
Hans de Goede authored
Adjust the u-boot-spl.lds linker script to match the changes made in the 41623c91 "arm: move exception handling out of start.S files" commit. Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk>
-
Hans de Goede authored
We should not be aligning the amount of bytes which we try to read from the disk, this leads to trying to read more bytes then there are which fails. file_size is already aligned to BLOCK_SIZE before being stored in img.header.length, so there is no need for load_size at all. Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Acked-by:
Ian Campbell <ijc@hellion.org.uk>
-
- Jul 05, 2014
-
-
Chin Liang See authored
To move the arch common function away from board folder to arch/arm/cpu/armv7/socfpga folder. Its to avoid code duplication for other non Altera dev kit which is using socfpga device. Signed-off-by:
Chin Liang See <clsee@altera.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de> Cc: Pavel Machek <pavel@denx.de> Cc: Dinh Nguyen <dinguyen@altera.com> Acked-by:
Detlev Zundel <dzu@denx.de>
-
Linus Walleij authored
Turn on generic board for the integrators, as per the request in the startup message. Everything just works, tested on the Integrator/AP and Integrator/CP. Signed-off-by:
Linus Walleij <linus.walleij@linaro.org> Acked-by:
Simon Glass <sjg@chromium.org>
-
Stephen Warren authored
Serial port, SD card, and LCD all work. Signed-off-by:
Stephen Warren <swarren@wwwdotorg.org> Acked-by:
Simon Glass <sjg@chromium.org>
-
Christian Riesch authored
Signed-off-by:
Christian Riesch <christian.riesch@omicron.at>
-
Shaibal.Dutta authored
Fix following compilation error when CONFIG_ARM64 is defined Error: unknown or missing system register name at operand 2 -- `mrs x0,daifmsr daifset,#3' Signed-off-by:
Shaibal.Dutta <shaibal.dutta@broadcom.com> Signed-off-by:
Darwin Rambo <drambo@broadcom.com> Reviewed-by:
Darwin Rambo <drambo@broadcom.com>
-
Łukasz Dałek authored
Enable 'generic board init' for H2200 palmtop. Signed-off-by:
Lukasz Dalek <luk0104@gmail.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Jeroen Hofstee authored
cc: Tom Rini <trini@ti.com> Signed-off-by:
Jeroen Hofstee <jeroen@myspectrum.nl>
-
- Jul 04, 2014
-
-
Albert ARIBAUD authored
Run tools/reformat.py -i -d '-' -s 8 to reorder boards as header comments suggest
-
Chin Liang See authored
Scan Manager driver will be called to configure the IOCSR scan chain. This configuration will setup the IO buffer settings Signed-off-by:
Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@altera.com> Cc: Wolfgang Denk <wd@denx.de> CC: Pavel Machek <pavel@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
-
Chin Liang See authored
To enable the DesignWare watchdog support at SOCFPGA Cyclone V dev kit. Signed-off-by:
Chin Liang See <clsee@altera.com> Cc: Anatolij Gustschin <agust@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Heiko Schocher <hs@denx.de> Cc: Tom Rini <trini@ti.com>
-
Chin Liang See authored
To add the DesignWare watchdog driver support. It required information such as register base address and clock info from configuration header file within include/configs folder. Signed-off-by:
Chin Liang See <clsee@altera.com> Cc: Anatolij Gustschin <agust@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Heiko Schocher <hs@denx.de> Cc: Tom Rini <trini@ti.com>
-
Sergey Kostanbaev authored
This patch returns back support for old ep93xx processors family Signed-off-by:
Sergey Kostanbaev <sergey.kostanbaev@gmail.com> Cc: albert.u.boot@aribaud.net
-
Axel Lin authored
In current gpio_set_value() implementation, it always sets the gpio control bit no matter the value argument is 0 or 1. Thus the GPIOs never set to low. This patch fixes this bug. The address bus is used as a mask on read/write operations, so that independent software drivers can set their GPIO bits without affecting any other pins in a single write operation. Thus we don't need a read-modify-write to update the register. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Acked-by:
Stefan Roese <sr@denx.de> Reviewed-by:
Vipin Kumar <vipin.kumar@st.com> Reviewed-by:
Michael Trimarchi <michael@amarulasolutions.com>
-
Jeroen Hofstee authored
This is not only more readable but also prevents a warning about a missing prototype. The prototypes which are actually missing are added. cc: Albert Aribaud <albert.u.boot@aribaud.net> Signed-off-by:
Jeroen Hofstee <jeroen@myspectrum.nl> Reviewed-by:
Tom Rini <trini@ti.com>
-
York Sun authored
LS2085A is an ARMv8 implementation. This adds board support for emulator and simulator: Two DDR controllers UART2 is used as the console IFC timing is tightened for speedy booting Support DDR3 and DDR4 as separated targets Management Complex (MC) is enabled Support for GIC 500 (based on GICv3 arch) Signed-off-by:
York Sun <yorksun@freescale.com> Signed-off-by:
Arnab Basu <arnab.basu@freescale.com> Signed-off-by:
J. German Rivera <German.Rivera@freescale.com> Signed-off-by:
Bhupesh Sharma <bhupesh.sharma@freescale.com>
-
- Jul 03, 2014
-
-
J. German Rivera authored
Adding support to load and start the Layerscape Management Complex (MC) firmware. First, the MC GCR register is set to 0 to reset all cores. MC firmware and DPL images are copied from their location in NOR flash to DDR. MC registers are updated with the location of these images. Deasserting the reset bit of MC GCR register releases core 0 to run. Core 1 will be released by MC firmware. Stop bits are not touched for this step. U-boot waits for MC until it boots up. In case of a failure, device tree is updated accordingly. The MC firmware image uses FIT format. Signed-off-by:
J. German Rivera <German.Rivera@freescale.com> Signed-off-by:
York Sun <yorksun@freescale.com> Signed-off-by:
Lijun Pan <Lijun.Pan@freescale.com> Signed-off-by:
Shruti Kanetkar <Shruti@Freescale.com>
-
York Sun authored
Freescale LayerScape with Chassis Generation 3 is a set of SoCs with ARMv8 cores and 3rd generation of Chassis. We use different MMU setup to support memory map and cache attribute for these SoCs. MMU and cache are enabled very early to bootst performance, especially for early development on emulators. After u-boot relocates to DDR, a new MMU table with QBMan cache access is created in DDR. SMMU pagesize is set in SMMU_sACR register. Both DDR3 and DDR4 are supported. Signed-off-by:
York Sun <yorksun@freescale.com> Signed-off-by:
Varun Sethi <Varun.Sethi@freescale.com> Signed-off-by:
Arnab Basu <arnab.basu@freescale.com>
-
York Sun authored
Make MMU function reusable. Platform code can setup its own MMU tables. Signed-off-by:
York Sun <yorksun@freescale.com> CC: David Feng <fenghua@phytium.com.cn>
-
J. German Rivera authored
This is needed for accessing peripherals with 64-bit MMIO registers, from ARMv8 processors. Signed-off-by:
J. German Rivera <German.Rivera@freescale.com>
-
Darwin Rambo authored
The armv8 ARM Trusted Firmware (ATF) can be used to load various ATF images and u-boot, and does this for virtual platforms by using semihosting. This commit extends this idea by allowing u-boot to also use semihosting to load the kernel/ramdisk/dtb. This eliminates the need for a bootwrapper and produces a more realistic boot sequence with virtual models. Though the semihosting code is quite generic, support for armv7 in fastmodel is less useful due to the wide range of available silicon and the lack of a free armv7 fastmodel, so this change contains an untested armv7 placeholder for the service trap opcode. Please refer to doc/README.semihosting for a more detailed description of semihosting and how it is used with the armv8 virtual platforms. Signed-off-by:
Darwin Rambo <drambo@broadcom.com> Cc: trini@ti.com Cc: fenghua@phytium.com.cn Cc: bhupesh.sharma@freescale.com
-
- Jul 02, 2014
-
-
git://git.denx.de/u-boot-armTom Rini authored
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
Stephen Warren authored
Almost all of ci_udc.c uses variable name "ep" for a struct usb_ep and "ci_ep" for a struct ci_ep. This is nice and consistent, and helps people know what type a variable is without searching for the declaration. handle_ep_complete() doesn't do this, so fix it to be consistent. Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
Stephen Warren authored
A UDC's alloc_request method should zero out the newly allocated request. Ensure the Atmel driver does so. This issue was found by code inspection, following the investigation of an intermittent issue with ci_udc, which was tracked down to failing to zero out allocated requests following some of my changes. All other UDC drivers already zero out requests in one way or another. Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
Stephen Warren authored
struct ci_req is a purely software structure, and needs no specific memory alignment. Hence, allocate it with calloc() rather than memalign(). The use of memalign() was left-over from when struct ci_req was going to hold the aligned bounce buffer, but this is now dynamically allocated. Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-