diff options
author | Peng Fan <peng.fan@nxp.com> | 2018-10-19 00:26:23 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-10-22 12:59:02 +0200 |
commit | 8f5b6299bc92169d9721962efd3552d756f70692 (patch) | |
tree | 59c367e42b6fcafc6b117e23d8a004ffa248b0ba /common/dfu.c | |
parent | cdc16f61823914ff19fdaddf3ca66ad7b159a1bd (diff) |
serial: lpuart: support uclass clk api
Modify most APIs to use udevice as the first parameter, then
it will be easy to get the clk reference by using udevice pointer.
Use uclass api to get lpuart clk when CONFIG_CLK is enabled.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'common/dfu.c')
0 files changed, 0 insertions, 0 deletions