- Jun 12, 2016
-
-
Marek Vasut authored
Add missing parenthesis around the variable into the macro. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com>
-
Marek Vasut authored
Extend the boot device autodetection from SAMA5D2 only to the entire SAMA5Dx family of microcontrollers. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Andreas Bießmann <andreas.devel@googlemail.com> Cc: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by:
Andreas Bießmann <andreas@biessmann.org> [minor compile fix for SAMA5D2] Signed-off-by:
Andreas Bießmann <andreas@biessmann.org>
-
Andre Renaud authored
This board is based on Snapper 9G45 which has an Atmel AT91SAM9G45 chip and 128MB of SDRAM. It includes a small LCD, 2xUSB host, SD card, Ethernet and two UARTs. Signed-off-by:
Andre Renaud <andre@designa-electronics.com> Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Andreas Bießmann <andreas@biessmann.org> [apply CONFIG_BOOTDELAY transition] Signed-off-by:
Andreas Bießmann <andreas@biessmann.org>
-
Simon Glass authored
Add these definitions so that GPIOs can be used with driver model. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de> Tested-on: smartweb, corvus, taurus, axm Tested-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Andreas Bießmann <andreas@biessmann.org>
-
Andre Renaud authored
Add register definitions for the AT91 RTC so that this can potentially be used in U-Boot. Signed-off-by:
Andre Renaud <andre@designa-electronics.com> Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Andreas Bießmann <andreas@biessmann.org>
-
Simon Glass authored
Add this file from Linux v4.5. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de> Tested-on: smartweb, corvus, taurus, axm Tested-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Andreas Bießmann <andreas@biessmann.org>
-
Simon Glass authored
At present CONFIG_SKIP_LOWLEVEL_INIT prevents U-Boot from calling lowlevel_init(). This means that the instruction cache is not enabled and the board runs very slowly. What is really needed in many cases is to skip the call to lowlevel_init() but still perform CP15 init. Add an option to handle this. Reviewed-by:
Heiko Schocher <hs@denx.de> Tested-on: smartweb, corvus, taurus, axm Tested-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Andreas Bießmann <andreas@biessmann.org>
-
Andre Renaud authored
This is available on AT91SAM9G45. Add the peripheral address and flag definitions. Signed-off-by:
Andre Renaud <andre@designa-electronics.com> Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Andreas Bießmann <andreas@biessmann.org>
-
Keerthy authored
Currently omap_vcores which holds pmic data is being assigned based on the SoC type. PMIC is not a part of SoC. It is logical to to assign omap_vcores based on board type. Hence over ride the vcores_init function and assign omap_vcores based on the board type. Reported-by:
Nishanth Menon <nm@ti.com> Signed-off-by:
Keerthy <j-keerthy@ti.com>
-
- Jun 10, 2016
-
-
Yuan Yao authored
This patch adds QSPI boot support for LS2080AQDS board. The QSPI boot image need to be programmed into the QSPI flash first. Then we can switch to booting from QSPI memory space. Signed-off-by:
Yuan Yao <yao.yuan@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Yuan Yao authored
Signed-off-by:
Yuan Yao <yao.yuan@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Yuan Yao authored
Add QSPI controller and slave dts node for LS2080AQDS board. Signed-off-by:
Yuan Yao <yao.yuan@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Yuan Yao authored
QSPI module output SCLK divisor value is configured through SCFG. Signed-off-by:
Yuan Yao <yao.yuan@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Pratiyush Mohan Srivastava authored
Environment variable mcinitcmd is defined to initiate MC and DPL deployment from the location where it is stored (NOR, NAND, SD, SATA, USB) during booting. If this variable is not defined then macro MC_BOOT_ENV_VAR will be null and MC will not be booted and DPL will not be applied during U-boot booting. Signed-off-by:
Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com> Signed-off-by:
Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Yunhui Cui authored
The SP805-WDT module on LS2080A requires configuration of PMU's PCTBENR register to enable watchdog counter decrement and reset signal generation. The watchdog clock needs to be enabled first. Signed-off-by:
Yunhui Cui <yunhui.cui@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Siarhei Siamashka authored
Currently the AHB1 clock speed is configured as 200MHz by the SPL, but this causes a subtle and hard to reproduce data corruption in SRAM C (for example, this can't be easily detected with a trivial memset/memcmp test). For what it's worth, the Allwinner's BSP configures AHB1 as 200MHz, as can be verified by running the devmem2 tool in the system running the Allwinner's kernel 3.10.x: 0x1C20028: PLL_PERIPH0_CTRL_REG = 0x90041811 0x1C20054: AHB1_APB1_CFG_REG = 0x3180 0x1C20058: APB2_CFG_REG = 0x1000000 0x1C2005C: AHB2_CFG_REG = 0x1 However the FEL mode uses more conservative settings (100MHz for AHB1): 0x1C20028: PLL_PERIPH0_CTRL_REG = 0x90041811 0x1C20054: AHB1_APB1_CFG_REG = 0x3190 0x1C20058: APB2_CFG_REG = 0x1000000 0x1C2005C: AHB2_CFG_REG = 0x0 It is yet to be confirmed whether faster AHB1/AHB2 clock settings can be used safely if we initialize the AXP803 PMIC instead of using reset defaults. But in order to resolve the data corruption problem right now, it's best to downclock AHB1 to a safe level. Note that this issue only affects the SPL, which is not fully supported on Allwinner A64 yet and it should not affect the boot0 usage (unless somebody can confirm SRAM C corruption with the boot0 too). Signed-off-by:
Siarhei Siamashka <siarhei.siamashka@gmail.com> Acked-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com>
-
- Jun 09, 2016
-
-
Heiko Schocher authored
In the draco CPU board family, etamin is a new variant with bigger flash and more RAM. Due to new flash that uses larger pages (4K) some changes are necessary because it impacts the MTD partition layout and the ubi mount parameters. Signed-off-by:
Samuel Egli <samuel.egli@siemens.com> Signed-off-by:
Heiko Schocher <hs@denx.de> [trini: Move BOOTDELAY into defconfig, just always be 3 now] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Heiko Schocher authored
support in omap_nand_switch_ecc() also an eccstrength from 16. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
U-Boot SPL 2016.03-rc3-00019-g6dfb4c2-dirty (Mar 09 2016 - 07:40:06) SHC C3-Sample MPU reference clock runs at 6 MHz Setting MPU clock to 594 MHz Enabling Spread Spectrum of 18 permille for MPU Trying to boot from MMC reading u-boot.img reading u-boot.img U-Boot 2016.03-rc3-00019-g6dfb4c2-dirty (Mar 09 2016 - 07:05:35 +0100) Watchdog enabled I2C: ready DRAM: 512 MiB reloc off 1f783000 MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Net: cpsw U-Boot# Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
make this function weak, so board code can setup in SPL MMC init with board special values. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
Heiko Schocher authored
Enable Spread Spectrum for the MPU by calculating the required values and setting the registers accordingly. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Heiko Schocher authored
add missing CM_CLKMODE_DPLL_SSC_ACK_MASK, CM_CLKMODE_DPLL_SSC_DOWNSPREAD_MASK and CM_CLKMODE_DPLL_SSC_TYPE_MASK defines. Used for enabling spread spectrum. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Heiko Schocher authored
add missing: OMAP_GPIO_IRQSTATUS_SET_0 and OMAP_GPIO_IRQSTATUS_SET_1 registers. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- Jun 08, 2016
-
-
Masahiro Yamada authored
I noticed secondary CPUs sometimes fail to wake up, and the root cause is that the sev instruction wakes up slave CPUs before the preceding the register write is observed by them. The read-back of the accessed register does not guarantee the order. In order to ensure the order between the register write and the sev instruction, a dsb instruction should be executed prior to the sev. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
This code auto-detects the best-match FDT file name, but it should respect the user's choice if "fdt_file" environment is found in a saved set of environments. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
Because setenv() may fail, it is better to check its return code. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
This function is shared between PH1-LD11 and PH1-LD20. The difference is the boot-mode latch for the USB boot mode. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
The Boot ROM on PH1-LD11/LD20 exports built-in APIs to load images from an eMMC device. They are useful to reduce the memory footprint of SPL, rather than compiling the whole MMC framework. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Jun 07, 2016
-
-
Michael Heimpold authored
Both comments look like being copy & paste errors. Signed-off-by:
Michael Heimpold <michael.heimpold@i2se.com> Cc: Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by:
Peng Fan <peng.fan@nxp.com>
-
- Jun 06, 2016
-
-
Andre Przywara authored
Some SPL loaders (like Allwinner's boot0, and Broadcom's boot0) require a header before the actual U-Boot binary to both check its validity and to find other data to load. Sometimes this header may only be a few bytes of information, and sometimes this might simply be space that needs to be reserved for a post-processing tool. Introduce a config option to allow assembler preprocessor commands to be inserted into the code at the appropriate location; typical assembler preprocessor commands might be: .space 1000 .word 0x12345678 Signed-off-by:
Andre Przywara <andre.przywara@arm.com> Signed-off-by:
Steve Rae <srae@broadcom.com> Commit Notes: Please note that the current code: start.S (arm64) and vectors.S (arm) already jumps over some portion of data already, so this option basically just increases the size of this region (and the resulting binary). For use with Allwinner's boot0 blob there is a tool called boot0img[1], which fills the header to allow booting A64 based boards. For the Pine64 we need a 1536 byte header (including the branch instruction) at the moment, so we add this to the defconfig. [1] https://github.com/apritzel/pine64/tree/master/tools END Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Ladislav Michl authored
Signed-off-by:
Ladislav Michl <ladis@linux-mips.org> Acked-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
-
Alexander Graf authored
To quit an EFI application we will need logic to jump to the caller of a function without returning from the function we called into, so we need setjmp/longjmp functionality. This patch introduces a trivial implementation of these that I verified works on armv7, thumb2 and aarch64. Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Peter Howard authored
Signed-off-by:
Peter Howard <phoward@gme.net.au>
-
Michal Simek authored
0xc000 is not sufficient page table size if dc4 with 4 gems is enabled. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
zc1751-dc4 contains four GEMs. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Jun 04, 2016
-
-
Marek Vasut authored
Repair typos in the previous "arm: lib: fix push/pop-section directives" patch, which prevented VCMA9 board from building. Signed-off-by:
Marek Vasut <marex@denx.de> Fixes: b2f18584 ("arm: lib: fix push/pop-section directives") Cc: Tom Warren <twarren@nvidia.com> Cc: Simon Glass <sjg@chromium.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Stephen Warren <swarren@nvidia.com>
-
- Jun 03, 2016
-
-
Prabhakar Kushwaha authored
QorIQ LS1012A FREEDOM (LS1012AFRDM) is a high-performance development platform, with a complete debugging environment. The LS1012AFRDM board supports the QorIQ LS1012A processor and is optimized to support the high-bandwidth DDR3L memory and a full complement of high-speed SerDes ports. Signed-off-by:
Shengzhou Liu <Shengzhou.Liu@nxp.com> Signed-off-by:
Calvin Johnson <calvin.johnson@nxp.com> Signed-off-by:
Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com> Signed-off-by:
Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Prabhakar Kushwaha authored
QorIQ LS1012A Reference Design System (LS1012ARDB) is a high-performance development platform, with a complete debugging environment. The LS1012ARDB board supports the QorIQ LS1012A processor and is optimized to support the high-bandwidth DDR3L memory and a full complement of high-speed SerDes ports. Signed-off-by:
Calvin Johnson <calvin.johnson@nxp.com> Signed-off-by:
Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com> Signed-off-by:
Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Prabhakar Kushwaha authored
QorIQ LS1012A Development System (LS1012AQDS) is a high-performance development platform, with a complete debugging environment. The LS1012AQDS board supports the QorIQ LS1012A processor and is optimized to support the high-bandwidth DDR3L memory and a full complement of high-speed SerDes ports. Signed-off-by:
Calvin Johnson <calvin.johnson@nxp.com> Signed-off-by:
Pratiyush Mohan Srivastava <pratiyush.srivastava@nxp.com> Signed-off-by:
Abhimanyu Saini <abhimanyu.saini@nxp.com> Signed-off-by:
Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Prabhakar Kushwaha authored
The QorIQ LS1012A processor, optimized for battery-backed or USB-powered, integrates a single ARM Cortex-A53 core with a hardware packet forwarding engine and high-speed interfaces to deliver line-rate networking performance. This patch add support of LS1012A SoC along with - Update platform & DDR clock read logic as per SVR - Define MMDC controller register set. - Update LUT base address for PCIe - Avoid L3 platform cache compilation - Update USB address, errata - SerDes table - Added CSU IDs for SDHC2, SAI-1 to SAI-4 Signed-off-by:
Calvin Johnson <calvin.johnson@nxp.com> Signed-off-by:
Makarand Pawagi <makarand.pawagi@mindspeed.com> Signed-off-by:
Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-