]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: efuse: Refactor to use driver data and ops
authorJonas Karlman <jonas@kwiboo.se>
Wed, 22 Feb 2023 22:44:39 +0000 (22:44 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 28 Feb 2023 10:07:28 +0000 (18:07 +0800)
commit5edf15b95902acbbfd2d0e318e8e9daf30e2dfa1
tree4cb320b3cc072c5c10106a265fa523b6f16b1914
parent5fd8238e68b1cd06cd977691db5293734fd8a83c
rockchip: efuse: Refactor to use driver data and ops

Refactor the driver to use driver data and ops to simplify handling
of SoCs that require a unique read op.

Move handling of the aligned bounce buffer to main read op in order to
keep the SoC unique read op simple.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/misc/rockchip-efuse.c