ARM: MXS: allow configuration of EMI clock prescaler
Allow to set not only the fractional divider, but also the prescaler for
the EMI clock in mxs_mem_init_clock(), and rename the parameters
accordingly to reflect the change. Port the existing board code to set
up the EMI clock explicitely with the old values. Also fix the
off-by-a-half error in the comments, which did not take the prescaler of
2 into account, on which the fractional divider is applied (according to
the i.MX23/i.MX28 Reference Manuals)

Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b9d14c7 commit 59871972698b5587829d3bbb0639f8ccde2587cb
@Roland Hieber Roland Hieber authored on 13 Aug 2018
Sascha Hauer committed on 14 Aug 2018
Showing 6 changed files
View
arch/arm/boards/duckbill/lowlevel.c
View
arch/arm/boards/freescale-mx28-evk/lowlevel.c
View
arch/arm/boards/imx233-olinuxino/lowlevel.c
View
arch/arm/boards/karo-tx28/lowlevel.c
View
arch/arm/mach-mxs/include/mach/init.h
View
arch/arm/mach-mxs/mem-init.c