diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-08-20 09:00:57 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 11:54:14 -0700 |
commit | 85d993cef9b8e16431800dfc23e90e23bb144357 (patch) | |
tree | 010a17f5423b84c8b12f857f104ec6a6f5340ba7 /include | |
parent | 9e0081d573442e7234355f0a043218d15df03933 (diff) |
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 'include')
0 files changed, 0 insertions, 0 deletions