summaryrefslogtreecommitdiff
path: root/board/compulab/cm_fx6
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-07-19 16:28:23 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-07-25 08:47:52 +0900
commitb35fb6ace67202b6f668f744f958a5ef66665151 (patch)
tree467fb4f842a3800469f32b180b2acbc403f60077 /board/compulab/cm_fx6
parent5f4e32d058755a93a9cc43ea9998195a3ef13aa2 (diff)
downloadu-boot-b35fb6ace67202b6f668f744f958a5ef66665151.tar.gz
u-boot-b35fb6ace67202b6f668f744f958a5ef66665151.tar.bz2
u-boot-b35fb6ace67202b6f668f744f958a5ef66665151.zip
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/compulab/cm_fx6')
-rw-r--r--board/compulab/cm_fx6/cm_fx6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c
index c114cdccbb..d42f57d4b7 100644
--- a/board/compulab/cm_fx6/cm_fx6.c
+++ b/board/compulab/cm_fx6/cm_fx6.c
@@ -519,7 +519,7 @@ int cm_fx6_setup_ecspi(void) { return 0; }
#ifdef CONFIG_OF_BOARD_SETUP
#define USDHC3_PATH "/soc/aips-bus@02100000/usdhc@02198000/"
-struct node_info nodes[] = {
+static const struct node_info nodes[] = {
/*
* Both entries target the same flash chip. The st,m25p compatible
* is used in the vendor device trees, while upstream uses (the