commit | 2ee8adaf9732cbd2ac2d07c509b8b20a8ac37de6 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Feb 29 15:25:52 2016 -0700 |
committer | Simon Glass <sjg@chromium.org> | Mon Mar 14 15:34:50 2016 -0600 |
tree | a2098718e857b136986ee0401a40037b16e51a3a | |
parent | 2f26fff621780181a8446269df4c95fa062f10e0 [diff] |
dm: block: Adjust device calls to go through helpers function To ease conversion to driver model, add helper functions which deal with calling each block device method. With driver model we can reimplement these functions with the same arguments. Use inline functions to avoid increasing code size on some boards. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Stephen Warren <swarren@nvidia.com>