- May 17, 2017
-
-
Bin Meng authored
Before jumping to OS waking up vector, we need turn on ACPI mode for S3, just like what we do for a normal boot. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
To do something more in acpi_resume() like turning on ACPI mode, we need locate ACPI FADT table pointer first. But currently this is done in acpi_find_wakeup_vector(). This changes acpi_resume() signature to accept ACPI FADT pointer as the parameter. A new API acpi_find_fadt() is introduced, and acpi_find_wakeup_vector() is updated to use FADT pointer as the parameter as well. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
enter_acpi_mode() is useful on other boot path like S3 resume, so make it public. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
In enter_acpi_mode() PM1_CNT register is changed to PM1_CNT_SCI_EN directly without preserving its previous value. Update to change the register access to read-modify-write (RMW). Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
Call board_final_cleanup() before write_tables(), so that anything done in board_final_cleanup() on a normal boot path is also done on an S3 resume path. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
When SeaBIOS is being used, U-Boot reserves a memory area to be used for configuration tables like ACPI. But it should not be cleared otherwise ACPI table will be missing. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
At the end of pre-relocation phase, save the new stack address to CMOS and use it as the stack on next S3 boot for fsp_init() continuation function. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
This adds a library that provides CMOS (inside RTC SRAM) access at a very early stage when driver model is not available yet. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
In an S3 resume path, U-Boot does everything like a cold boot except in the last_stage_init() it jumps to the OS resume vector. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
This adds one API acpi_find_wakeup_vector() to locate OS wakeup vector from the ACPI FACS table, to be used in the S3 boot path. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
This adds a wake up stub before jumping to OS wake up vector. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
U-Boot itself as well as everything that is consumed by U-Boot (like heap, stack, dtb, etc) needs to be reserved and reported in the E820 table when S3 resume is on. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
When U-Boot is built without ACPI S3 support, it should not report S3 in the ACPI table otherwise when kernel does STR it won't work. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
Add one member in the global data to store previous sleep state, and display the state during boot in print_cpuinfo(). Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
When ACPI S3 resume is turned on, we should pass different boot mode to FSP init instead of default BOOT_FULL_CONFIG. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
This adds OS_RESUME (0x40) and RESUME_FAILURE (0xed) post codes. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
This adds APIs for determining previous sleep state from ACPI I/O registers, as well as clearing sleep state on BayTrail SoC. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
Bin Meng authored
This introduces a Kconfig option for ACPI S3 resume, as well as a header file to include anything related to ACPI S3 resume. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stefan Roese <sr@denx.de>
-
- May 16, 2017
-
-
git://git.denx.de/u-boot-mmcTom Rini authored
- Add #undef CONFIG_DM_MMC_OPS to omap3_logic in the SPL build case, to match other TI platforms in the same situation. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
git://git.denx.de/u-boot-videoTom Rini authored
-
- May 15, 2017
-
-
Wenyou Yang authored
To fix the timeout of sending the write command, enable the quirk SDHCI_QUIRK_WAIT_SEND_CMD. Signed-off-by:
Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Jernej Skrabec authored
This patch adds support for TV encoder clocks which will be used later. Signed-off-by:
Jernej Skrabec <jernej.skrabec@siol.net>
-
Jernej Skrabec authored
Newer SoCs use same TV encoder unit. Split it out so it can be reused with new DM video driver. Signed-off-by:
Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Philipp Tomsich authored
Due to a typo, the 24 bit-per-pixel configuration ends in 24BMP instead of 24BPP. This change renames it throughout the source tree for consistency and to make moving these options into Kconfig easier and less error-prone. Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Hannes Schmelzer <hannes.schmelzer@br-automation.com>
-
Philipp Tomsich authored
Instead of having drivers/video/rockchip/Kconfig point outside of its hierarchy for dw_hdmi.o, we should use a configuration-option to include the Designware HDMI support. This change introduces a new config option (not to be selected via menuconfig, but to be selected from a dependent video driver's configuration option) that enables dw_hdmi.o and selects it whenever the HDMI support for Rockchip SoCs is selected. Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Jernej Skrabec authored
Some DVI monitors don't work in HDMI mode. Set it only if edid data explicitly states that it is supported. Signed-off-by:
Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Jernej Skrabec authored
Some DVI monitors don't show anything in HDMI mode since audio stream confuses them. To solve this situation, this commit adds HDMI flag in timing data and sets it accordingly during edid parsing. First existence of extension block is checked. If it exists and it is CEA861 extension, then data blocks are checked for presence of HDMI vendor specific data block. If it is present, HDMI flag is set. Signed-off-by:
Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Jernej Skrabec authored
Timing flags are never set, so they may contain garbage. Since some drivers check them, video output may be broken on those drivers. Initialize them to 0 and check for few common flags. Signed-off-by:
Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
git://git.denx.de/u-boot-i2cTom Rini authored
-
Masahiro Yamada authored
Recent commits of DTC introduced new warnings checking PCI and simple buses, unit address formatting, and stricter node and property name checking. Disable the new DTC warnings by default. As before, warnings are enabled with W=*. The strict node and property name checks are a bit subjective, so they are only enabled for W=2. (This policy reflects the commit 8654cb8d0371 of Linux.) Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Adam Ford authored
Enable TI_COMMON_CMD_OPTIONS and remove similar options from the defconfig. Updated with savedefconfig CMD_USB isn't enabled yet. I have some testing to do with musb. Signed-off-by:
Adam Ford <aford173@gmail.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Adam Ford authored
Now that CMD_POWEROFF can turn off the twl4030, let's imply that just incase someone wants to disable it. Signed-off-by:
Adam Ford <aford173@gmail.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Follow the exiting logic for the i.MX options when migrating this option. Cc: Marek Vasut <marex@denx.de> Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Tom Rini authored
The following options are migrated over fully now: - USB_EHCI_ATMEL - USB_EHCI_MARVELL - USB_EHCI_MX6 - USB_EHCI_MX7 - USB_EHCI_MSM - USB_EHCI_ZYNQ - USB_EHCI_GENERIC This also requires fixing the depends on USB_EHCI_MARVELL as it's used by Orion5X and Kirkwood as well. Cc: Marek Vasut <marex@denx.de> Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Tom Rini authored
Migrate the rest of the users of CONFIG_USB_EHCI_HCD over to Kconfig. For a few SoCs, imply or default y this if USB is enabled. In some cases we had not already migrated to CONFIG_USB so do that as well. Cc: Marek Vasut <marex@denx.de> Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Tom Rini authored
In order to be able to migrate the various SoC EHCI CONFIG options we first need to finish the switch from CONFIG_USB_EHCI to CONFIG_USB_EHCI_HCD. Cc: Marek Vasut <marex@denx.de> Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Marek Vasut <marex@denx.de>
-
Tom Rini authored
The symbol CONFIG_OMAP3_LOGIC_USE_NEW_PRODUCT_ID was recently dropped from usage and CONFIG_OMAP3_MICRON_DDR is unused in code. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
The symbol CONFIG_OMAP_VC_I2C_HS_MCODE always uses the default value. Restructure the comment and code such that if a need arises later to use another value we can address this then. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Move this entry to Kconfig. As it is a hardware watchdog, select HW_WATCHDOG. While we could default to enabling this for all platforms, it is currently only enabled by default on AM33XX, so keep that logic today. Cc: Roger Meier <r.meier@siemens.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
This particular quirk is not enabled in any config files today. It does however exist and is handled correctly in device trees and via CONFIG_DM_SPI. So we drop the symbol now and add a comment to indicate that any (new) boards that require this quirk need to enable DM_SPI instead. Signed-off-by:
Tom Rini <trini@konsulko.com>
-