From f2f8ca056e04d4c021814c93706a24039821d8b6 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 8 Jul 2020 15:04:43 +0200 Subject: cores: Remove shutdown function from spi_core_3000 This effectively reverts 0433e74. The set_shutdown() and get_shutdown() API calls do not have a counterpart in simple_spi_core.v, which is typically the HDL endpoint for this core driver, and thus could write to a non-existent register. They are also never used in UHD, nor are they part of the spi_iface interface. --- host/lib/include/uhdlib/usrp/cores/spi_core_3000.hpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'host/lib/include/uhdlib/usrp') diff --git a/host/lib/include/uhdlib/usrp/cores/spi_core_3000.hpp b/host/lib/include/uhdlib/usrp/cores/spi_core_3000.hpp index e0caaa2e7..d08147407 100644 --- a/host/lib/include/uhdlib/usrp/cores/spi_core_3000.hpp +++ b/host/lib/include/uhdlib/usrp/cores/spi_core_3000.hpp @@ -35,11 +35,4 @@ public: //! Set the spi clock divider to something usable virtual void set_divider(const double div) = 0; - - //! Place SPI core in shutdown mode. All attempted SPI transactions are dropped by - // the core. - virtual void set_shutdown(const bool shutdown) = 0; - - //! Get state of shutdown register - virtual bool get_shutdown() = 0; }; -- cgit v1.2.3