summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7/mx5/clock.c
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>2012-08-14 05:19:12 +0000
committerTom Rini <trini@ti.com>2012-10-15 11:54:13 -0700
commitdd227b6ea018e9cefc1a5a3b367e6cdec4bfb45e (patch)
tree93da73432cfe998d7db2de5e3f95eccdc798102b /arch/arm/cpu/armv7/mx5/clock.c
parent51535d9f6f701aac88873986edfeb5c5e49ea6a0 (diff)
downloadblackbird-obmc-uboot-dd227b6ea018e9cefc1a5a3b367e6cdec4bfb45e.tar.gz
blackbird-obmc-uboot-dd227b6ea018e9cefc1a5a3b367e6cdec4bfb45e.zip
mx5: Optimize lowlevel_init code size
Optimize mx5 lowlevel_init.S code size: - Compute values at compile time rather than at runtime where possible. - Assign r4 to hold the zero value rather than setting registers to 0 again and again. - Associate a function to setup_pll rather than expanding its large macro code multiple times. - Allocate constant values in section only if used. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Stefano Babic <sbabic@denx.de> Tested-by: Stefano Babic <sbabic@denx.de> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/cpu/armv7/mx5/clock.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud