drivers: qe: add TFABOOT supportAdds TFABOOT support and allows to pick QE firmwareon basis of boot source.Signed-off-by: Pankit Garg <pankit.garg@nxp.com>Signed-off-by: Rajesh Bhagat <rajesh.b
drivers: qe: add TFABOOT supportAdds TFABOOT support and allows to pick QE firmwareon basis of boot source.Signed-off-by: Pankit Garg <pankit.garg@nxp.com>Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>[YS: remove line continuation in quoted string]Reviewed-by: York Sun <york.sun@nxp.com>
show more ...
drivers: qe: Move CONFIG_U_QE to KconfigSigned-off-by: Ran Wang <ran.wang_1@nxp.com>[York S: revised subject line and removed commit message]Reviewed-by: York Sun <york.sun@nxp.com>
ppa/fm/qe: use block layer in ppa/fm/qe driverAt present the MMC subsystem maintains its own list of MMC devices.This cannot work with driver model when CONFIG_BLK is enabled, useblk_dread to rep
ppa/fm/qe: use block layer in ppa/fm/qe driverAt present the MMC subsystem maintains its own list of MMC devices.This cannot work with driver model when CONFIG_BLK is enabled, useblk_dread to replace previous mmc read interface, usemmc_get_blk_desc to get the mmc device property.Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>[York S: reformatted commit message]Reviewed-by: York Sun <york.sun@nxp.com>
SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So
SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So we picked thearea of the file that usually had a full license text and replaced itwith an appropriate SPDX-License-Identifier: entry. Since then, theLinux Kernel has adopted SPDX tags and they place it as the very firstline in a file (except where shebangs are used, then it's second line)and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibilityand in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declaredlicense in the tag as both the before and after are identical in tagcontents. There's also a few places where I found we did not have a tagand have introduced one.Signed-off-by: Tom Rini <trini@konsulko.com>
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/us
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>Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
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 afterrea
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.Signed-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>
QE: Set QE_IRAM_READY after uploading firmwareQE_IRAM_READY should be set only after successfully uploading thefirmware.Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>Reviewed-by: York Sun <york
QE: Set QE_IRAM_READY after uploading firmwareQE_IRAM_READY should be set only after successfully uploading thefirmware.Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
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>
12345