Skip to content

Commit

Permalink
litesata: avoid hack on kc705 platform with new mibuild toolchain man…
Browse files Browse the repository at this point in the history
…agement
  • Loading branch information
enjoy-digital committed Mar 14, 2015
1 parent 28d04ec commit d8b59c0
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions misoclib/mem/litesata/example_designs/platforms/kc705.py
Expand Up @@ -12,16 +12,9 @@
)
]

class SpecializedPlatform:
def __init__(self, platform):
self._platform = platform

def __getattr__(self, name):
return getattr(self._platform, name)

class Platform(SpecializedPlatform):
class Platform(kc705.Platform):
def __init__(self, *args, **kwargs):
SpecializedPlatform.__init__(self, kc705.Platform(*args, **kwargs))
kc705.Platform.__init__(self, *args, **kwargs)
self.add_extension(_sata_io)

def do_finalize(self, fragment):
Expand Down

0 comments on commit d8b59c0

Please sign in to comment.