MIPS: OCTEON: delete redundant register definitions
For most OCTEON SoCs there is a repeated and redundant register definition for almost every hardware register, although the register bit fields would not differ from other SoCs. Since the driver code should use only one definition for simplicity, these other fields are just redundant and can be deleted. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org
This commit is contained in:

committed by
Paul Burton

parent
036d0823ce
commit
4089caa7d0
@@ -52,10 +52,6 @@ union cvmx_srxx_com_ctl {
|
||||
uint64_t reserved_8_63:56;
|
||||
#endif
|
||||
} s;
|
||||
struct cvmx_srxx_com_ctl_s cn38xx;
|
||||
struct cvmx_srxx_com_ctl_s cn38xxp2;
|
||||
struct cvmx_srxx_com_ctl_s cn58xx;
|
||||
struct cvmx_srxx_com_ctl_s cn58xxp1;
|
||||
};
|
||||
|
||||
union cvmx_srxx_ign_rx_full {
|
||||
@@ -69,10 +65,6 @@ union cvmx_srxx_ign_rx_full {
|
||||
uint64_t reserved_16_63:48;
|
||||
#endif
|
||||
} s;
|
||||
struct cvmx_srxx_ign_rx_full_s cn38xx;
|
||||
struct cvmx_srxx_ign_rx_full_s cn38xxp2;
|
||||
struct cvmx_srxx_ign_rx_full_s cn58xx;
|
||||
struct cvmx_srxx_ign_rx_full_s cn58xxp1;
|
||||
};
|
||||
|
||||
union cvmx_srxx_spi4_calx {
|
||||
@@ -94,10 +86,6 @@ union cvmx_srxx_spi4_calx {
|
||||
uint64_t reserved_17_63:47;
|
||||
#endif
|
||||
} s;
|
||||
struct cvmx_srxx_spi4_calx_s cn38xx;
|
||||
struct cvmx_srxx_spi4_calx_s cn38xxp2;
|
||||
struct cvmx_srxx_spi4_calx_s cn58xx;
|
||||
struct cvmx_srxx_spi4_calx_s cn58xxp1;
|
||||
};
|
||||
|
||||
union cvmx_srxx_spi4_stat {
|
||||
@@ -115,10 +103,6 @@ union cvmx_srxx_spi4_stat {
|
||||
uint64_t reserved_16_63:48;
|
||||
#endif
|
||||
} s;
|
||||
struct cvmx_srxx_spi4_stat_s cn38xx;
|
||||
struct cvmx_srxx_spi4_stat_s cn38xxp2;
|
||||
struct cvmx_srxx_spi4_stat_s cn58xx;
|
||||
struct cvmx_srxx_spi4_stat_s cn58xxp1;
|
||||
};
|
||||
|
||||
union cvmx_srxx_sw_tick_ctl {
|
||||
@@ -140,9 +124,6 @@ union cvmx_srxx_sw_tick_ctl {
|
||||
uint64_t reserved_14_63:50;
|
||||
#endif
|
||||
} s;
|
||||
struct cvmx_srxx_sw_tick_ctl_s cn38xx;
|
||||
struct cvmx_srxx_sw_tick_ctl_s cn58xx;
|
||||
struct cvmx_srxx_sw_tick_ctl_s cn58xxp1;
|
||||
};
|
||||
|
||||
union cvmx_srxx_sw_tick_dat {
|
||||
@@ -154,9 +135,6 @@ union cvmx_srxx_sw_tick_dat {
|
||||
uint64_t dat:64;
|
||||
#endif
|
||||
} s;
|
||||
struct cvmx_srxx_sw_tick_dat_s cn38xx;
|
||||
struct cvmx_srxx_sw_tick_dat_s cn58xx;
|
||||
struct cvmx_srxx_sw_tick_dat_s cn58xxp1;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user