diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-08-20 09:00:57 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 18:54:14 (GMT) |
commit | 85d993cef9b8e16431800dfc23e90e23bb144357 (patch) | |
tree | 010a17f5423b84c8b12f857f104ec6a6f5340ba7 /board/freescale | |
parent | 9e0081d573442e7234355f0a043218d15df03933 (diff) | |
download | u-boot-85d993cef9b8e16431800dfc23e90e23bb144357.tar.xz |
mx25: Clean up lowlevel_init
Clean up mx25 lowlevel_init:
- Add comments.
- Do not use write32 repeatedly with the same value in order not to increase
code size.
- Make register values configurable.
- Use macro parameters with default values instead of literal constants.
- Use defined macros instead of duplicating code.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: John Rigby <jcrigby@gmail.com>
Cc: Matthias Weisser <weisserm@arcor.de>
Diffstat (limited to 'board/freescale')
0 files changed, 0 insertions, 0 deletions