- 27 2月, 2018 9 次提交
-
-
由 Bernhard Messerklinger 提交于
Fix commit f1bcad22 ("net: e1000: add support for writing to EEPROM"). Signed-off-by: NBernhard Messerklinger <bernhard.messerklinger@br-automation.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Eugeniy Paltsev 提交于
After commit ba1f9667 ("net: designware: add clock support") we got NET broken on axs101 and axs103 platforms. Some clock don't support gating so their clock drivers don't implement .enable/.disable callbacks. In such case clk_enable returns -ENOSYS. Also some clock drivers implement .enable/.disable callbacks not for all clock IDs and return -ENOSYS (or -ENOTSUPP) for others. If we have such clock in 'clocks' list of designware ethernet controller node we fail to probe designware ethernet. Fix it. Signed-off-by: NEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Reviewed-by: NPatrice Chotard <patrice.chotard@st.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com> Reviewed-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
由 Mario Six 提交于
Fix some style violations in the generic PHY management code. Acked-by: NJoe Hershberger <joe.hershberger@ni.com> Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Fix some style violations in the MDIO command. Acked-by: NJoe Hershberger <joe.hershberger@ni.com> Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Commit 68e6ecad ("net: phy: marvell 88e151x: Fix handling of RGMII interface types") fixed the initialization of 88e151x phys, but made it so that interfaces of type PHY_INTERFACE_MODE_RGMII had both RX and TX delay bits cleared. The default (like in m88e1111s_config) is to have both bits set. Hence, this patch changes the behavior in the PHY_INTERFACE_MODE_RGMII case so that both bits are set. Signed-off-by: NMario Six <mario.six@gdsys.cc> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Mario Six 提交于
Fix some style violations (mostly wrong indentions) in the Marvell PHY driver. Acked-by: NJoe Hershberger <joe.hershberger@ni.com> Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
Make the tsec ethernet driver compatible with a live device tree. Reviewed-by: NSimon Glass <sjg@chromium.org> Acked-by: NJoe Hershberger <joe.hershberger@ni.com> Signed-off-by: NMario Six <mario.six@gdsys.cc>
-
由 Mario Six 提交于
tsec_initialize allocates a private driver structure using malloc. Should the memory allocation of this private structure fail, the function execution is aborted with a return 0, but the previously allocated device structure is never freed, hence leaked. Free the device structure in the error case. Signed-off-by: NMario Six <mario.six@gdsys.cc> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Mario Six 提交于
Signed-off-by: NMario Six <mario.six@gdsys.cc> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
-
- 26 2月, 2018 8 次提交
-
-
-
由 Jean-Jacques Hiblot 提交于
mmc_of_parse() doesn't set a default value if none is available in DT. In that case, use a default 52MHz clock rate. Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com> Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com> Tested-by: NAdam Ford <aford173@gmail.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Jean-Jacques Hiblot 提交于
Some platforms don't have ADMA controllers. For those platforms, compiling it out reduces the size of the binary by about 600 bytes. Leaving the support in doesn't break things as the driver checks at runtime if the ADMA2 controller is present. Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com> Tested-by: NAdam Ford <aford173@gmail.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Jean-Jacques Hiblot 提交于
This reduces the size of the binary by about 196 bytes. Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com> Tested-by: NAdam Ford <aford173@gmail.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Jean-Jacques Hiblot 提交于
The area for struct mmc can be allocated dynamically. It greatly reduces the size of struct omap_hsmmc_plat. This is useful in cases where the board level code declares one or two struct omap_hsmmc_plat because it doesn't use the Driver Model. This saves around 740 bytes for the am335x_evm SPL. Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com> Tested-by: NAdam Ford <aford173@gmail.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
-
-
由 Tom Rini 提交于
Migrate the users of CONFIG_SYS_BOOTCOUNT_ADDR to Kconfig. We can provide a default for BOOTCOUNT_AM33XX as that's a specific part of the RTC in use. We can also provide a default for ARCH_LS1043A and ARCH_LS1021A as they had been previously calculated and their symbols are in Kconfig. In the case of other QE-enabled platforms, they are not so we must update the relevant defconfig files. The previous default only applied in some cases, even on a specific SoC family. Reviewed-by: NLukasz Majewski <lukma@denx.de> Reviewed-by: NAlex Kiernan <alex.kiernan@gmail.com> Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 25 2月, 2018 7 次提交
-
-
由 Fabio Estevam 提交于
Commit d695d662 ("spl: eMMC/SD: Provide one __weak spl_boot_mode() function") breaks the boot on several i.MX6 boards, such as cuboxi and wandboard: U-Boot SPL 2018.03-rc1-00212-g48914fc119 (Feb 10 2018 - 11:04:33 +1300) Trying to boot from MMC1 Failed to mount ext2 filesystem... spl_load_image_ext: ext4fs mount err - 0 Partially revert it so that we can boot U-Boot again on these i.MX6 platforms. Reported-by: NJonathan Gray <jsg@jsg.id.au> Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com> Tested-by: NBreno Lima <breno.lima@nxp.com>
-
由 Philipp Tomsich 提交于
The device-tree node for the PMU clk controller assigns to its parent (i.e. PLL_PPLL) even though this clock currently is set up statically by an init-function. In order to avoid unexpected failures, a simple implementation of set_rate (which accepts requests, but notifies the caller of the preset frequency in its return value) and get_rate (which always returns the preset frequency) are added. Note that this is required for the RK808 PMIC to probe successfully on the RK3399-Q7, following the support for the assigned-clocks property. References: commit f4fcba5c ("clk: implement clk_set_defaults()") Signed-off-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: NKlaus Goger <klaus.goger@theobroma-systems.com>
-
由 Jagan Teki 提交于
TPL offset 0xff704004 is unaligned address which is adding nearest 8-bytes for next instruction, So 0xff704004 is adding 0x20 for proper alignment which is causing the next instruction data 0xefffffff is moved. Hexdump with overlaped bytes: ----------------------------- 0000000 0000 0000 0000 0000 0000 0000 0000 0000 0000010 0000 0000 0000 0000 0000 0000 ffff eaff So, Fix the TEXT_BASE for proper aligned address 0xff704000 Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Acked-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
由 Jagan Teki 提交于
Due to size limitations in SPL by adding falcon mode, rk3288 support TPL. In order to not overlap SPL_TEXT_BASE add TPL_TEXT_BASE with u-boot-tpl.lds that intern call u-boot-spl.lds with proper TEXT_BASE values. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com> Acked-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
由 Philipp Tomsich 提交于
Since commit ba1f9667 ("net: designware: add clock support"), the designware GMAC driver enables all referenced clocks. While this is a no-op for the RK3368 during boot-up (reset behaviour has all the clock gates open anyway), we still need to handle the clock-ids passed in the enable op of the clock-driver and return a success. This change extends the RK3368 clk driver to: (a) provide a enable op (b) signals success to the caller when the clocks for the GMAC are enabled (no actual action is necessary as the gates are open after reset) References: commit ba1f9667 ("net: designware: add clock support") Signed-off-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: NKlaus Goger <klaus.goger@theobroma-systems.com>
-
由 Philipp Tomsich 提交于
Since commit ba1f9667 ("net: designware: add clock support"), the designware GMAC driver enables all referenced clocks. While this is a no-op for the RK3399 during boot-up (reset behaviour has all the clock gates open anyway), we still need to handle the clock-ids passed in the enable op of the clock-driver and return a success. This change extends the enable-op of the rk3399 clk driver to signal success to the caller when the clocks for the GMAC are enabled. References: commit ba1f9667 ("net: designware: add clock support") Signed-off-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: NKlaus Goger <klaus.goger@theobroma-systems.com>
-
由 Jagan Teki 提交于
usdhc4 has eMMC on icore-rqs boards, SPL is not detecting it becuase of u-boot,dm-spl flag so add it to make eMMC working. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
-
- 24 2月, 2018 16 次提交
-
-
由 Alex Kiernan 提交于
Tidy up CONFIG_SYS_BOOTCOUNT_SINGLEWORD from the whitelist as there's no remaining uses of it left. Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com>
-
由 Alex Kiernan 提交于
Convert CONFIG_BOOTCOUNT_ALEN to Kconfig Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com>
-
由 Alex Kiernan 提交于
Make generate boot counter selected in the same way as other boot count drivers Reviewed-by: NLukasz Majewski <lukma@denx.de> Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com>
-
由 Alex Kiernan 提交于
Integrate Boot counter for Atmel AT91SAM9XE into Kconfig Reviewed-by: NLukasz Majewski <lukma@denx.de> Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com>
-
由 Alex Kiernan 提交于
This converts the following to Kconfig: CONFIG_BOOTCOUNT_EXT Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com>
-
由 Alex Kiernan 提交于
This converts the following to Kconfig: CONFIG_BOOTCOUNT_I2C Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com> Reviewed-by: NLukasz Majewski <lukma@denx.de>
-
由 Alex Kiernan 提交于
This converts the following to Kconfig: CONFIG_BOOTCOUNT_RAM Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com> Reviewed-by: NLukasz Majewski <lukma@denx.de>
-
由 Alex Kiernan 提交于
This converts the following to Kconfig: CONFIG_BOOTCOUNT_ENV Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com> Reviewed-by: NLukasz Majewski <lukma@denx.de>
-
由 Alex Kiernan 提交于
This converts the following to Kconfig: CONFIG_BOOTCOUNT_AM33XX Reviewed-by: NLukasz Majewski <lukma@denx.de> Reviewed-by: NHannes Schmelzer <hannes.schmelzer@br-automation.com> Acked-by: NHannes Schmelzer <hannes.schmelzer@br-automation.com> Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com>
-
由 Alex Kiernan 提交于
Reviewed-by: NLukasz Majewski <lukma@denx.de> Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com>
-
由 Alex Kiernan 提交于
CONFIG_BOOTCOUNT was only used in mx53ppd, merge it with CONFIG_BOOTCOUNT_LIMIT Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com> Reviewed-by: NLukasz Majewski <lukma@denx.de> Reviewed-by: NIan Ray <ian.ray@ge.com>
-
-
由 Adam Ford 提交于
With the contents of config_distro_defaults.h migrated to Kconfig, we can remove this header file completely Signed-off-by: NAdam Ford <aford173@gmail.com>
-
由 Adam Ford 提交于
This converts the following to Kconfig: CONFIG_BOOTP_BOOTPATH CONFIG_BOOTP_DNS CONFIG_BOOTP_GATEWAY CONFIG_BOOTP_HOSTNAME CONFIG_BOOTP_PXE CONFIG_BOOTP_SUBNETMASK CONFIG_CMDLINE_EDITING CONFIG_AUTO_COMPLETE CONFIG_SYS_LONGHELP CONFIG_SUPPORT_RAW_INITRD CONFIG_ENV_VARS_UBOOT_CONFIG Signed-off-by: NAdam Ford <aford173@gmail.com> [trini: Re-run the migration] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Philipp Tomsich 提交于
The video drivers (VOP, HDMI encoder, LVDS encoder, MIPI encoder) for Rockchip SOCs are self-contained and are mainly impacted by other changes in the architecture support (e.g. pinctrl, clocking, etc). Let's add these to the list of files maintained as part of the Rockchip port. Signed-off-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-
由 Philipp Tomsich 提交于
This migrates rk_vop (the shared functions used by multiple VOP mini-drivers) to be compatible with a live tree. Unfortunately, there's (i) a lot of tree traversal needed for a VOP (as each active VOP vnode references back to the endpoints in the encoders and vice versa) to configure the connection between VOPs and encoders; (ii) the DTS binding is not too sane and one needs to walk a node's parents (the original code just assumed that the device would live 3 levels above the property linked through a phandle) until a UCLASS_DISPLAY device can be found. As part of the migration, the code for finding the enclosing display device has been changed to not assume a specific depth of nesting (i.e. we walk until we reach the root or find a matching device) and to use the newly introduced (in the same series) ofnode_get_parent() function. Signed-off-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: NKlaus Goger <klaus.goger@theobroma-systems.com> Reviewed-by: NAnatolij Gustschin <agust@denx.de>
-