diff options
author | Marek Vasut <marex@denx.de> | 2023-09-01 11:49:58 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2023-09-15 23:38:02 +0200 |
commit | 6b84acc978d39d2e46ddceab292ae67174c66b40 (patch) | |
tree | 7b221599865a617bd3e9a72fd05471d7887e2895 /include/sdp.h | |
parent | 99924db71f61ffb155cd4d0ce640376019126de8 (diff) | |
download | u-boot-6b84acc978d39d2e46ddceab292ae67174c66b40.tar.gz u-boot-6b84acc978d39d2e46ddceab292ae67174c66b40.tar.bz2 u-boot-6b84acc978d39d2e46ddceab292ae67174c66b40.zip |
sdp: Use plain udevice for UDC controller interaction
Convert to plain udevice interaction with UDC controller
device, avoid the use of UDC uclass dev_array .
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/sdp.h')
-rw-r--r-- | include/sdp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sdp.h b/include/sdp.h index 6d89baa04e..5492f9c47d 100644 --- a/include/sdp.h +++ b/include/sdp.h @@ -9,15 +9,15 @@ #ifndef __SDP_H_ #define __SDP_H_ -int sdp_init(int controller_index); +int sdp_init(struct udevice *udc); #ifdef CONFIG_SPL_BUILD #include <spl.h> -int spl_sdp_handle(int controller_index, struct spl_image_info *spl_image, +int spl_sdp_handle(struct udevice *udc, struct spl_image_info *spl_image, struct spl_boot_device *bootdev); #else -int sdp_handle(int controller_index); +int sdp_handle(struct udevice *udc); #endif #endif /* __SDP_H_ */ |