UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>Thomas reported U-Boot failed to build host tools if libfdt-develpackage is installed because tools include libfdt header
UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>Thomas reported U-Boot failed to build host tools if libfdt-develpackage is installed because tools include libfdt headers from/usr/include/ instead of using internal ones.This commit moves the header code: include/libfdt.h -> include/linux/libfdt.h include/libfdt_env.h -> include/linux/libfdt_env.hand replaces include directives: #include <libfdt.h> -> #include <linux/libfdt.h> #include <libfdt_env.h> -> #include <linux/libfdt_env.h>Change-Id: I6c0f7e50e8b571106627f25ddac008a62bd2994eReported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
UPSTREAM: blk: Remove various places that do flush cache after readAll these places seem to inherit the codes from the MMC driver wherea FIXME was put in the comment. However the correct operation
UPSTREAM: blk: Remove various places that do flush cache after readAll these places seem to inherit the codes from the MMC driver wherea FIXME was put in the comment. However the correct operation afterread should be cache invalidate, not flush.The underlying drivers should be responsible for the cache operation.Remove these codes completely.Change-Id: I8f04c721432753b34e85b19616a0b42d83a633ebSigned-off-by: Bin Meng <bmeng.cn@gmail.com>Reviewed-by: Stefan Roese <sr@denx.de>Reviewed-by: York Sun <york.sun@nxp.com>Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>Reviewed-by: Simon Glass <sjg@chromium.org>Tested-by: York Sun <york.sun@nxp.com>Signed-off-by: Kever Yang <kever.yang@rock-chips.com>(cherry picked from commit 723b43daec7ee2ddb600cfcb9b0253d4a71c3915)
QE: add QE support on SD bootmodify u_qe_init to upload QE firmware from SD card when it is SDbootSigned-off-by: Zhao Qiang <qiang.zhao@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
armv7: ls1021a: Drop macro CONFIG_LS102XAUse CONFIG_ARCH_LS1021A instead.Signed-off-by: York Sun <york.sun@nxp.com>
powerpc: P1025: Remove macro CONFIG_P1025Replace CONFIG_P1025 with ARCH_P1025 in Kconfig and clean upexisting macros.Signed-off-by: York Sun <york.sun@nxp.com>
powerpc: P1021: Remove macro CONFIG_P1021Replace CONFIG_P1021 with ARCH_P1021 in Kconfig and clean upexisting macros.Signed-off-by: York Sun <york.sun@nxp.com>
powerpc: P1012: Drop configuration for P1012P1012 is a single-core version of P1021. There is no P1012 targetconfigured. Drop related macros. P1012 SoC is still supported.Signed-off-by: York Sun
powerpc: P1012: Drop configuration for P1012P1012 is a single-core version of P1021. There is no P1012 targetconfigured. Drop related macros. P1012 SoC is still supported.Signed-off-by: York Sun <york.sun@nxp.com>
treewide: replace #include <asm/errno.h> with <linux/errno.h>Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h havethe same content. (both just wrap <asm-generic/errno.h>)Replace
treewide: replace #include <asm/errno.h> with <linux/errno.h>Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h havethe same content. (both just wrap <asm-generic/errno.h>)Replace all include directives for <asm/errno.h> with <linux/errno.h>.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>[trini: Fixup include/clk.]Signed-off-by: Tom Rini <trini@konsulko.com>
treewide: use #include <...> to include public headersWe are supposed to use #include <...> to include headers in thepublic include paths. We should use #include "..." only for headersin local d
treewide: use #include <...> to include public headersWe are supposed to use #include <...> to include headers in thepublic include paths. We should use #include "..." only for headersin local directories.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Reviewed-by: Simon Glass <sjg@chromium.org>
net: mii: Fix changes made by spatchSome of the changes were a bit too complex.Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
net: mii: Use spatch to update miiphy_registerRun scripts/coccinelle/net/mdio_register.cocci on the U-Boot code base.Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>Reviewed-by: Bin Meng
net: mii: Use spatch to update miiphy_registerRun scripts/coccinelle/net/mdio_register.cocci on the U-Boot code base.Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
board: ls1043ardb: Add micro QE support for ls1043ardbSigned-off-by: Zhao Qiang <qiang.zhao@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
driver: qe: Mask the codes not used for micro QEthere are some code in qe.c not used for micro QE,use "#ifdef CONFIG_QE" to mask them.Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>Reviewed-by:
driver: qe: Mask the codes not used for micro QEthere are some code in qe.c not used for micro QE,use "#ifdef CONFIG_QE" to mask them.Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
qe: move drivers/qe/qe.h to include/fsl_qe.hAs the QE firmware struct is shared with Fman, move the header fileout of drivers/qe/.Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>Reviewed-by: Yo
qe: move drivers/qe/qe.h to include/fsl_qe.hAs the QE firmware struct is shared with Fman, move the header fileout of drivers/qe/.Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
driver/qe: use strncpy instead of strcpystrncpy is safer than strcpy, use it to instead of strcpy.Signed-off-by: Zhao Qiang <B45475@freescale.com>Reviewed-by: York Sun <yorksun@freescale.com>
drivers/qe: transform parameter to compatible typewhen using printf, the parameter type need to be compatibletype, so transform them to compatible typeSigned-off-by: Zhao Qiang <B45475@freescale
drivers/qe: transform parameter to compatible typewhen using printf, the parameter type need to be compatibletype, so transform them to compatible typeSigned-off-by: Zhao Qiang <B45475@freescale.com>Reviewed-by: York Sun <yorksun@freescale.com>
QE/DeepSleep: add QE deepsleep support for mpc85xxMuram will power off during deepsleep, and the microcode of qein muram will be lost, it should be reload when resume.Signed-off-by: Zhao Qiang <
QE/DeepSleep: add QE deepsleep support for mpc85xxMuram will power off during deepsleep, and the microcode of qein muram will be lost, it should be reload when resume.Signed-off-by: Zhao Qiang <B45475@freescale.com>Reviewed-by: York Sun <yorksun@freescale.com>
net: cosmetic: Fix var naming net <-> eth driversUpdate the naming convention used in the network stack functions andvariables that Ethernet drivers use to interact with it.This cleans up the te
net: cosmetic: Fix var naming net <-> eth driversUpdate the naming convention used in the network stack functions andvariables that Ethernet drivers use to interact with it.This cleans up the temporary hacks that were added to this interfacealong with the DM support.This patch has a few remaining checkpatch.pl failures that would be outof the scope of this patch to fix (drivers that are in gross violationof checkpatch.pl).Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>Acked-by: Simon Glass <sjg@chromium.org>
qe/deep-sleep: modify qe deep-sleep for generic boardDeep sleep for generic board is supported now, modify qedeep-sleep code to adapt it.Signed-off-by: Zhao Qiang <B45475@freescale.com>Reviewed
qe/deep-sleep: modify qe deep-sleep for generic boardDeep sleep for generic board is supported now, modify qedeep-sleep code to adapt it.Signed-off-by: Zhao Qiang <B45475@freescale.com>Reviewed-by: York Sun <yorksun@freescale.com>
u_qe: add u_qe_upload_firmware for u_qeSigned-off-by: Zhao Qiang <B45475@freescale.com>Reviewed-by: York Sun <yorksun@freescale.com>
qe: add u-qe support to arm boardls1021 is arm-core and support qe which is u-qe.add u-qe init for arm board.Signed-off-by: Zhao Qiang <B45475@freescale.com>[York Sun: Fix compiling error cause
qe: add u-qe support to arm boardls1021 is arm-core and support qe which is u-qe.add u-qe init for arm board.Signed-off-by: Zhao Qiang <B45475@freescale.com>[York Sun: Fix compiling error caused by u_qe_init()]Reviewed-by: York Sun <yorksun@freescale.com>
net: Merge asm/fsl_enet.h into fsl_mdio.hfsl_enet.h defines the mapping of the usual MII managementregisters, which are included in the MDIO register blockcommon to Freescale ethernet controllers
net: Merge asm/fsl_enet.h into fsl_mdio.hfsl_enet.h defines the mapping of the usual MII managementregisters, which are included in the MDIO register blockcommon to Freescale ethernet controllers. So it shouldn'tdepend on the CPU architecture but it should be actuallypart of the arch independent fsl_mdio.h.To remove the arch dependency, merge the content ofasm/fsl_enet.h into fsl_mdio.h.Some files (like fm_eth.h) were simply including fsl_enet.honly for phy.h. These were updated to include phy.h instead.Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
driver/qe: update status of QE microcodeThis Patch updates error print for QE which should be easily understoodSigned-off-by: Vijay Rai <vijay.rai@freescale.com>Reviewed-by: York Sun <yorksun@fr
driver/qe: update status of QE microcodeThis Patch updates error print for QE which should be easily understoodSigned-off-by: Vijay Rai <vijay.rai@freescale.com>Reviewed-by: York Sun <yorksun@freescale.com>
qe: move immap_qe.h from arch directory into common directoryls1021 is arm-core and supports qe too.Move immap_qe.h into common directory for both arm and powerpc.Signed-off-by: Zhao Qiang <B454
qe: move immap_qe.h from arch directory into common directoryls1021 is arm-core and supports qe too.Move immap_qe.h into common directory for both arm and powerpc.Signed-off-by: Zhao Qiang <B45475@freescale.com>Reviewed-by: York Sun <yorksun@freescale.com>
qe: disable qe when qe-ucode fails to be uploaded for "deep sleep"when qe-ucode fails to be uploaded, "deep sleep" will hang.if there is no qe-ucode, disable qe module for platformswhich support
qe: disable qe when qe-ucode fails to be uploaded for "deep sleep"when qe-ucode fails to be uploaded, "deep sleep" will hang.if there is no qe-ucode, disable qe module for platformswhich support "deep sleep"Signed-off-by: Zhao Qiang <B45475@freescale.com>
12345