board lr097:add ump reserve memory
authoryxj <yxj@rock-chips.com>
Thu, 24 Jan 2013 06:58:41 +0000 (14:58 +0800)
committeryxj <yxj@rock-chips.com>
Thu, 24 Jan 2013 07:47:53 +0000 (15:47 +0800)
arch/arm/mach-rk30/board-rk3168-LR097.c

index 9582bbdef6a84b00a48a72f3431f3179eb198eee..9e76dc5c2c4ab0d768666dfcebce5a84e5270e56 100755 (executable)
@@ -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