diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-11-30 17:45:55 +0100 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2022-01-02 14:10:40 +0100 |
commit | 5a8df9281b052ff3d498e0d6b22e1546843b89ce (patch) | |
tree | b546ed55bfc40366009061d804aac21c80b9f335 /arch/mips/txx9/rbtx4939/prom.c | |
parent | 18c7e03400aeb48f9d51df453b7ace5391ef4d29 (diff) |
MIPS: TXX9: Remove rbtx4939 board support
No active MIPS user own this board, so let's remove it.
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/mips/txx9/rbtx4939/prom.c')
-rw-r--r-- | arch/mips/txx9/rbtx4939/prom.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/arch/mips/txx9/rbtx4939/prom.c b/arch/mips/txx9/rbtx4939/prom.c deleted file mode 100644 index ba25ba1bd2ec..000000000000 --- a/arch/mips/txx9/rbtx4939/prom.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * rbtx4939 specific prom routines - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - */ - -#include <linux/init.h> -#include <linux/memblock.h> -#include <asm/txx9/generic.h> -#include <asm/txx9/rbtx4939.h> - -void __init rbtx4939_prom_init(void) -{ - unsigned long start, size; - u64 win; - int i; - - for (i = 0; i < 4; i++) { - if (!((__u32)____raw_readq(&tx4939_ddrcptr->winen) & (1 << i))) - continue; - win = ____raw_readq(&tx4939_ddrcptr->win[i]); - start = (unsigned long)(win >> 48); - size = (((unsigned long)(win >> 32) & 0xffff) + 1) - start; - memblock_add(start << 20, size << 20); - } - txx9_sio_putchar_init(TX4939_SIO_REG(0) & 0xfffffffffULL); -} |