diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-19 16:28:23 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-25 08:47:52 +0900 |
commit | b35fb6ace67202b6f668f744f958a5ef66665151 (patch) | |
tree | 467fb4f842a3800469f32b180b2acbc403f60077 /board/isee/igep00x0/igep00x0.c | |
parent | 5f4e32d058755a93a9cc43ea9998195a3ef13aa2 (diff) | |
download | u-boot-b35fb6ace67202b6f668f744f958a5ef66665151.tar.gz |
board: constify struct node_info array
Add 'const' (also 'static' in some places) to struct node_info
arrays to save memory footprint.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'board/isee/igep00x0/igep00x0.c')
-rw-r--r-- | board/isee/igep00x0/igep00x0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c index 45a414c153..367af82d4a 100644 --- a/board/isee/igep00x0/igep00x0.c +++ b/board/isee/igep00x0/igep00x0.c @@ -157,7 +157,7 @@ static int ft_enable_by_compatible(void *blob, char *compat, int enable) int ft_board_setup(void *blob, bd_t *bd) { #ifdef CONFIG_FDT_FIXUP_PARTITIONS - static struct node_info nodes[] = { + static const struct node_info nodes[] = { { "ti,omap2-nand", MTD_DEV_TYPE_NAND, }, { "ti,omap2-onenand", MTD_DEV_TYPE_ONENAND, }, }; |