From: Florent Kermarrec Date: Sat, 14 Mar 2015 00:08:36 +0000 (+0100) Subject: litesata: avoid hack on kc705 platform with new mibuild toolchain management X-Git-Tag: 24jan2021_ls180~2487 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8b59c03a2638c956223d931b42b20b2ed065b20;p=litex.git litesata: avoid hack on kc705 platform with new mibuild toolchain management --- diff --git a/misoclib/mem/litesata/example_designs/platforms/kc705.py b/misoclib/mem/litesata/example_designs/platforms/kc705.py index 9a8cbdd5..d287d954 100644 --- a/misoclib/mem/litesata/example_designs/platforms/kc705.py +++ b/misoclib/mem/litesata/example_designs/platforms/kc705.py @@ -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):