Browse Source

arm: fsl: csu: Reduce size of ns_dev

None of the values in this struct are larger than 256, so we can reduce
the members to u8s. This saves around 1K.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Sean Anderson 1 year ago
parent
commit
c4f0de3eec
1 changed files with 2 additions and 2 deletions
  1. 2 2
      include/fsl_csu.h

+ 2 - 2
include/fsl_csu.h

@@ -24,8 +24,8 @@ enum csu_cslx_access {
 };
 
 struct csu_ns_dev {
-	unsigned long ind;
-	uint32_t val;
+	u8 ind;
+	u8 val;
 };
 
 void enable_layerscape_ns_access(void);