04 Oct, 2017
1 commit
-
U-Boot widely uses error() as a bit noisier variant of printf().
This macro causes name conflict with the following line in
include/linux/compiler-gcc.h:# define __compiletime_error(message) __attribute__((error(message)))
This prevents us from using __compiletime_error(), and makes it
difficult to fully sync BUILD_BUG macros with Linux. (Notice
Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)Let's convert error() into now treewide-available pr_err().
Done with the help of Coccinelle, excluing tools/ directory.
The semantic patch I used is as follows:
//
@@@@
-error
+pr_err
(...)
//Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
[trini: Re-run Coccinelle]
Signed-off-by: Tom Rini
01 Aug, 2017
1 commit
-
Signed-off-by: Santan Kumar
Reviewed-by: York Sun
06 Jun, 2017
2 commits
-
We should not have an arch-specific header file in common.h. Adjust the
board files a little so it is not needed, and drop it.Signed-off-by: Simon Glass
-
The declarations should not be in common.h. Move them to the arch-specific
headers.Signed-off-by: Simon Glass
[trini: Fixup thinko defined(FSL_LSCH3) -> defined(CONFIG_FSL_LSCH3)]
Signed-off-by: Tom Rini
18 Apr, 2017
1 commit
-
Use CONFIG_ARCH_LS1021A instead.
Signed-off-by: York Sun
06 Dec, 2016
1 commit
-
Enable the errata-a005697 for ls1012a
Signed-off-by: Changming Huang
Reviewed-by: York Sun
01 Oct, 2016
1 commit
-
Signed-off-by: Tom Rini
Conflicts:
include/configs/dra7xx_evm.h
29 Sep, 2016
1 commit
-
Apply the erratum A006261 for the following Socs:
P2041 rev 2.0, P2040 rev 2.0, P5040 rev 2.0, 2.1Do not apply erratum A006261 for the following Socs:
T4160, T4080, T1040, T1042, T1020, T1022, T2080, T2081Erratum A006261 is applicable for the following Socs:
P1010(1.0, 2.0), P2041(1.0, 1.1, 2.0, 2.1), P2040(1.0, 1.1, 2.0, 2.1),
P3041(1.0, 1.1, 2.0, 2.1), P5010(1.0, 2.0), P5020(1.0, 2.0),
P5021(1.0, 2.0), T4240(1.0, 2.0), P5040(1.0,2.0,2.1).Signed-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat
Reviewed-by: York Sun
28 Sep, 2016
3 commits
-
Currently the controller by default enables the Receive Detect feature in P3
mode in USB 3.0 PHY. However, USB 3.0 PHY does not reliably support receive
detection in P3 mode.
Enabling the USB3 controller to configure USB in P2 mode whenever the Receive
Detect feature is required.Signed-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat -
The functions fdt_fixup_erratum and fdt_fixup_usb_erratum are
fsl/nxp specific. So, make them explicit by renaming them
fsl_fdt_fixup_erratum and fsl_fdt_fixup_usb_erratumSigned-off-by: Sriram Dash
-
The function fdt_fixup_dr_usb is specific to fsl/nxp. So,
make the function name explicit and rename fdt_fixup_dr_usb
into fsl_fdt_fixup_dr_usb.Signed-off-by: Sriram Dash
29 Jun, 2016
1 commit
-
Freescale ARMv8 SoC name ends with "A" to represent ARM SoCs.
like LS2080A, LS1043A, LS1012A.So append "A" to SoC names.
Signed-off-by: Pratiyush Mohan Srivastava
Signed-off-by: Prabhakar Kushwaha
Reviewed-by: York Sun
13 Jun, 2016
3 commits
-
This patch is doing the following:
1. Implementing the errata for LS2080.
2. Adding fixup for fdt for LS2080.Signed-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat -
This patch does the following things:
1. Makes the errata checking code common for PPC and ARM
2. Moves all these static inline functions into a dedicated C fileSigned-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat -
Performs code cleanup for device tree fixup for fsl usb controllers by
making functions to handle these similar errata checking code.Signed-off-by: Rajesh Bhagat
Signed-off-by: Sriram Dash
17 May, 2016
1 commit
-
Add common usb code which usb drivers makes use of it.
Signed-off-by: Mugunthan V N
Reviewed-by: Simon Glass
10 Apr, 2016
4 commits
-
Changes the return type of fdt_usb_get_node_type from char* to int
Signed-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat -
Enables usb device-tree fixup code to incorporate xhci controller
Signed-off-by: Ramneek Mehresh
Signed-off-by: Sriram Dash -
Call fdt_usb_get_node_type() from fdt_fixup_usb_mode_phy_type() to
avoid code duplication.Signed-off-by: Sriram Dash
Signed-off-by: Rajesh Bhagat
Acked-by: Marek Vasut -
Move usb device-tree fixup framework from ehci-fsl.c to common place so
that it can be used by other drivers as well (xhci-fsl.c).Signed-off-by: Ramneek Mehresh
Signed-off-by: Sriram Dash
Acked-by: Marek Vasut