[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220608001030.18813-4-ansuelsmth@gmail.com>
Date: Wed, 8 Jun 2022 02:10:30 +0200
From: Ansuel Smith <ansuelsmth@...il.com>
To: Manivannan Sadhasivam <mani@...nel.org>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
linux-mtd@...ts.infradead.org, linux-arm-msm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Ansuel Smith <ansuelsmth@...il.com>
Subject: [PATCH v5 3/3] mtd: nand: raw: qcom_nandc: reorder qcom_nand_host struct
Reorder qcom_nand_host to save holes in the struct.
Signed-off-by: Ansuel Smith <ansuelsmth@...il.com>
---
drivers/mtd/nand/raw/qcom_nandc.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/nand/raw/qcom_nandc.c b/drivers/mtd/nand/raw/qcom_nandc.c
index 06ee9a836a3b..110f839c9e51 100644
--- a/drivers/mtd/nand/raw/qcom_nandc.c
+++ b/drivers/mtd/nand/raw/qcom_nandc.c
@@ -475,11 +475,13 @@ struct qcom_nand_host {
int cs;
int cw_size;
int cw_data;
- bool use_ecc;
- bool bch_enabled;
int ecc_bytes_hw;
int spare_bytes;
int bbm_size;
+
+ bool codeword_fixup;
+ bool use_ecc;
+ bool bch_enabled;
u8 status;
int last_command;
@@ -490,7 +492,6 @@ struct qcom_nand_host {
u32 clrflashstatus;
u32 clrreadstatus;
- bool codeword_fixup;
int nr_boot_partitions;
struct qcom_nand_boot_partition *boot_partitions;
};
--
2.36.1
Powered by blists - more mailing lists