- Jan 21, 2020
-
-
Clearfog Base carrier uses serdes lane #5 as USB host. Use EEPROM stored device identification to configure the serdes accordingly when available. Reviewed-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Baruch Siach <baruch@tkos.co.il>
-
Select the serdes configuration table based on the platform identity read from EEPROM TLV data. Clearfog GTR needs a slightly different serdes configuration. Reviewed-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Baruch Siach <baruch@tkos.co.il>
-
Set the kernel device-tree file (fdtfile environment variable) based on run-time detection of the platform. Reviewed-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Baruch Siach <baruch@tkos.co.il>
-
Use the data from EEPROM TLV to display the board identity. Reviewed-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Baruch Siach <baruch@tkos.co.il>
-
Read RAM die capacity from the EEPROM TLV. Follow the ONIE standard that defines the Vendor Extension entry type for vendor specific data. We have no Private Enterprise Number at the moment as the standard requires. Use the dummy all 0xff value for now. Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Add support for read/write of ONIE "Tlvinfo" EEPROM data format. TLV stands for Type-Length-Value. The data format is described here: https://opencomputeproject.github.io/onie/design-spec/hw_requirements.html#board-eeprom-information-format Based on U-Boot patch from the Open Compute project: https://github.com/opencomputeproject/onie/blob/ec87e872d46b9805565d2c6124b2f701ef1c07b1/patches/u-boot/common/feature-sys-eeprom-tlv-common.patch Keep only I2C EEPROM support. Use the generic eeprom driver. Fix checkpatch issues. Add support for multiple EEPROM TLV stores on the same system. This is useful in case of SOM and carrier that both provide ID and hardware configuration information. Add option to enable for SPL. This allows selection of RAM configuration based on EEPROM stored board identification. Signed-off-by:
Baruch Siach <baruch@tkos.co.il>
-
Add device-tree description for the EEPROM devices on Armada 388 SOM rev 2.1. Another EEPROM is now on Clearfog Pro carrier rev 2.2, and Clearfog Base rev 1.3. Reviewed-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Baruch Siach <baruch@tkos.co.il>
-
Enabled both DDR clock signals to support Clearfog variants (currently, Clearfog GTR) that need both clocks. Reviewed-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Baruch Siach <baruch@tkos.co.il>
-
DDR clock out might be unrelated to the number of active chip-select. For example, the board might have two DDR components, but only one chip-select. The clk_enable mask allows the board to enable DDR clocks regardless of active chip-selects. Reviewed-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Baruch Siach <baruch@tkos.co.il>
-
- Jan 20, 2020
-
-
Tom Rini authored
- Bring in Simon Glass's series that reduces what we have in <common.h> even more.
-
Tom Rini authored
- Based on bionic-20200112 tag from Ubuntu - Add graphviz (Heinrich) Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jan 17, 2020
-
-
This file doesn't include any declarations anymore but it does include other headers. Update the header comment to mention this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
There are many header files included here. Put them all together since the blank lines are not useful. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This is not really a CONFIG since it is not intended to be set by boards. Move it into the compiler header with other similar defines, and rename it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Move this macro in with all the other rounding macros. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
The kernel.h file has a number of useful macros including a few related to structures. Move check_member() there too. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
At present panic() is in the vsprintf.h header file. That does not seem like an obvious choice for hang(), even though it relates to panic(). So let's put hang() in its own header. Signed-off-by:
Simon Glass <sjg@chromium.org> [trini: Migrate a few more files] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
This function is called during init so move it to the init header file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
These functions relate to memory init so move them into the init header. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This function has a very generic name which does not adequately describe its purpose. Rename it and move it to image.h, since it relates to reading a script from an image. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
These three globals relate to image handling. Move them to the image header file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
These global variables are quite short and generic. In fact the same name is more often used locally for struct members and function arguments. Add a image_ prefix to make them easier to distinguish. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Move this function out of common.h and into a relevant header file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This function is only used on ARM devices. Move it out of the common file and to a arch-specific header. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This function related to timer and most of the timer functions are in time.h, so move this function there. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
These three clock functions don't use driver model and should be migrated. In the meantime, create a new file to hold them. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This file is only used by PowerPC so move it to an arch-specific header file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This is an init-related function so belongs in that file. Move it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This function is only used on ARM devices so does not belong in the global common header file. Move it to an ARM header. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
These functions relate to setting up the device tree for booting the OS. The fdt_support.h header file supports similar functions, so move these there. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This file already has lots of type declarations so it seems better to put all of them there. Move them. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This function is not called anywhere so we can drop the declaration. If it is needed one day, it should be added in its own header file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This only exists to control whether the post/ directory is build. It is just as easy to check this in the Makefile. Remove CONFIG_HAS_POST and use an ifdef in the Makefile instead. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
These CONFIG options are not used anymore. CONFIG_POST_ALT_LIST just causes CONFIG_POST_STD_LIST to be set and it causes tests.c to be compiled. So just make compiling tests.c unconditional. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This define seems better suited to the eeprom header file, particularly as it is only used in the eeprom.c file. Move it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This is a network function so let's move it into that header. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This seems pretty old now. It has not been converted to driver model and is not used by any boards. Drop it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
This function is defined in exports.c so move it to its header file. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
This is an init function so move it out of the common header. Avoid using the typedef so that we don't have to include the global_data header file. Also tidy up the function style in comments while we are here. Signed-off-by:
Simon Glass <sjg@chromium.org>
-