commit | 460cdeca546fc75f2450914c96e701f990396285 | [log] [tgz] |
---|---|---|
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | Thu Oct 04 15:01:06 2018 +0200 |
committer | Boris Brezillon <boris.brezillon@bootlin.com> | Mon Oct 08 21:32:49 2018 +0200 |
tree | 7a610da79206aad6dac00c6ee6a3dd98ef87397d | |
parent | 4edc00adfd58768b065204968948c52f5e5b07b1 [diff] |
mtd: maps: gpio-addr-flash: Use order instead of size By using the order of the window instead of the size, we can replace a lot of expensive division and modulus on the code with simple bit operations. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>