projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ed84e7
)
arm: fsl: csu: Reduce size of ns_dev
author
Sean Anderson
<sean.anderson@seco.com>
Mon, 17 Oct 2022 15:45:12 +0000
(11:45 -0400)
committer
Peng Fan
<peng.fan@nxp.com>
Tue, 18 Oct 2022 01:32:53 +0000
(09:32 +0800)
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>
include/fsl_csu.h
patch
|
blob
|
history
diff --git
a/include/fsl_csu.h
b/include/fsl_csu.h
index 0e59ac3c324da84caea56bc96ccfdabf8fe52159..40c296879791cf4636f5f3025a5c79af476390ee 100644
(file)
--- a/
include/fsl_csu.h
+++ b/
include/fsl_csu.h
@@
-24,8
+24,8
@@
enum csu_cslx_access {
};
struct csu_ns_dev {
- u
nsigned long
ind;
- u
int32_t
val;
+ u
8
ind;
+ u
8
val;
};
void enable_layerscape_ns_access(void);