Home
last modified time | relevance | path

Searched hist:"2 c6a058b7ea25398013cb25b4e3bb96fe40da1a5" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/include/linux/
H A Dsizes.h2c6a058b7ea25398013cb25b4e3bb96fe40da1a5 Fri Nov 02 03:35:19 UTC 2018 Joseph Chen <chenjh@rock-chips.com> rockchip: implement board_lmb_reserve()

Using last bi_dram[...] to initialize "bootm_low" and "bootm_mapsize".
This makes lmb_alloc_base() always alloc from tail of sdram.
If we don't assign it, bi_dram[0] is used by default and it may cause
lmb_alloc_base() fail when bi_dram[0] range is small.

Change-Id: I13c2c2d6135e26e647dcfde4c173d896c800fea5
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A Dboard.c2dc2d048e2677cfcfa1ae637d5c986ff6da2a5e0 Thu Nov 15 07:55:56 UTC 2018 Joseph Chen <chenjh@rock-chips.com> rockchip: lmb: limit highest memory from 768MB to 512MB for 32-bit platform

Ramdisk is a compressed image and it expands after descompress, which accesses
768MB+ memory and brings "Unable to handle kernel paging request at virtual address ...".

We make a appointment that the highest memory is 512MB, it makes lmb alloc safer.

fixes: 2c6a058b7ea25398013cb25b4e3bb96fe40da1a5
(rockchip: implement board_lmb_reserve())

Change-Id: I728a1fbff216194b940372713387cf171028b20b
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2c6a058b7ea25398013cb25b4e3bb96fe40da1a5 Fri Nov 02 03:35:19 UTC 2018 Joseph Chen <chenjh@rock-chips.com> rockchip: implement board_lmb_reserve()

Using last bi_dram[...] to initialize "bootm_low" and "bootm_mapsize".
This makes lmb_alloc_base() always alloc from tail of sdram.
If we don't assign it, bi_dram[0] is used by default and it may cause
lmb_alloc_base() fail when bi_dram[0] range is small.

Change-Id: I13c2c2d6135e26e647dcfde4c173d896c800fea5
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>