From: yxj Date: Thu, 24 Jan 2013 06:58:41 +0000 (+0800) Subject: board lr097:add ump reserve memory X-Git-Tag: firefly_0821_release~7804 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=58e1db47914db876e48e363959b66da96e588e2d;p=firefly-linux-kernel-4.4.55.git board lr097:add ump reserve memory --- diff --git a/arch/arm/mach-rk30/board-rk3168-LR097.c b/arch/arm/mach-rk30/board-rk3168-LR097.c index 9582bbdef6a8..9e76dc5c2c4a 100755 --- a/arch/arm/mach-rk30/board-rk3168-LR097.c +++ b/arch/arm/mach-rk30/board-rk3168-LR097.c @@ -2129,6 +2129,8 @@ static void __init machine_rk30_board_init(void) static void __init rk30_reserve(void) { + int ump_mem_phy_size=512*1024*1024; + board_mem_reserve_add("ump buf", ump_mem_phy_size); #ifdef CONFIG_ION rk30_ion_pdata.heaps[0].base = board_mem_reserve_add("ion", ION_RESERVE_SIZE); #endif