- 22 8月, 2019 16 次提交
-
-
由 Chuanhua Han 提交于
Since i2c uses dm mode, i2c controller will be initialized when reading and writing devices on i2c bus. So there is no need for the original non-dm mode i2c early initialization function call, this patch removed the definition of CONFIG_SYS_I2C_EARLY_INIT. Signed-off-by: NChuanhua Han <chuanhua.han@nxp.com> Reviewed-by: NAlex Marginean <alexm.osslist@gmail.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
由 Chuanhua Han 提交于
Add some slave nodes to support the i2c dm on the device side under the i2c0. Signed-off-by: NChuanhua Han <chuanhua.han@nxp.com> Reviewed-by: NAlex Marginean <alexm.osslist@gmail.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
由 Chuanhua Han 提交于
As no gpio.h is defined for this architecture, to avoid compilation failure, do not include <asm/arch/gpio.h> for arch ls1028a. Signed-off-by: NChuanhua Han <chuanhua.han@nxp.com> Reviewed-by: NAlex Marginean <alexm.osslist@gmail.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
由 Chuanhua Han 提交于
DM_I2C_COMPAT is a compatibility layer that allows using the non-DM I2C API when DM_I2C is used.When DM_I2C_COMPAT is not enabled for compilation, a compilation error will be generated. This patch solves the problem that the i2c-related api of the ls1028a platform does not support dm. Signed-off-by: NChuanhua Han <chuanhua.han@nxp.com> Reviewed-by: NAlex Marginean <alexm.osslist@gmail.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
由 Chuanhua Han 提交于
Enable related configs on all lx2160ardb boards to support pcf2127 rtc DM feature. Also remove SYS_I2C_MXC_I2Cx, where x is from 1 to 8 from Kconfig. Signed-off-by: NChuanhua Han <chuanhua.han@nxp.com> Signed-off-by: NBiwen Li <biwen.li@nxp.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
由 Chuanhua Han 提交于
Add the pcf2127-rtc node under the i2c0->i2c-mux@77->i2c@3 in dts for lx2160aqds boards. Signed-off-by: NChuanhua Han <chuanhua.han@nxp.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
由 Chuanhua Han 提交于
Lx2160ardb need to use i2c0 before relocation, so we also need to set u-boot, dm-pre-reloc to initialize node before relocation. Signed-off-by: NChuanhua Han <chuanhua.han@nxp.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
由 Chuanhua Han 提交于
Adds the pcf2127-rtc node under the i2c4 node dts of lx2160ardb boards. Signed-off-by: NChuanhua Han <chuanhua.han@nxp.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
由 Chuanhua Han 提交于
In lx2160a soc, there are eight i2c controllers, this patch adds i2c nodes for lx2160a, and the gpio2 nodes on which the i2c4 controller depends. Signed-off-by: NChuanhua Han <chuanhua.han@nxp.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
由 Chuanhua Han 提交于
As no gpio.h is defined for this architecture, to avoid compilation failure, do not include <asm/arch/gpio.h> for arch ls2160a. Signed-off-by: NChuanhua Han <chuanhua.han@nxp.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
由 Chuanhua Han 提交于
I2C dm mode enablemenet causes below compilation errors: In file included from include/config.h:8:0, from include/common.h:20: include/config_fallbacks.h:51:4: error: #error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is used" # error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is used" ^~~~~ In file included from include/config.h:8:0, from include/common.h:20: include/config_fallbacks.h:51:4: error: #error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is used" # error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is used" ^~~~~ board/freescale/lx2160a/lx2160a.c: In function 'board_early_init_f': board/freescale/lx2160a/lx2160a.c:108:2: warning: implicit declaration of function 'i2c_early_init_f'; did you mean 'arch_early_init_r'? [-Wimplicit-function-declaration] i2c_early_init_f(); ^~~~~~~~~~~~~~~~ arch_early_init_r drivers/i2c/mxc_i2c.c: In function 'mxc_i2c_probe': drivers/i2c/mxc_i2c.c:824:8: warning: implicit declaration of function 'enable_i2c_clk'; did you mean 'enable_irq_wake'? [-Wimplicit-function-declaration] ret = enable_i2c_clk(1, bus->seq); ^~~~~~~~~~~~~~ enable_irq_wake So fix these compilation errors. Signed-off-by: NChuanhua Han <chuanhua.han@nxp.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
由 Chuanhua Han 提交于
DM_I2C_COMPAT is a compatibility layer that allows using the non-DM I2C API when DM_I2C is used. When DM_I2C_COMPAT is not enabled for compilation, a compilation error will be generated. This patch solves the problem that the i2c-related api of the lx2160a platform does not support dm. Signed-off-by: NChuanhua Han <chuanhua.han@nxp.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
由 Ashish Kumar 提交于
Move CONFIG_FSL_QSPI from header file to defconfigs, consequently unset imply config(CONFIG_SPI_FLASH_BAR) which is not valid for LS series. Signed-off-by: NAshish Kumar <Ashish.Kumar@nxp.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
由 Yuantian Tang 提交于
Select BOARD_LATE_INIT for ls1028ardb and ls1028aqds targets so that late init work can be done. Signed-off-by: NYuantian Tang <andy.tang@nxp.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
由 Yuantian Tang 提交于
This driver needs modification to work with new soc, like ls1028, since bitmap of RCFG is changed to RESV[7:5] LIVE[4] WDEN[3] RESV[2:1] GO[0] 000 1 0 00 0 Also the RCW location is moved to only dutcfg0. RESV[7:4] RCWSRC[3:0] 1111 configurable Following commands are functional now qixis_reset qixis_reset sd qixis_reset qspi qixis_reset emmc Signed-off-by: NAshish Kumar <Ashish.Kumar@nxp.com> Signed-off-by: NYuantian Tang <andy.tang@nxp.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
由 Meenakshi Aggarwal 提交于
MC firmware need to be aligned to 512M, so minimum 512MB DDR is reserved. But MC support to work with 128MB or 256MB DDR memory also, in this case, rest of the memory is not usable. So reporting this extra memory to Linux through dtb memory fixup. Signed-off-by: NMeenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
-
- 21 8月, 2019 8 次提交
-
-
由 Tom Rini 提交于
- Assorted bugfixes
-
由 Tom Rini 提交于
- More DaVinci cleanups - Other minor omap2plus cleanups
-
由 Michal Simek 提交于
Based on discussion with Stephen Warren there was recommendation to list both memory and random command dependencies just in case that dependency is not properly handled by Kconfig. Fixes: a09c1f7e ("test/py: Fix MMC/SD block write test dependency") Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Acked-by: NStephen Warren <swarren@nvidia.com>
-
由 Heinrich Schuchardt 提交于
Building easylogo with `HOST_TOOLS_ALL=y make tools` results in a build warning due to a possible buffer overrun: tools/easylogo/easylogo.c:453:4: note: ‘sprintf’ output between 7 and 262 bytes into a destination of size 256 sprintf (str, "%s, 0x%02x", app, *dataptr++); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Truncate the output to fit into the destination buffer. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Uwe Kleine-König 提交于
I failed to find where these two files are used and a few test compile runs with JFFS2 enabled succeeded also without these.
-
由 Fabien Parent 提交于
Add support for the MT8183 in the MediaTek MMC driver. Signed-off-by: NFabien Parent <fparent@baylibre.com>
-
由 Heinrich Schuchardt 提交于
Looking at the contents of file .mailmap it seems that some editors assumed that translation is done by entering multiple lines into the file and the last one replaces the others. This is not how it works. The translation occurs according to entries in single lines as described in the git-check-mailmap man-page. Add a description of the file format. Add an entry for Alexander Graf as his old email address is not valid anymore. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
-
由 Andreas Dannenberg 提交于
The earlier commit.... commit a5a5d997 ("spl: Allow performing BSS init early before board_init_f()") ...introduced the ability to use BSS from SPL's board_init_f() as it may be required in certain exceptional use cases so go ahead and update the README to reflect this change. Note that as highlighted with the changes the use of the associated CONFIG option is generally not recommended. Signed-off-by: NAndreas Dannenberg <dannenberg@ti.com> Reviewed-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
- 20 8月, 2019 14 次提交
-
-
由 Suniel Mahesh 提交于
With DM_MMC enabled, enable CONFIG_BLK to remove this compile warning for am43xx based targets: ===================== WARNING ====================== This board does not use CONFIG_DM_MMC. Please update the board to use CONFIG_DM_MMC before the v2019.04 release. Failure to update by the deadline may result in board removal. See doc/driver-model/MIGRATION.txt for more info. ==================================================== Targets were compile tested, build was clean. Signed-off-by: NSuniel Mahesh <sunil.m@techveda.org>
-
由 Suniel Mahesh 提交于
TI HS platforms generate *dtb_HS binary blobs and there is no rule for cleanup. Added entry for cleanup in clean-files target. Signed-off-by: NSuniel Mahesh <sunil.m@techveda.org> Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
-
由 Suman Anna 提交于
The commit 1b42ab3e ("ARM: DRA7: Fixup DSPEVE, IVA and GPU clock frequencies based on OPP") updates the kernel device-tree blob to adjust the DSP, IVA and GPU DPLL clocks based on a one-time OPP choice selected in U-Boot. All these DPLL clocks are children of the cm_core_aon clocks DT node. The hierarchy of this clocks DT node has changed in newer Linux kernels starting from v5.0, and this results in a failure in ft_fixup_clocks() function to update the clock rates on these newer kernels. Fix this by updating the lookup logic to look through both the newer and older DT hierarchy paths for the cm_core_aon clocks node. Signed-off-by: NSuman Anna <s-anna@ti.com>
-
由 Yegor Yefremov 提交于
Signed-off-by: NYegor Yefremov <yegorslists@googlemail.com>
-
由 Adam Ford 提交于
There is an #ifdef with nothing inside it any longer. This patch removes this empty #ifdef Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Adam Ford 提交于
The Kconfig file calls to ti/common/Kconfig twice which makes several of the menu items repeat themselves. In an effort to clean this up, this patch removes the second call which eliminates the duplicate menu items. Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Adam Ford 提交于
Now that SPL supports DM_SERIAL and the direct NOR boot supports DM_SERIAL, the check to see if DM_SERIAL is defined can go away, because all da850evm variants now support DM_SERIAL. This patch simply removes some dead precompiler defines. Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Adam Ford 提交于
With SPL now supporting DM_SPI, the need for compiler directives and hard-coded addresses is obsolete. This patch removes some dead legacy code defining the SPI base address Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Adam Ford 提交于
The OMAPL138-lcdk has two USB controllers which are currently disabled. This patch enables them. Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Andrew F. Davis 提交于
Like we did with 'fit_loadaddr' to 'addr_fit', the variable 'fit_bootfile' contains a name and so should be prefixed with name_. Make this change here. Signed-off-by: NAndrew F. Davis <afd@ti.com>
-
由 Andrew F. Davis 提交于
This is the first part of a larger effort I would like to propose to unify and simplify the default set of environment variables. When many early environment variables were named there were fewer images being loaded, usually just a kernel. At this time names like 'loadaddr' would suffice. Now we have more images and many more commands that act on them, often re-using the same variable for several different uses. The contents of a variable are also not immediately known causing one to have to look up a chain of variables to understand what a command is actually doing. I suggest the following. To start, all variables containing names should be prefixed with name_ and addresses with addr_. This is like how K2 already does things and allows for simple universal commands like: get_fdt_nfs=nfs ${addr_fdt} /boot/${name_fdt} Which is very clear on what is intended here and would work across all board that using the this naming convention. We can do this one variable at a time, start here with addr_fit. Signed-off-by: NAndrew F. Davis <afd@ti.com> Acked-by: NAndreas Dannenberg <dannenberg@ti.com>
-
由 Andrew F. Davis 提交于
The variable 'name_overlays' serves the same purpose. Remove 'overlay_files' and use 'name_overlays' everywhere. Signed-off-by: NAndrew F. Davis <afd@ti.com>
-
由 Yegor Yefremov 提交于
The full path has changed in the recent kernels so that it is not possible to load them. Aliases "ethernet0" and "ethernet1" are still present in both legacy and new kernels. Also, fix error messages to correspond to the taken actions. Signed-off-by: NYegor Yefremov <yegorslists@googlemail.com>
-
- 19 8月, 2019 2 次提交
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip由 Tom Rini 提交于
- Add ROC-RK3399-PC board support - Move CONFIG_SPI_FLASH_GIGADEVICE and CONFIG_CMD_USB_MASS_STORAGE to Kconfig - using SYSRESET_POWER_OFF for poweroff (Note that patch for rk8xx pmic is droped for it can not pass Travis build) - fix ofnode_get_name() assert
-
https://gitlab.denx.de/u-boot/custodians/u-boot-x86由 Tom Rini 提交于
- QEMU build warning fix when CONFIG_DISTRO_DEFAULTS=n - Small fixes on x86 reST docs - Allow CBFS to be used in SPL - Remove x86 specific GD flags
-