simple-bus: enable suport for of-platdata
PATCH 1/1 simple-bus: enable suport for of-platdata
Just do nothing in post_bind if of-platdata enabled, for there is no dm_scan_fdt_dev().
---
drivers/core/simple-bus.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/core/simple-bus.c +4 -0
@@ -27,6 +27,9 @@ fdt_addr_t simple_bus_translate(struct udevice *dev, fdt_addr_t addr)static int simple_bus_post_bind (struct udevice *dev) { +#if CONFIG_IS_ENABLED (OF_PLATDATA ) +return 0 ; +#else u32 cell[3 ];int ret;
@@ -41,6 +44,7 @@ static int simple_bus_post_bind(struct udevice *dev) }return dm_scan_fdt_dev (dev); +#endif } UCLASS_DRIVER(simple_bus) = {
Signature · 1 line
1.9.1
PATCH 1/1 simple-bus: enable suport for of-platdata
Quoted 8 lines · Kever Yang
Just do nothing in
post_bindif of-platdata enabled, for there is nodm_scan_fdt_dev().Signed-off-by Kever Yang <[email protected]>---
drivers/core/simple-bus.c | 4 ++++ 1 file changed, 4 insertions(+)
PATCH 1/1 simple-bus: enable suport for of-platdata
Hi Simon,
Found 1 typo on the subject, 'suport' should be 'support',
do I need to send a new patch or you can correct it when you apply?
Thanks,
- Kever
Quoted 13 lines · Simon Glass
Quoted 8 lines · Kever Yang
Just do nothing in
post_bindif of-platdata enabled, for there is nodm_scan_fdt_dev().Signed-off-by Kever Yang <[email protected]>---
drivers/core/simple-bus.c | 4 ++++ 1 file changed, 4 insertions(+)Reviewed-by Simon Glass <[email protected]>
PATCH 1/1 simple-bus: enable suport for of-platdata
Hi Kever,
Quoted 5 lines · Kever Yang
Hi Simon,
Found 1 typo on the subject, 'suport' should be 'support',
do I need to send a new patch or you can correct it when you apply?
I can correct it when I apply, should be soon.
- Simon
Quoted 23 lines
Thanks,
- KeverQuoted 16 lines · Simon Glass
Quoted 9 lines · Kever Yang
Just do nothing in
post_bindif of-platdata enabled, for there is nodm_scan_fdt_dev().Signed-off-by Kever Yang <[email protected]>---
drivers/core/simple-bus.c | 4 ++++ 1 file changed, 4 insertions(+)Reviewed-by Simon Glass <[email protected]>
PATCH 1/1 simple-bus: enable suport for of-platdata
Quoted 4 lines · Simon Glass
Hi Kever,
Quoted 1 line · Kever Yang
Quoted 32 lines
Quoted 4 lines
Hi Simon,
Found 1 typo on the subject, 'suport' should be 'support',
do I need to send a new patch or you can correct it when you apply?I can correct it when I apply, should be soon.
- Simon
Quoted 23 lines
Thanks,
- KeverQuoted 16 lines · Simon Glass
Quoted 9 lines · Kever Yang
Just do nothing in
post_bindif of-platdata enabled, for there is nodm_scan_fdt_dev().Signed-off-by Kever Yang <[email protected]>---
drivers/core/simple-bus.c | 4 ++++ 1 file changed, 4 insertions(+)Reviewed-by Simon Glass <[email protected]>
Corrected and
Applied to u-boot-dm, thanks!