mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
nand: Sync with Linux v4.1
Update the NAND code to match Linux v4.1. The previous sync was
from Linux v3.15 in commit 4e67c57125
.
CONFIG_SYS_NAND_RESET_CNT is removed, as the upstream Linux code now
has its own timeout. Plus, CONFIG_SYS_NAND_RESET_CNT was undocumented
and not selected by any board.
Signed-off-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
@@ -19,10 +19,12 @@
|
||||
#define ifc_in32(a) in_le32(a)
|
||||
#define ifc_out32(a, v) out_le32(a, v)
|
||||
#define ifc_in16(a) in_le16(a)
|
||||
#define ifc_out16(a, v) out_le16(a, v)
|
||||
#elif defined(CONFIG_SYS_FSL_IFC_BE)
|
||||
#define ifc_in32(a) in_be32(a)
|
||||
#define ifc_out32(a, v) out_be32(a, v)
|
||||
#define ifc_in16(a) in_be16(a)
|
||||
#define ifc_out16(a, v) out_be16(a, v)
|
||||
#else
|
||||
#error Neither CONFIG_SYS_FSL_IFC_LE nor CONFIG_SYS_FSL_IFC_BE is defined
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user