The ARMv8 platform enabling AArch32 mode should reserve memory the same
as AArch64 mode(because there is no difference about ATF), only some
platform has special request, they are: RK3308.
Change-Id: I0ffbfac7ddaff50ef53128dccd5b7dc2d02b560a
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
We can not call some drivers if this driver is closed. But this time we use
the parameters passed by atags directly but not test the drivers whether
exist. Add it.
Change-Id: I857ccf3b3e23a9e92502868d1514849770390ebb
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Add sdupdate variable to receive card function info from preloader atags.
If the sd card is updated-card, set sdupdate to bootargs. otherwise test
whether the sd cart is ROCKCHIP_SD_UPDATE_CARD or not by rkimgtest cmd.
Change-Id: I6c09ade4a31a2e4c8349245e9e345f735afd11e9
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
- import memblk id to manage memory blocks;
- change "sysmem_property" to generic "memblock";
- use alloc instead of reserve for all memory blocks;
- clean up and fix some logic;
- add U-Boot cmd for sysmem;
Change-Id: I614223ce3bf97a7b3566412a9d1864fb30b68fd8
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
parse: atf/optee/bootdev and common reserved memory.
Change-Id: I829eb42370b217e567cdafe03de4dab6063aa251
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>