On Fri, Jun 27, 2014 at 02:09:58AM -0700, Laura Abbott wrote:
On 6/26/2014 8:06 PM, Tushar Behera wrote:
arm_add_memory is getting called before this is being set, resulting in none of the memory banks getting added[1].
setup_machine_fdt -> early_init_dt_scan -> early_init_dt_scan_memory
Would it make sense to re-introduce the config option ARM_NR_BANKS and replace max_cnt with NR_BANKS?
I was hoping to avoid re-introducing the config option but that may be the case if we can't make the machine_info work. I'll take a better look tomorrow.
The problem with the config option is that it's not single zImage friendly.