Re: [PATCH 2/2] zynqmp: Run board_get_usable_ram_top() only on main U-Boot

2022-02-07 Thread Michal Simek
pá 14. 1. 2022 v 13:14 odesílatel Michal Simek napsal: > > From: Ashok Reddy Soma > > With commit ce39ee28ec31 ("zynqmp: Do not place u-boot to reserved memory > location"), the function board_get_usable_ram_top() is allocating > MMU_SECTION_SIZE of about 2MB using lmb_alloc(). But we dont have

[PATCH 2/2] zynqmp: Run board_get_usable_ram_top() only on main U-Boot

2022-01-14 Thread Michal Simek
From: Ashok Reddy Soma With commit ce39ee28ec31 ("zynqmp: Do not place u-boot to reserved memory location"), the function board_get_usable_ram_top() is allocating MMU_SECTION_SIZE of about 2MB using lmb_alloc(). But we dont have this much memory in case of mini U-Boot. Keep these functions