[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250729103816.5354a528@canb.auug.org.au>
Date: Tue, 29 Jul 2025 10:38:16 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Mark Brown <broonie@...nel.org>, Miquel Raynal
<miquel.raynal@...tlin.com>, Boris Brezillon
<boris.brezillon@...labora.com>
Cc: Gabor Juhos <j4g8y7@...il.com>, Linux Kernel Mailing List
<linux-kernel@...r.kernel.org>, Linux Next Mailing List
<linux-next@...r.kernel.org>
Subject: linux-next: manual merge of the spi tree with the nand tree
Hi all,
Today's linux-next merge of the spi tree got a conflict in:
include/linux/mtd/nand-qpic-common.h
between commit:
8e37aaf97153 ("mtd: nand: qpic-common: remove a bunch of unused defines")
from the nand tree and commit:
0dc7e656ddd5 ("mtd: nand: qpic-common: add defines for ECC_MODE values")
from the spi tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc include/linux/mtd/nand-qpic-common.h
index ed692d87be50,4e694b1aabbd..000000000000
--- a/include/linux/mtd/nand-qpic-common.h
+++ b/include/linux/mtd/nand-qpic-common.h
@@@ -92,8 -99,13 +92,10 @@@
/* NAND_DEV0_ECC_CFG bits */
#define ECC_CFG_ECC_DISABLE BIT(0)
#define ECC_SW_RESET BIT(1)
-#define ECC_MODE 4
#define ECC_MODE_MASK GENMASK(5, 4)
+ #define ECC_MODE_4BIT 0
+ #define ECC_MODE_8BIT 1
-#define ECC_PARITY_SIZE_BYTES_BCH 8
#define ECC_PARITY_SIZE_BYTES_BCH_MASK GENMASK(12, 8)
-#define ECC_NUM_DATA_BYTES 16
#define ECC_NUM_DATA_BYTES_MASK GENMASK(25, 16)
#define ECC_FORCE_CLK_OPEN BIT(30)
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists