- Nov 07, 2017
-
-
Klaus Goger authored
The VCC_SD and VCC_SDIO rail should only be powered up to 3.0V on RK3399 platforms. Signed-off-by:
Klaus Goger <klaus.goger@theobroma-systems.com> Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Klaus Goger authored
pinctrl/rockchip.h provides defines that map pin numbers to pin names. Use them to make the dts more human readable. Signed-off-by:
Klaus Goger <klaus.goger@theobroma-systems.com> Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Philipp Tomsich authored
This change updates the USB configuration for the RK3399-Q7 in the DTS: * fixes the OTG board configuration by enabling it ('okay') * improves the speed of 'usb start' by disabling the unused EHCI/OHCI controllers Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by:
Klaus Goger <klaus.goger@theobroma-systems.com>
-
Philipp Tomsich authored
To correctly model the usbhub_enable regulator for U-Boot, we need to change the settings to: * the GPIO polarity is GPIO_ACTIVE_LOW * should be set to inactive (enable-active-low) when boot-on settings are applied * it can be changed at runtime (i.e. remove the always-on) Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by:
Klaus Goger <klaus.goger@theobroma-systems.com>
-
Philipp Tomsich authored
The fixed regulator for overriding BIOS_DISABLE had been modelling backwards (i.e. the GPIO polarity and the enable-active-low/high property had both been inverted), causing the 'regulator' command to always print/expect 'disabled'/'enabled' backwards. This fixes the mix-up and models it correctly: * the GPIO is low-active * the regulator should be enabled (enable-active-high) during boot-on initialisation Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by:
Klaus Goger <klaus.goger@theobroma-systems.com>
-
- Nov 06, 2017
-
-
Chris Brandt authored
Renesas was spelled wrong. Signed-off-by:
Chris Brandt <chris.brandt@renesas.com>
-
Patrice Chotard authored
Uniformize STMicroelectronics copyrights headers for SPEAR related code. Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Patrice Chotard authored
Uniformize STMicroelectronics copyrights headers for STV0991 related code. Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Patrice Chotard authored
Uniformize STMicroelectronics copyrights headers for STM32 related code. Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Patrice Chotard authored
Uniformize all STMicroelectronics copyrights headers for STi related code. Signed-off-by:
Patrice Chotard <patrice.chotard@st.com>
-
Dongjin Kim authored
Looking at the schematic, LDO15 and LDO17 are tied as a power source of a builtin network chipset. The voltage on LDO15 is corrected to 3.3V and the name of LDO17 is corrected to "vdd_ldo17". Signed-off-by:
Dongjin Kim <tobetter@gmail.com> Reviewed-by:
Lukasz Majewski <lukma@denx.de> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
- Nov 01, 2017
-
-
Kever Yang authored
The API for get priv pointer is wrong, fix it. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
- Oct 31, 2017
-
-
Fabio Estevam authored
Add support for the latest MX6QP wandboard variant. Based on Richard Hu's work from Technexion's U-Boot tree. Signed-off-by:
Fabio Estevam <fabio.estevam@nxp.com>
-
- Oct 27, 2017
-
-
Sumit Garg authored
Enable support for loadables in SEC firmware FIT image. Currently support is added for single loadable image. Brief description of implementation: Add two more address pointers (loadable_h, loadable_l) as arguments to sec_firmware_init() api. Create new api: sec_firmware_checks_copy_loadable() to check if loadables node is present in SEC firmware FIT image. If present, verify loadable image and copies it to secure DDR memory. Populate address pointers with secure DDR memory addresses where loadable is copied. Example use-case could be trusted OS (tee.bin) as loadables node in SEC firmware FIT image. Signed-off-by:
Sumit Garg <sumit.garg@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Sumit Garg authored
Change DDR allocated for secure memory from 2 MB to 66 MB. This additional 64 MB secure memory is required for trusted OS running in Trusted Execution Environment using ARMv8 TrustZone. Signed-off-by:
Sumit Garg <sumit.garg@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Ran Wang authored
Signed-off-by:
Ashish Kumar <Ashish.Kumar@nxp.com> Signed-off-by:
Amrita Kumari <amrita.kumari@nxp.com> Signed-off-by:
Ran Wang <ran.wang_1@nxp.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Ran Wang authored
Use Kconfig to select QE-HDLC and USB pin-mux. Signed-off-by:
Ran Wang <ran.wang_1@nxp.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Vasily Khoruzhick authored
Extend DE2 driver with LCD support. Tested on Pinebook which is based on A64 and has ANX6345 eDP bridge with eDP panel connected to it. Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com> [agust: rebased v5 on u-boot-video/master] Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
Vasily Khoruzhick authored
It will be reused in new DM LCD driver. Signed-off-by:
Vasily Khoruzhick <anarsoul@gmail.com>
-
Bin Meng authored
The supported sleep states are generic on Intel processors. Move the ASL definition to the common place. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
On some platforms (eg: Braswell), the FSP will not produce the graphics info HOB unless you plug some cables to the display interface (eg: HDMI) on the board. Add such notes in the FSP video driver. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
Intel Braswell FSP requires SPI controller settings to be locked down, let's do this in the chrryhill.dts and remove previous Kconfig option. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
This reverts commit 1e6ebee6. It's not appropriate to call the Intel SPI driver specific stuff in the FSP codes. We may add a simple DTS property "intel,spi-lock-down" and let the Intel SPI driver call these stuff instead. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com>
-
Bin Meng authored
In an S3 resume path, MRC cache is mandatory. Enforce the dependency in the Kconfig. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
Imply does not work for a Kconfig choice. Update ENV_IS_IN_SPI_FLASH to be the default one for Intel Braswell. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
It was observed that when booting Linux kernel on Intel Cherry Hill board, unexpected crash happens quite randomly. Sometimes kernel just oops, while sometimes kernel throws MCE errors and hangs: mce: [Hardware Error]: Machine check events logged mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 4: c400000000010151 mce: [Hardware Error]: TSC 0 ADDR 130f3f2c0 mce: [Hardware Error]: PROCESSOR 0:406c3 TIME 1508160686 SOCKET 0 APIC 0 microcode 363 This looks like a hardware error per mcelog. After debugging, it seems turning off turbo mode on the processor does not expose this behavior, although U-Boot runs OK with turbo mode on. Suspect it is related to an errata of Braswell processor. To fix this, remove the Braswell cpu driver which does the turbo mode configuration, and switch to use the generic cpu-x86 driver. Also there is a configuration option in the FSP that turns on the turbo mode and that has been turned off too. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Oct 26, 2017
-
-
Icenowy Zheng authored
As the support of EFI boot on Allwinner H3 is broken, we still need to use simplefb to pass the framebuffer to Linux. Add code to setup simplefb for Allwinner DE2 driver. Signed-off-by:
Icenowy Zheng <icenowy@aosc.io> Acked-by:
Maxime Ripard <maxime.ripard@free-electrons.com>
-
Icenowy Zheng authored
Add an option to indicate that the video driver should setup a SimpleFB node that passes the video framebuffer initialized by U-Boot to the operating system kernel. Currently only the Allwinner DE driver uses this option, and the definition of this option in the sunxi-common.h config header is converted to an imply of this option from CONFIG_VIDEO_SUNXI. Signed-off-by:
Icenowy Zheng <icenowy@aosc.io> Acked-by:
Maxime Ripard <maxime.ripard@free-electrons.com>
-
Icenowy Zheng authored
The sunxi DE1 video option used to be CONFIG_VIDEO, which has the same name as the "Enable legacy video support" option in drivers/video/Kconfig. Change the option name to CONFIG_VIDEO_SUNXI, which is really used by Makefile under drivers/video/sunxi/, and defined in sunxi-common.h when CONFIG_VIDEO is selected before this change. Now CONFIG_VIDEO_SUNXI selects CONFIG_VIDEO and the usages of CONFIG_VIDEO in sunxi Kconfig and config headers are all converted to use CONFIG_VIDEO_SUNXI. Signed-off-by:
Icenowy Zheng <icenowy@aosc.io>
-
- Oct 25, 2017
-
-
Maxime Ripard authored
The U-Boot binary may trip over its actual allocated size in the storage. In such a case, the environment will not be readable anymore (because corrupted when the new image was flashed), and any attempt at using saveenv to reconstruct the environment will result in a corrupted U-Boot binary. Reviewed-by:
Andre Przywara <andre.przywara@arm.com> Signed-off-by:
Maxime Ripard <maxime.ripard@free-electrons.com>
-
Maxime Ripard authored
We start to get to the limit of our main U-Boot binary size (with some boards even crossing it). Enable its build using thumb2 to get some extra room. Suggested-by:
Siarhei Siamashka <siarhei.siamashka@gmail.com> Reviewed-by:
Andre Przywara <andre.przywara@arm.com> Tested-by:
Andre Przywara <andre.przywara@arm.com> Signed-off-by:
Maxime Ripard <maxime.ripard@free-electrons.com>
-
Maxime Ripard authored
The Banana Pi M2-Magic is a small board with an Allwinner A33, an eMMC, a wifi chip and some pin headers. Enable support for it. Signed-off-by:
Maxime Ripard <maxime.ripard@free-electrons.com>
-
Quentin Schulz authored
As explained in arch/arm/mach-sunxi/clock_sun8i_a83t.c, clk for CPU clusters is computed as clk = 24*n. However, the current formula is clk = 24*(n-1). This results in a clock set to a frequency that isn't specified as possible for CPUs. Let's use the correct formula. Fixes: f542948b ("sunxi: clk: add basic clocks for A83T") Signed-off-by:
Quentin Schulz <quentin.schulz@free-electrons.com> Acked-by:
Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by:
Jagan Teki <jagan@openedev.com>
-
- Oct 23, 2017
-
-
York Sun authored
Commit 06ad970b ("powerpc: mpc85xx: Implemente workaround for CPU erratum A-007907") clears L1CSR2 for the boot core, but other cores don't run through the workaround. Add similar code for secondary cores to clear DCSTASHID field in L1CSR2 register. Signed-off-by:
York Sun <york.sun@nxp.com>
-
- Oct 22, 2017
-
-
Masahiro Yamada authored
Commit dd74b945 ("ARM: uniphier: use pr_() instead of printf() where appropriate"), but I missed to update this file for some reason. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
UniPhier 32-bit SoCs use CONFIG_SPL_OF_CONTROL. So, many nodes must be marked as dm-pre-reloc to prevent fdtgrep from stripping them off. Sprinkling U-Boot-specific properties all over the place is painful because DT files are synced with Linux from time to time. Split u-boot,dm-pre-reloc out to uniphier-v7-u-boot.dtsi, which is appended to UniPhier V7 DTS before the build. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Jagan Teki <jagan@openedev.com>
-
Masahiro Yamada authored
The option is never enabled by anyone. Remove the code surrounded by its ifdef. This should be handled by the clock/reset drivers. CONFIG_UNIPHIER_ETH in scripts/config_whitelist.txt will be dropped by the next resync. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Oct 20, 2017
-
-
Adam Ford authored
This converts the following to Kconfig: CONFIG_NAND_MXC CONFIG_NAND_OMAP_GPMC CONFIG_NAND_OMAP_GPMC_PREFETCH CONFIG_NAND_OMAP_ELM CONFIG_SPL_NAND_AM33XX_BCH CONFIG_SPL_NAND_SIMPLE CONFIG_SYS_NAND_BUSWIDTH_16BIT Signed-off-by:
Adam Ford <aford173@gmail.com> Reviewed-by:
Heiko Schocher <hs@denx.de> [trini: Finish migration of CONFIG_SPL_NAND_SIMPLE, fix some build issues, add CONFIG_NAND_MXC so we can do CONFIG_SYS_NAND_BUSWIDTH_16BIT] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Oct 19, 2017
-
-
Bin Meng authored
Azalia configuration may be different across boards, hence it's not appropriate to do that in the SoC level. Instead, let's make the SoC update_fsp_azalia_configs() routine as a weak version, and do the actual work in the board codes. So far it seems only som-db5800-som-6867 board enables the Azalia. Move the original codes into som-db5800-som-6867.c. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Stefan Roese <sr@denx.de>
-