diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-08-14 05:19:12 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 11:54:13 -0700 |
commit | dd227b6ea018e9cefc1a5a3b367e6cdec4bfb45e (patch) | |
tree | 93da73432cfe998d7db2de5e3f95eccdc798102b /doc/README.s5pc1xx | |
parent | 51535d9f6f701aac88873986edfeb5c5e49ea6a0 (diff) | |
download | u-boot-imx-dd227b6ea018e9cefc1a5a3b367e6cdec4bfb45e.zip u-boot-imx-dd227b6ea018e9cefc1a5a3b367e6cdec4bfb45e.tar.gz u-boot-imx-dd227b6ea018e9cefc1a5a3b367e6cdec4bfb45e.tar.bz2 |
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 'doc/README.s5pc1xx')
0 files changed, 0 insertions, 0 deletions