- Jul 15, 2016
-
-
Simon Glass authored
When swig is not available, we can still build correctly. So make this optional. Add a comment about how to enable this build. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a Python version of the libfdt library which contains enough features to support the dtoc tool. This is only a very bare-bones implementation. It requires the 'swig' to build. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the Makefile to call dtoc to create the C header and source files, then build these into the image. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This tool can produce C struct definitions and C platform data tables. This is used to support the of-platdata feature. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This Python library provides a way to access the contents of the device tree. It uses fdtget, so is inefficient for larger device tree files. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add documentation on how this works, including the benefits and drawbacks. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a Kconfig option to enable this feature. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We cannot access the device tree in this case, so avoid compiling in the various device-tree helper functions. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
When this feature is enabled, we cannot access the device tree to find out which serial device to use. Just use the first serial driver we find. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add support for this feature in the core clock code. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This header can be included from anywhere, but will only pull in the of-platdata struct definitions when this feature is enabled (and only in SPL). Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a driver which uses of-platdata to obtain its platform data. This can be used to test the feature in sandbox. It displays the contents of its platform data. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Provide a new function which can cope with obtaining information from of-platdata instead of the device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a placeholder for now so that this code will compile. It currently does nothing. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
When CONFIG_SPL_OF_PLATDATA is enabled we should not access the device tree. Remove all references to this in the core driver-model code. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Since SPL needs the of-platdata structures, build these before starting to build any SPL components. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
When this feature is enabled, we should not access the device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Start up the test devices. These print out of-platdata contents, providing a check that the of-platdata feature is working correctly. The device-tree changes are made to sandbox.dts rather than test.dts. since the former controls the of-platdata generation. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
It is useful to be able to build SPL for sandbox. It provides additional build coverage and allows SPL features to be tested in sandbox. However it does not need worthwhile to always create an SPL build. It nearly doubles the build time and the feature is (so far) seldom used. So for now, create a separate build target for sandbox SPL. This allows experimentation with this new feature without impacting existing workflows. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
SPL does not support an LCD display so there is no need to sync the video when there is serial output. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
These functions are not supported in SPL, so drop them. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add an sandbox implementation for the generic SPL framework. This supports locating and running U-Boot proper. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
SPL does not have a command interface so we should not include the main loop code. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
PCI is not supported in SPL for sandbox, so avoid using it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
These headers are needed in case they are not transitively included. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The dm/ file should go at the end. Move it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
When building an SPL image, override the link flags so that it uses the system libraries. This is similar to the way the non-SPL image is built. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
SPL is expected to load and run U-Boot. This needs to work with sandbox also. Provide a function to locate the U-Boot image, and another to start it. This allows SPL to function on sandbox as it does on other archs. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Overriding the final link rule is possible with U-Boot proper. It us used to create a sandbox image links with host libraries. To build a sandbox SPL image we need the same feature for SPL. To support this, update the SPL link rule so sandbox can override it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This file does not appear to use I2C, so drop this include. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This option is now widely available, so remove the comment that it is only available on ARM and sandbox. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Sandbox includes this code to provide build coverage. While we retain this feature we should have sandbox build it. Sandbox does not in fact use the I2C compatibility mode. Showing a warning for sandbox is just confusing, since no conversion is expected. Drop the warning for sandbox. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Jul 14, 2016
-
-
Tom Rini authored
Upon further review this breaks most other platforms as we need to check what core we're running on before touching it at all. This reverts commit d73718f3. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jul 12, 2016
-
-
git://git.denx.de/u-boot-x86Tom Rini authored
-
Simon Glass authored
With the change to set up pinctrl after relocation, link fails to boot. Add a special case in the link code to handle this. Fixes: d8906c1f (x86: Probe pinctrl driver in cpu_init_r()) Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
George McCollister authored
Add support for Advantech SOM-DB5800 with the SOM-6867 installed. This is very similar to conga-qeval20-qa3-e3845 in that there is a reference carrier board (SOM-DB5800) with a Baytrail based SoM (SOM-6867) installed. Currently supported: - 2x UART (From ITE EC on SOM-6867) routed to COM3/4 connectors on SOM-DB5800. - 4x USB 2.0 (EHCI) - Video - SATA - Ethernet - PCIe - Realtek ALC892 HD Audio Pad configuration for HDA_RSTB, HDA_SYNC, HDA_CLK, HDA_SDO HDA_SDI0 is set in DT to enable HD Audio codec. Pin defaults for codec pin complexs are not changed. Not supported: - Winbond Super I/O (Must be disabled with jumpers on SOM-DB8500) - USB 3.0 (XHCI) - TPM Signed-off-by:
George McCollister <george.mccollister@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Bin Meng authored
If global NVS says internal UART is not enabled, hide it in the ASL code so that OS won't see it. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
George McCollister <george.mccollister@gmail.com> Tested-by:
George McCollister <george.mccollister@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
Now that platform-specific ACPI global NVS is added, pack it into ACPI table and get its address fixed up. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
George McCollister <george.mccollister@gmail.com> Tested-by:
George McCollister <george.mccollister@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
This introduces quark-specific ACPI global NVS structure, defined in both C header file and ASL file. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Bin Meng authored
This introduces baytrail-specific ACPI global NVS structure, defined in both C header file and ASL file. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
George McCollister <george.mccollister@gmail.com> Tested-by:
George McCollister <george.mccollister@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-