| #
67776931 |
| 16-Apr-2025 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
lib: bidram: Add board_bidram_append_size support
Change-Id: I21dab222296f64331d81f34fbe369772d9801668 Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
|
| #
82a88d5e |
| 08-Apr-2025 |
Xuhui Lin <xuhui.lin@rock-chips.com> |
lib: bidram: Add board_bidram_fixup support
Change-Id: I66c2f3dfc40046756e22edf78934e023fa36732b Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
|
| #
a3320fac |
| 15-May-2020 |
Joseph Chen <chenjh@rock-chips.com> |
bidram: fix compile error
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ia459afb9f821fa22352615de2fd132cc43ec462e
|
| #
1a4f6af8 |
| 02-Mar-2020 |
Joseph Chen <chenjh@rock-chips.com> |
Merge branch 'next-dev' into thunder-boot
|
| #
1d09cf29 |
| 12-Dec-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 4
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
show more ...
|
| #
fc7ff0f0 |
| 15-Jul-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: bidram: add bidram_reserved_is_overlap() interface
Check if the region is overlap with reserved regions.
Change-Id: Ifd9b6a4438dcf954b7e48930e31d0c6cd5d1274c Signed-off-by: Joseph Chen <chenjh
lib: bidram: add bidram_reserved_is_overlap() interface
Check if the region is overlap with reserved regions.
Change-Id: Ifd9b6a4438dcf954b7e48930e31d0c6cd5d1274c Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
483d0493 |
| 14-Mar-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: introduce bidram for GD board bi_dram[] memory management
Some platform provides more than one dram banks and reserved firmware regions (eg. ATF, OP-TEE, etc) by pre-loader dynamically. It mean
lib: introduce bidram for GD board bi_dram[] memory management
Some platform provides more than one dram banks and reserved firmware regions (eg. ATF, OP-TEE, etc) by pre-loader dynamically. It means there are memory holes in board dram layout. What's more, U-Boot will reserved regions at the late bootflow(eg. firmware reserved for AMP).
So we introduce bidram mechanism to manage GD board bi_dram[], which provides a way to easily manage memory holes and update bi_dram[]. It dpends on LMB which provides a good algorithm to manage memory blocks.
What's different from sysmem? - bidram manage and pass the avaliable memory blocks to kernel; - sysmem is only for U-Boot memory management to avoid ram overlap, it doesn't matter about kernel avaliable memory.
Change-Id: I697cbb80bdc961e4ad5ab94548e2dc93feefde6f Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|