- Aug 09, 2017
-
-
Adam Ford authored
The driver is for all boards 24XX and up, so let's eliminate the extra option called CONFIG_SYS_I2C_OMAP34XX since the driver checks for CONFIG_OMAP34XX we don't need CONFIG_SYS_I2C_OMAP34XX. Signed-off-by:
Adam Ford <aford173@gmail.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Wenyou.Yang@microchip.com authored
Add missing probe function to the device driver to active a device. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
- Aug 08, 2017
-
-
Tom Rini authored
Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Aug 07, 2017
-
-
git://git.denx.de/u-boot-netTom Rini authored
-
Alexandru Gagniuc authored
Signed-off-by:
Alexandru Gagniuc <alex.g@adaptrum.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Alexandru Gagniuc authored
Signed-off-by:
Alexandru Gagniuc <alex.g@adaptrum.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Sebastien Bourdelin authored
The environment variable "disable_giga" can now be used to disable 1000baseTx on the Micrel's KSZ9031. Signed-off-by:
Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Denis Pynkin authored
PXE boot is broken with GCC 7.1 due option '-fstore-merging' enabled by default for '-O2': BOOTP broadcast 1 data abort pc : [<8ff8bb30>] lr : [<00004f1f>] reloc pc : [<17832b30>] lr : [<878abf1f>] sp : 8f558bc0 ip : 00000000 fp : 8ffef5a4 r10: 8ffed248 r9 : 8f558ee0 r8 : 8ffef594 r7 : 0000000e r6 : 8ffed700 r5 : 00000000 r4 : 8ffed74e r3 : 00060101 r2 : 8ffed230 r1 : 8ffed706 r0 : 00000ddd Flags: nzcv IRQs off FIQs off Mode SVC_32 Resetting CPU ... Core reason is usage of structures for network headers without packed attribute. Reviewed-by:
Yauheni Kaliuta <yauheni.kaliuta@redhat.com> Signed-off-by:
Denis Pynkin <denis.pynkin@collabora.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Holger Dengler authored
Add missing "defined" statement to fix the compile failures. Signed-off-by:
Holger Dengler <dengler@linutronix.de> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Arun Parameswaran authored
Added the AFE (Analog Front End) settings for stability to the Broadcom Cygnus phy. This improves the time take to perform auto negotiation. Signed-off-by:
Arun Parameswaran <arun.parameswaran@broadcom.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Suji Velupillai authored
move to Kconfig: CONFIG_BCM_SF2_ETH CONFIG_BCM_SF2_ETH_DEFAULT_PORT CONFIG_BCM_SF2_ETH_GMAC Also modified defconfigs of all platforms that use these configs. Signed-off-by:
Suji Velupillai <suji.velupillai@broadcom.com> Tested-by:
Suji Velupillai <suji.velupillai@broadcom.com> Reviewed-by:
JD Zheng <jiandong.zheng@broadcom.com> Reviewed-by:
Scott Branden <scott.branden@broadcom.com> Signed-off-by:
Steve Rae <steve.rae@raedomain.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Alexandru Gagniuc authored
The correct option is PHY_MICREL_KSZ90X1, but some configs still select the 9021 and 9031 options, which are deprecated. Signed-off-by:
Alexandru Gagniuc <alex.g@adaptrum.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Alexandru Gagniuc authored
There should be no longer be any ksz9000 users that pick up the PHY driver from ksz8xxx, so remove ksz9000 remnants from there. Signed-off-by:
Alexandru Gagniuc <alex.g@adaptrum.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Alexandru Gagniuc authored
These boards will now use the ksz90x1 driver instead of the mess in ksz8xxx. This change is needed before the two drivers can be fully separated. Signed-off-by:
Alexandru Gagniuc <alex.g@adaptrum.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Alexandru Gagniuc authored
The KS8721BL and KSZ9021 PHYs are software-incompatible, yet they share the same ID. Drivers for bothe PHYs cannot safely coexist, so the solution was to use #ifdefs to select between the two drivers. As a result KSZ9031, which has a unique ID, is now caught in the crossfire. Unless CONFIG_PHY_MICREL_KSZ9031 is defined, the KSZ9031 will not function properly, as some essential configuration code is ifdef'd-out. To prevent such situations, move the KSZ9000 drivers to a separate file, and place them under a separate Kconfig option. While it is possible to enable both KSZ8000 and KSZ9000 drivers at the same time, the assumption is that it is highly unlikely for a system to contain both a KSZ8000 and a KSZ9000 PHY, and that only one of the drivers will be enabled at any given time. Signed-off-by:
Alexandru Gagniuc <alex.g@adaptrum.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Alexandru Gagniuc authored
Signed-off-by:
Alexandru Gagniuc <alex.g@adaptrum.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Vladimir Zapolskiy authored
For strncpy() select a minimal string length of destination and source strings, here DEFAULT_NAME_LEN is preferable to MAX_LEN. Due to the NUL-terminated contents of default_string the change is a noop, however it removes a compilation warning if SH2/3/4 platform specific strncpy() function is used: In file included from include/linux/string.h:21:0, from include/common.h:28, from net/tftp.c:9: net/tftp.c: In function 'tftp_start': arch/sh/include/asm/string.h:52:42: warning: array subscript is above array bounds [-Warray-bounds] : "0" (__dest), "1" (__src), "r" (__src+__n) Signed-off-by:
Vladimir Zapolskiy <vz@mleia.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Joe Hershberger authored
Don't wait forever. Pass errors back to the caller. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Joe Hershberger authored
The register constants don't use the exact names that are used in the TRM, so add comments that use the exact names so that it is clear what register is being referred to. https://www.atheros-drivers.com/qualcomm-atheros-datasheets-for-AR9331.html Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Acked-by:
Marek Vasut <marex@denx.de>
-
Philipp Tomsich authored
After upgrading to GCC 7.1, the duplicate const specifies in the r8152 driver trigger the following build warnings with buildman (observed on a 'buildman rockchip' test):: ../drivers/usb/eth/r8152.c:62:35: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] static const struct r8152_version const r8152_versions[] = { ^~~~~ This commit fixes these by removing the duplicate 'const' specifier from the declarations. Signed-off-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Masahiro Yamada authored
This is only used in cmd/net.c Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Jimmy Du authored
Previously seeded by obtaining mac addr from env. If mac addr was never set, rand would output 0. This fix obtains the mac addr from driver instead. Signed-off-by:
Jimmy Du <jimmy.du@ni.com> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Christian Gmeiner authored
phy_device_create(..) sets the addr of phy_device with a sane value. There is no need overwrite it. Signed-off-by:
Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by:
Hannes Schmelzer <oe5hpm@oevsv.at> Tested-by:
Hannes Schmelzer <oe5hpm@oevsv.at> Acked-by:
Joe Hershberger <joe.hershberger@ni.com>
-
eric.gao@rock-chips.com authored
Add support for rk3288 mipi dsi. Signed-off-by:
Eric Gao <eric.gao@rock-chips.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
eric.gao@rock-chips.com authored
Signed-off-by:
Eric Gao <eric.gao@rock-chips.com> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
eric.gao@rock-chips.com authored
Add rk3288 soc specific driver for mipi dsi. Signed-off-by:
Eric Gao <eric.gao@rock-chips.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
eric.gao@rock-chips.com authored
Add Makefile item for soc specific driver for rk3399 mipi dsi. Signed-off-by:
Eric Gao <eric.gao@rock-chips.com> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
eric.gao@rock-chips.com authored
To compatible with different rockchip soc, we split the mipi dirver into common and soc specific parts, and all the soc share the common functions from common driver part. Signed-off-by:
Eric Gao <eric.gao@rock-chips.com> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> [agust: fix build breakage and warnings] Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
eric.gao@rock-chips.com authored
The mipi panel used on evb-rk3399 has a 1920x1200 resolution. But now the max resolution is 1920x1080. So increase it. Signed-off-by:
Eric Gao <eric.gao@rock-chips.com> Acked-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
Bin Meng authored
This is not used in U-Boot. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com>
-
Bin Meng authored
This is not used in U-Boot. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com>
-
Bin Meng authored
This is not used in U-Boot. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com>
-
Bin Meng authored
This is not used in U-Boot. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com>
-
- Aug 05, 2017
-
-
Thomas Petazzoni authored
The environment has pretty much nothing to do with just "PPC", so rename the macros to just __UBOOT_ENV_SECTION__ which is more readable. In addition, only a single macro is needed: the environment now goes either to the default section (USE_HOSTCC is defined) or in the .text section. Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Thomas Petazzoni authored
CONFIG_SYS_USE_PPCENV is no longer used anywhere. It was used to put the environment in the special .ppcenv section, but the last architecture using this section (SuperH) has been changed to not use it. Therefore, this commit drops support for CONFIG_SYS_USE_PPCENV entirely. We only handle two cases: - We're building the host tool tools/envcrc, in which case the environment is place with no special section attribute (so it depends up in .data) - We're building U-Boot itself, in which case the environnement is placed in the .text section. Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Adam Ford authored
This converts the following to Kconfig: CONFIG_SYS_TEXT_BASE The includes, whitelist, etc. were left for now but I don't get any build errors or warnings on the omap3_logic_defconfig or am3517_evm_defconfig builds I tried. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Patrice Chotard authored
fix the following compilation error reported by buidlman: arm: + stm32f429-discovery +arch/arm/mach-stm32/stm32f4/soc.c: In function 'arch_cpu_init': +arch/arm/mach-stm32/stm32f4/soc.c:30:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode + for (int i = 0; i < ARRAY_SIZE(stm32_region_config); i++) + ^ +arch/arm/mach-stm32/stm32f4/soc.c:30:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code +make[3]: *** [arch/arm/mach-stm32/stm32f4/soc.o] Error 1 +make[2]: *** [arch/arm/mach-stm32/stm32f4] Error 2 +make[1]: *** [arch/arm/mach-stm32] Error 2 +make: *** [sub-make] Error 2 Signed-off-by:
Patrice Chotard <patrice.chotard@st.com> Acked-by:
Vikas Manocha <vikas.manocha@st.com>
-
Wenyou.Yang@microchip.com authored
Fix the UART input clock for the early debug UART, it should be 100MHz, instead of 88MHz. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com>
-
Wenyou.Yang@microchip.com authored
Add the dts files to support deivce tree, update the configuration files to support the device tree and driver model. The peripheral clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Wenyou.Yang@microchip.com authored
Add the dts files to support deivce tree, update the configuration files to support the device tree and driver model. The peripheral clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-