Benoît Thébaudeau
85d993cef9
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>
2012-10-15 11:54:14 -07:00
..
2011-04-27 19:38:10 +02:00
2012-10-01 10:02:15 -07:00
2011-09-07 21:46:40 +02:00
2012-03-19 00:08:26 +01:00
2012-10-03 02:04:22 +02:00
2012-09-01 14:58:14 +02:00
2012-09-01 14:58:21 +02:00
2012-09-27 11:20:10 -07:00
2010-04-13 09:13:12 +02:00
2012-09-05 17:33:26 -05:00
2012-09-01 14:58:30 +02:00
2012-03-26 23:09:26 +02:00
2012-10-03 16:43:13 +05:30
2010-04-13 09:13:12 +02:00
2012-05-15 08:31:21 +02:00
2010-04-13 09:13:12 +02:00
2011-08-04 13:56:55 +02:00
2012-10-15 11:54:12 -07:00
2012-10-15 11:54:10 -07:00
2012-10-15 11:54:14 -07:00
2012-09-01 14:58:30 +02:00
2012-10-15 11:54:14 -07:00
2012-10-15 11:54:14 -07:00
2012-09-01 14:58:30 +02:00
2010-04-13 09:13:12 +02:00
2012-09-27 09:49:57 -07:00
2012-09-27 09:49:57 -07:00
2012-09-27 09:49:57 -07:00
2012-09-18 12:01:51 -07:00
2012-10-03 16:43:13 +05:30
2011-11-03 22:56:22 +01:00
2012-10-15 11:54:07 -07:00
2012-10-03 02:04:25 +02:00
2012-10-03 10:50:20 +02:00
2010-04-13 09:13:12 +02:00
2010-04-13 09:13:12 +02:00
2010-04-13 09:13:12 +02:00
2012-09-05 17:33:26 -05:00
2010-04-13 09:13:12 +02:00
2012-10-04 18:11:52 +02:00
2012-07-07 14:07:43 +02:00
2012-10-15 11:54:07 -07:00
2012-10-15 11:54:07 -07:00
2010-06-08 10:07:17 -05:00
2012-09-01 14:58:20 +02:00
2012-09-01 14:58:27 +02:00
2010-04-13 09:13:12 +02:00
2011-11-15 22:25:50 +01:00
2011-04-27 19:38:07 +02:00
2010-04-13 09:13:12 +02:00
2011-07-16 13:00:11 +02:00
2012-03-27 22:05:29 +02:00
2010-04-13 09:13:12 +02:00
2011-10-23 20:50:42 +02:00
2010-10-29 21:32:07 +02:00
2011-11-29 15:43:38 +01:00
2012-10-15 11:54:00 -07:00
2012-09-01 14:58:12 +02:00
2010-04-13 09:13:12 +02:00
2012-08-09 21:46:32 +02:00
2012-01-09 20:10:32 -06:00
2010-04-13 09:13:12 +02:00
2011-02-21 08:30:55 +01:00
2012-05-15 08:31:26 +02:00
2012-10-03 02:04:25 +02:00
2010-04-13 09:13:12 +02:00
2010-04-13 09:13:12 +02:00
2012-09-27 09:49:58 -07:00
2011-09-13 08:25:15 +02:00
2011-07-04 10:55:25 +02:00
2010-04-13 09:13:12 +02:00
2010-04-13 09:13:12 +02:00
2010-04-13 09:13:12 +02:00
2010-04-13 09:13:12 +02:00
2010-10-13 09:59:33 +02:00
2012-09-27 09:49:59 -07:00
2011-04-27 19:38:07 +02:00
2010-04-13 09:13:12 +02:00
2010-04-13 09:13:12 +02:00
2012-07-07 14:07:44 +02:00
2012-05-15 17:32:05 -05:00
2010-04-13 09:13:12 +02:00
2011-07-04 10:55:25 +02:00