litesata: avoid hack on kc705 platform with new mibuild toolchain management

This commit is contained in:
Florent Kermarrec 2015-03-14 01:08:36 +01:00
parent 28d04ec300
commit d8b59c03a2
1 changed files with 2 additions and 9 deletions

View File

@ -12,16 +12,9 @@ _sata_io = [
)
]
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):