microblaze: remove redundant early_printk support
With earlycon support now enabled, the arch specific early_printk support can be removed. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Michal Simek <monstr@monstr.eu> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:

committed by
Michal Simek

parent
f71044c999
commit
96f0e6fcc9
@@ -63,38 +63,3 @@ _tlbie_1:
|
||||
nop
|
||||
|
||||
.size _tlbie, . - _tlbie
|
||||
|
||||
/*
|
||||
* Allocate TLB entry for early console
|
||||
*/
|
||||
.globl early_console_reg_tlb_alloc;
|
||||
.type early_console_reg_tlb_alloc, @function
|
||||
.align 4;
|
||||
early_console_reg_tlb_alloc:
|
||||
/*
|
||||
* Load a TLB entry for the UART, so that microblaze_progress() can use
|
||||
* the UARTs nice and early. We use a 4k real==virtual mapping.
|
||||
*/
|
||||
lwi r4, r0, tlb_skip
|
||||
mts rtlbx, r4 /* TLB slot 63 */
|
||||
|
||||
or r4,r5,r0
|
||||
andi r4,r4,0xfffff000
|
||||
ori r4,r4,(TLB_WR|TLB_I|TLB_M|TLB_G)
|
||||
|
||||
andi r5,r5,0xfffff000
|
||||
ori r5,r5,(TLB_VALID | TLB_PAGESZ(PAGESZ_4K))
|
||||
|
||||
mts rtlblo,r4 /* Load the data portion of the entry */
|
||||
nop
|
||||
mts rtlbhi,r5 /* Load the tag portion of the entry */
|
||||
nop
|
||||
|
||||
lwi r5, r0, tlb_skip
|
||||
addik r5, r5, 1
|
||||
swi r5, r0, tlb_skip
|
||||
|
||||
rtsd r15, 8
|
||||
nop
|
||||
|
||||
.size early_console_reg_tlb_alloc, . - early_console_reg_tlb_alloc
|
||||
|
Reference in New Issue
Block a user