.. | .. |
---|
29 | 29 | * with this program; if not, write to the Free Software Foundation, Inc., |
---|
30 | 30 | * 675 Mass Ave, Cambridge, MA 02139, USA. |
---|
31 | 31 | */ |
---|
| 32 | + |
---|
32 | 33 | #include <linux/init.h> |
---|
33 | | -#include <asm/bootinfo.h> |
---|
| 34 | +#include <linux/memblock.h> |
---|
34 | 35 | #include <asm/txx9/generic.h> |
---|
35 | 36 | #include <asm/txx9/rbtx4927.h> |
---|
36 | 37 | |
---|
37 | 38 | void __init rbtx4927_prom_init(void) |
---|
38 | 39 | { |
---|
39 | | - add_memory_region(0, tx4927_get_mem_size(), BOOT_MEM_RAM); |
---|
| 40 | + memblock_add(0, tx4927_get_mem_size()); |
---|
40 | 41 | txx9_sio_putchar_init(TX4927_SIO_REG(0) & 0xfffffffffULL); |
---|
41 | 42 | } |
---|