Home
last modified time | relevance | path

Searched hist:"1 d09cf29cded007e7cb3c55a78f6a0a5a3845a12" (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dbidram.h1d09cf29cded007e7cb3c55a78f6a0a5a3845a12 Thu Dec 12 03:51:31 UTC 2019 Joseph Chen <chenjh@rock-chips.com> lib: bidram: add 4GB+ memory size support

- On ARMv7: LPAE seems to be not friendly that brings a lot of
compile errors.

- On ARMv8: MMU translate table is static defined by mem_map[]
and max 4GB as usual. It is not created dynamically according
to real memory size, that is different from ARMv7.

- 4GB memory is enough for U-Boot on both ARMv7 an ARMv8.

Considering all that, we decide to make max 4GB size to be visiable
for U-Boot, but still pass the real available memory size to kernel
by bidram_fixup() called at late before fixup "/memory" node.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Idd5fa769e940b0618446909f8f9edc39f596f072
H A Dmemblk.h1d09cf29cded007e7cb3c55a78f6a0a5a3845a12 Thu Dec 12 03:51:31 UTC 2019 Joseph Chen <chenjh@rock-chips.com> lib: bidram: add 4GB+ memory size support

- On ARMv7: LPAE seems to be not friendly that brings a lot of
compile errors.

- On ARMv8: MMU translate table is static defined by mem_map[]
and max 4GB as usual. It is not created dynamically according
to real memory size, that is different from ARMv7.

- 4GB memory is enough for U-Boot on both ARMv7 an ARMv8.

Considering all that, we decide to make max 4GB size to be visiable
for U-Boot, but still pass the real available memory size to kernel
by bidram_fixup() called at late before fixup "/memory" node.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Idd5fa769e940b0618446909f8f9edc39f596f072
/rk3399_rockchip-uboot/lib/
H A Dbidram.c1d09cf29cded007e7cb3c55a78f6a0a5a3845a12 Thu Dec 12 03:51:31 UTC 2019 Joseph Chen <chenjh@rock-chips.com> lib: bidram: add 4GB+ memory size support

- On ARMv7: LPAE seems to be not friendly that brings a lot of
compile errors.

- On ARMv8: MMU translate table is static defined by mem_map[]
and max 4GB as usual. It is not created dynamically according
to real memory size, that is different from ARMv7.

- 4GB memory is enough for U-Boot on both ARMv7 an ARMv8.

Considering all that, we decide to make max 4GB size to be visiable
for U-Boot, but still pass the real available memory size to kernel
by bidram_fixup() called at late before fixup "/memory" node.

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