projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bff547
)
ARM: OMAP2+: omap_hwmod: provide space for more hwmod flags
author
Sekhar Nori
<
[email protected]
>
Tue, 14 Mar 2017 12:07:17 +0000
(14:07 +0200)
committer
Tony Lindgren
<
[email protected]
>
Thu, 23 Mar 2017 20:19:26 +0000
(13:19 -0700)
'flags' member of omap_hwmod structure is fast running
out of space with 16 different flags already defined.
Make flags a 32-bit entity so as to allow for more flags.
This results is a ~2.3K data section size increase with
omap2plus_defconfig on v4.11-rc2.
before:
text data bss dec hex filename
8186930
3082444
8252992
19522366
129e33e
vmlinux
after:
text data bss dec hex filename
8186922
3084812
8252992
19524726
129ec76
vmlinux
Signed-off-by: Sekhar Nori <
[email protected]
>
Signed-off-by: Tony Lindgren <
[email protected]
>
arch/arm/mach-omap2/omap_hwmod.h
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/omap_hwmod.h
b/arch/arm/mach-omap2/omap_hwmod.h
index 03310dd80311d0b62f9c61ef4338b3f002be6ae9..7ba9f53145ddbf0c85276542bb3407abb9bfcaac 100644
(file)
--- a/
arch/arm/mach-omap2/omap_hwmod.h
+++ b/
arch/arm/mach-omap2/omap_hwmod.h
@@
-687,7
+687,7
@@
struct omap_hwmod {
struct list_head node;
struct omap_hwmod_ocp_if *_mpu_port;
unsigned int (*xlate_irq)(unsigned int);
- u
16
flags;
+ u
32
flags;
u8 mpu_rt_idx;
u8 response_lat;
u8 rst_lines_cnt;