Skip to content

Commit

Permalink
gateware/bootloader: Fixed a typo in one of the platform resource checks
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonmux committed Feb 7, 2024
1 parent 187528d commit c53843e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateware/dragonBoot/bootloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def elaborate(self, platform: Platform) -> Module:
A complete description of the gateware behaviour required.
"""
m = Module()
if ('upli', 0) in platform.resources:
if ('ulpi', 0) in platform.resources:
m.domains.usb = ClockDomain()
ulpiInterface = platform.request('ulpi', 0)
m.submodules.device = device = USBDevice(bus = ulpiInterface, handle_clocking = True)
Expand Down

0 comments on commit c53843e

Please sign in to comment.