summaryrefslogtreecommitdiff
path: root/arch/mips/txx9/rbtx4927/prom.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-11-13 00:20:43 +0300
committerMarc Zyngier <maz@kernel.org>2020-11-13 00:20:43 +0300
commit4f6b838c378a52ea3ae0b15f12ca8a20849072fa (patch)
treefbd8c2346320f97eda221b9150d787f9006e8b35 /arch/mips/txx9/rbtx4927/prom.c
parentc512298eed0360923d0cbc4a1f30bc0509af0d50 (diff)
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff)
downloadlinux-4f6b838c378a52ea3ae0b15f12ca8a20849072fa.tar.xz
Merge tag 'v5.10-rc1' into kvmarm-master/next
Linux 5.10-rc1 Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/mips/txx9/rbtx4927/prom.c')
-rw-r--r--arch/mips/txx9/rbtx4927/prom.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/txx9/rbtx4927/prom.c b/arch/mips/txx9/rbtx4927/prom.c
index fe6d0b54763f..9b4acff826eb 100644
--- a/arch/mips/txx9/rbtx4927/prom.c
+++ b/arch/mips/txx9/rbtx4927/prom.c
@@ -29,13 +29,14 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+
#include <linux/init.h>
-#include <asm/bootinfo.h>
+#include <linux/memblock.h>
#include <asm/txx9/generic.h>
#include <asm/txx9/rbtx4927.h>
void __init rbtx4927_prom_init(void)
{
- add_memory_region(0, tx4927_get_mem_size(), BOOT_MEM_RAM);
+ memblock_add(0, tx4927_get_mem_size());
txx9_sio_putchar_init(TX4927_SIO_REG(0) & 0xfffffffffULL);
}