mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-13 21:36:57 +00:00
usb: ehci-mx6: Drop assignment of sequence number
This hack cannot work in the new sequence-numbering scheme. Remove it while we wait for the maintainer to complete DM conversion as noted in the existing comment. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
6d83c74db7
commit
4de51cc25b
1 changed files with 9 additions and 3 deletions
|
@ -569,10 +569,16 @@ static int ehci_usb_bind(struct udevice *dev)
|
|||
* With these changes in place, the ad-hoc indexing goes away and
|
||||
* the driver is fully converted to DT probing.
|
||||
*/
|
||||
u32 controller_spacing = is_mx7() ? 0x10000 : 0x200;
|
||||
fdt_addr_t addr = devfdt_get_addr_index(dev, 0);
|
||||
|
||||
dev->req_seq = (addr - USB_BASE_ADDR) / controller_spacing;
|
||||
/*
|
||||
* FIXME: This cannot work with the new sequence numbers.
|
||||
* Please complete the DM conversion.
|
||||
*
|
||||
* u32 controller_spacing = is_mx7() ? 0x10000 : 0x200;
|
||||
* fdt_addr_t addr = devfdt_get_addr_index(dev, 0);
|
||||
*
|
||||
* dev->req_seq = (addr - USB_BASE_ADDR) / controller_spacing;
|
||||
*/
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue