- Oct 30, 2016
-
-
Chen-Yu Tsai authored
The A80 has SID e-fuses. Like other newer SoCs, the actual e-fuses are at an offset of 0x200 within the SID address space. Signed-off-by:
Chen-Yu Tsai <wens@csie.org> Acked-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Chen-Yu Tsai authored
In Allwinner's SDK the A80 is clocked to 1008 MHz by default. Signed-off-by:
Chen-Yu Tsai <wens@csie.org> Acked-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Philipp Tomsich authored
The A80 can support 8-bit eMMC with reset on the PC pingroups. Signed-off-by:
Chen-Yu Tsai <wens@csie.org> Acked-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Philipp Tomsich authored
Now that DRAM initialization and clock setup is supported, we can enable SPL for the A80. [wens@csie.org: Added commit message] Signed-off-by:
Chen-Yu Tsai <wens@csie.org> Acked-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Philipp Tomsich authored
This is a cleaned up version set_pll() from Allwinner's boot0 source (bootloader/basic_loader/bsp/bsp_for_a80/common/common.c). [wens@csie.org: Added commit message; style cleanup] Signed-off-by:
Chen-Yu Tsai <wens@csie.org> Acked-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Philipp Tomsich authored
Since the A80 has many cores which we intend to use in SMP fashion, we should set the SMP bit for the boot CPU. [wens@csie.org: Added commit message] Signed-off-by:
Chen-Yu Tsai <wens@csie.org> Acked-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Philipp Tomsich authored
On sun9i, the GTBUS manages transaction priority and bandwidth for multiple read ports when accessing DRAM. The initialisation mirrors the settings from Allwinner's boot0 for now, even though this may not be optimal for all applications (e.g. headless systems might want to give priority to IO modules). Adding a common callout to gtbus_init() from the SPL clock init with a weakly defined implementation in sunxi/clock.c to fallback to for platforms that don't require this. [wens@csie.org: Moved gtbus_sun9i.c to arch/arm/mach-sunxi/; style cleanup] Signed-off-by:
Chen-Yu Tsai <wens@csie.org> Acked-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Philipp Tomsich authored
This adds DRAM initialisation code for sun9i, which calculates the appropriate timings based on timing information for the supplied DDR3 bin and the clock speeds used. With this DRAM setup, we have verified DDR3 clocks of up to 792MHz (i.e. DDR3-1600) on the A80-Q7 using a dual-channel configuration. [wens@csie.org: Moved dram_sun9i.c to arch/arm/mach-sunxi/; style cleanup] Signed-off-by:
Chen-Yu Tsai <wens@csie.org> [hdegoede@redhat.com: Drop some huge non-documenting #if 0 ... #endif blocks] [hdegoede@redhat.com: Fix checkpatch warnings] Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Stefan Brüns authored
mksunxiboot is useful outside of u-boot, it is e.g. used by sunxi-tools. Signed-off-by:
Stefan Brüns <stefan.bruens@rwth-aachen.de> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Amit Singh Tomar authored
Mostly by adding MACH_SUN50I to some existing #ifdefs enable support for the the HCI0 USB host controller on the A64. Fix up some minor 64-bit hiccups on the way. Add the bare minimum DT bits to the A64 .dtsi and enable the controllers and the PHY on the Pine64. This is limited to the first USB controller at the moment, which is connected to the lower USB socket on the Pine64 board. [Andre: remove unneeded defines, enable OHCI, add commit message] Signed-off-by:
Amit Singh Tomar <amittomer25@gmail.com> Signed-off-by:
Andre Przywara <andre.przywara@arm.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Stefan Mavrodiev authored
Originally dram clock was set to 480MHz, but this behaves unstable. To improve stability the clock is reduced to 384MHz Signed-off-by:
Stefan Mavrodiev <stefan.mavrodiev@gmail.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Andre Przywara authored
The sun8i-emac driver works fine with the A64 Ethernet IP, but we are missing an alias entry to trigger the driver instantiation by U-Boot. Add the line to point U-Boot to the Ethernet DT node. This enables TFTP boot on the Pine64. Signed-off-by:
Andre Przywara <andre.przywara@arm.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Masahiro Yamada authored
ARCH_SUNXI selects DM_USB, where CONFIG_USB_MAX_CONTROLLER_COUNT is not used. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
Jagan Teki authored
CONFIG_SUNXI -> CONFIG_ARCH_SUNXI and removed CONFIG_SUNIX from config_whitelist.txt Cc: Simon Glass <sjg@chromium.org> Cc: Ian Campbell <ijc@hellion.org.uk> Cc: Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Jagan Teki <jteki@openedev.com> Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
- Oct 29, 2016
-
-
Tom Rini authored
This was turned off by accident, re-enble. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Jagan Teki authored
Signed-off-by:
Jagan Teki <jagan@openedev.com>
-
Stephen Warren authored
ARMv7 Tegra boards aren't currently covered by any other travis-ci jobs. Add a new job to build them. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Stephen Warren authored
Use buildman to compile any U-Boot binary tested by test/py. This re-uses all the work done elsewhere to make buildman work within Travis-CI, in particular related to toolchain downloading and buildman config file creation. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Stephen Warren authored
Invoking exit prevents any subsequent build commands from running, and future patches will add extra commands. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Stephen Warren authored
This places build results into a board-specific directory rather than a buildman-thread-specific directory. This is required so that we can access the directory from test.py, and there's no risk of a particular build's results being over-written by another build performed by the same thread. In theory, this can lead to slower builds when building many different boards in a single buildman thread, since it removes the possibility of incremental builds between boards. In practice however I didn't notice longer build times when when enabling this option; if anything build times decreased although I suspect that's simply due to general variations in build performance across different machines within the Travis CI infra-structure. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Stephen Warren authored
Any time an x86 toolchain is used, we need to edit ~/.buildman to reference it. Move the editing logic into a central place so that it doesn't have to be duplicated everywhere that uses the x86 toolchain; future patches will add additional cases where it's used. It would be nice if we could unconditionally write all of ~/.buildman at once. Unfortunately, buildman fails if any toolchain mentioned in a toolchain-prefix entry doesn't exist, even if it doesn't need to use it for the current build. The sandbox/x86 build definition currently does nothing more than edit ~/.buildman; no builds are run. Fix this by not defining a custom script for this build, and hence preventing that stanza from replacing the default script. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Stephen Warren authored
The phrase "if [ $? -ne 0 ]; then exit $?; fi" doesn't work correctly; by the time the "exit" statement runs, $? has already been over-written by the result of the [ command. Fix this by explicitly storing $? and then using that stored value in both the test and the error-case exit statement. This change also converts from textual comparison to integer comparison, since the exit code is an integer and there's no need to convert it to a string for comparison. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Stephen Warren authored
Travis CI seems to be confused when there's a colon in an echo command, and this is currently worked around using a variable that contains the text we want to echo. Use = syntax instead so that we can remove the work-around; it's rather confusing until you find out what it's for. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Stephen Warren authored
There were two sub-jobs to build arm1136. Remove the duplicate. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Stephen Warren authored
Travis CI names sub-jobs after the first environment variable that is set for a script. This doesn't produce meaningful results for any of the non- buildman jobs. Add a dummy variable to give the jobs meaningful names. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- Oct 28, 2016
-
-
git://git.denx.de/u-boot-atmelTom Rini authored
-
Wenyou Yang authored
Add driver model support while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not. Signed-off-by:
Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Acked-by:
Stephen Warren <swarren@nvidia.com>
-
Wenyou Yang authored
Enable an early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by:
Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Wenyou Yang authored
If 'ethaddr' is not set, we will get the ethernet address from AT24MAC, and set it to 'ethaddr' variable. Signed-off-by:
Wenyou Yang <wenyou.yang@atmel.com> Signed-off-by:
Songjun Wu <songjun.wu@microchip.com> Reviewed-by:
Andreas Bießmann <biessmann@corscience.de>
-
Wenyou Yang authored
Since the introduction of pinctrl and clk driver, and the dts file, remove unneeded the pin configurations and the clock enabling code. Signed-off-by:
Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Wenyou Yang authored
Move the config options from the include/configs/sama5d2_xplained.h to configs/sama5d2_xplained_*_defconfig. Signed-off-by:
Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Wenyou Yang authored
Add support to enable an early debug UART for debugging. Signed-off-by:
Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Andreas Bießmann <andreas@biessmann.org>
-
Wenyou Yang authored
Add ATMEL_USART option to support to enable the Atmel usart driver from Kconfig. Signed-off-by:
Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by:
Andreas Bießmann <andreas@biessmann.org>
-
Wenyou Yang authored
Due to the peripheral and generated clock driver improvement, remove the unnecessary clock calling. Signed-off-by:
Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by:
Jaehoon Chung <jh80.chung@samsung.com>
-
Wenyou Yang authored
Due to the peripheral clock driver improvement, remove the unnecessary clock calling. Signed-off-by:
Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by:
Andreas Bießmann <andreas@biessmann.org>
-
Wenyou Yang authored
Change the error return value -ENODEV from to -EINVAL for more reasonable. Signed-off-by:
Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Wenyou Yang authored
Due to the peripheral clock driver improvement, remove the unnecessary clock calling. Signed-off-by:
Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Wenyou Yang authored
Due to the peripheral clock driver improvement, remove the unnecessary clock calling. Signed-off-by:
Wenyou Yang <wenyou.yang@atmel.com> Acked-by:
Stephen Warren <swarren@nvidia.com>
-
Wenyou Yang authored
For the peripheral clock, provide the clock ops for the clock provider, such as spi0_clk. The .of_xlate is to get the clk->id, the .enable is to enable the spi0 peripheral clock, the .get_rate is to get the clock frequency. The driver for periph32ck node is responsible for recursively binding its children as clk devices, not provide the clock ops. So do the generated clock and system clock. Signed-off-by:
Wenyou Yang <wenyou.yang@atmel.com> Acked-by:
Stephen Warren <swarren@nvidia.com>
-
Wenyou Yang authored
In order to make clk->dev available in ops->of_xlate() to get the clock ID from the 'reg' property of the clock node, assign the clk->dev before calling ops->of_xlate(). Signed-off-by:
Wenyou Yang <wenyou.yang@atmel.com> Acked-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Simon Glass <sjg@chromium.org>
-