]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: stm32f7: change setup struct to const
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 29 Oct 2018 14:31:56 +0000 (15:31 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 16 Nov 2018 21:51:58 +0000 (16:51 -0500)
commitc235b087b393f02790608a94d9c15df282abca28
tree3c718c069a8ef72de9c95b6db034962741327553
parentc0765f47d843ff5de891b8f962d69fce2b3dade8
i2c: stm32f7: change setup struct to const

Change static array to const when it is useful to save memory
(move stm32f7_setup=0x18 from .data to .rodata section)

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/i2c/stm32f7_i2c.c