- Jun 03, 2017
-
-
Sekhar Nori authored
Enable support for writing to FAT partitions on TI's boards. Signed-off-by:
Sekhar Nori <nsekhar@ti.com>
-
Sekhar Nori authored
Add fallbacks needed to keep all boards building while they are migrated to use Kconfig symbols instead of defines in <board>_config.h files for FAT filesystem. These should eventually go away once Kconfig select or imply statements are put in place and duplicated defines in <board>_config.h removed. Signed-off-by:
Sekhar Nori <nsekhar@ti.com> [trini: Update logic since CMD_FAT / CONFIG_SPL_FAT_SUPPORT are selecting FS_FAT] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Sekhar Nori authored
Since config fallbacks contained in include/config_fallbacks.h come into k2g_evm.h file through ti_armv7_keystone2.h, it should be the last file included. Without this, #define of FAT_WRITE when environment is in FAT does not happen as the environment location is decided later in the file. Similar issues can come with other config fallbacks implemented. Signed-off-by:
Sekhar Nori <nsekhar@ti.com>
-
Sekhar Nori authored
Not all TI Keystone2 EVMs want environment in NAND flash. K2G EVM which has an MMC/SD slot, keep environment in a FAT partition on SD card. Since ti_armv7_keystone2.h defines environment is in NAND, boards which do not follow that have to #undef'ine that configuration. This leads to ugly ordering issues around where exactly the include of ti_armv7_keystone2.h can come in within the k2*_evm.h files. Move environment location to config file of each board. This should make it easy to change it for any one board without affecting all other boards. Signed-off-by:
Sekhar Nori <nsekhar@ti.com>
-
Sekhar Nori authored
Add Kconfig symbols for various configurations supported by FAT filesystem support code. CONFIG_SUPPORT_VFAT has been left out since its force enabled in include/fat.h and probably should get removed at some point. Signed-off-by:
Sekhar Nori <nsekhar@ti.com> [trini: add select FS_FAT for CMD_FAT and SPL_FAT_SUPPORT] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jun 01, 2017
-
-
Simon Glass authored
This updates sandbox to use a live device tree. This means that after relocation (from board_init_r() onwards) it no-longer uses flat device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This PMIC driver (power and GPIO) is used by the sandbox SPMI tests. Update the drivers to support a live device tree so that the tests pass. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Line up this backslash with all the others. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update this driver to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update this driver to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the SPI flash uclass to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This is not needed in this driver. Drop it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This is not needed in this driver. Drop it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the SPI uclass to support a live device tree. Also adjust spi_slave_ofdata_to_platdata() to accept a device instead of a blob and offset. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update this driver and key_matrix to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update this driver so that it works with livetree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the PCI uclass to support livetree. This mostly involves fixing the address decoding from the device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the reset domain uclass to support livetree. Fix the xlate() method which has no callers. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the power domain uclass to support livetree. Fix the xlate() method which has no callers. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the sandbox phy driver to support livetree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the phy uclass to support livetree. Fix the xlate() method which has no callers. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the mailbox uclass to support livetree. Fix the xlate() method in all callers. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Use ut_asserteq() to test equality since this gives a better error message on failure. Also make a few of the tests more specific. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We cannot run this test with livetree since it uses device tree offsets. Mark it as flat tree only. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We cannot access the device tree via an offset when running in livetree mode. Separate out that part of the bus' children tests and mark it as for the flat tree only. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the fixed-rate clock driver to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the clk uclass to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the xlate() method to use ofnode_phandle_args instead of the fdtdec variant. This will allow drivers to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the sandbox flash and hub USB emulators to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the usb uclass to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the adc uclass to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the mmc uclass to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update this driver to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the regulator uclass to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update this driver to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the pmic uclass and all pmics to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We should not be including a PMIC header file in the board config. Move it to a C file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Update the i2c uclass to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add an implementation of strcspn() which returns the number of initial characters that do not match any in a rejection list. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This functions works like strchr() but returns the end of the string if the character is not found. Add an implementation of this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-