ethernet: ucc_geth: remove bd_mem_part and all associated code
The bd_mem_part member of ucc_geth_info always has the value MEM_PART_SYSTEM, and AFAICT, there has never been any code setting it to any other value. Moreover, muram is a somewhat precious resource, so there's no point using that when normal memory serves just as well. Apart from removing a lot of dead code, this is also motivated by wanting to clean up the "store result from kmalloc() in a u32" mess. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
b29fafd357
commit
64a99fe596
@@ -27,12 +27,6 @@
|
||||
#define QE_NUM_OF_BRGS 16
|
||||
#define QE_NUM_OF_PORTS 1024
|
||||
|
||||
/* Memory partitions
|
||||
*/
|
||||
#define MEM_PART_SYSTEM 0
|
||||
#define MEM_PART_SECONDARY 1
|
||||
#define MEM_PART_MURAM 2
|
||||
|
||||
/* Clocks and BRGs */
|
||||
enum qe_clock {
|
||||
QE_CLK_NONE = 0,
|
||||
|
||||
@@ -146,7 +146,6 @@ struct ucc_fast_info {
|
||||
resource_size_t regs;
|
||||
int irq;
|
||||
u32 uccm_mask;
|
||||
int bd_mem_part;
|
||||
int brkpt_support;
|
||||
int grant_support;
|
||||
int tsa;
|
||||
|
||||
Reference in New Issue
Block a user