summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2022-10-17 11:45:12 -0400
committerPeng Fan <[email protected]>2022-10-18 09:32:53 +0800
commitc4f0de3eecd951cd5480cdbc9d96c63a4432a521 (patch)
treef364606ebf2f3fd644f8b99624d66f894a6bd695 /include
parent3ed84e73fb59c592c4cdfe3b56cce5cecf30a7da (diff)
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 <[email protected]> Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/fsl_csu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fsl_csu.h b/include/fsl_csu.h
index 0e59ac3c324..40c29687979 100644
--- a/include/fsl_csu.h
+++ b/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);