[PATCH v2 1/2] Actions: OWL: Calculate SDRAM size
Amit Tomer
amittomer25 at gmail.com
Sat May 9 09:15:38 CEST 2020
Hi Mani,
>
> This doesn't work on Bubblegum96. But poking into the vendor tree, I'm able
> to come up with below working code:
>
> val = (readl(DMM_INTERLEAVE_PER_CH_CFG) >> 8) & 0xf;
> cap = 64 * (1 << val);
>
> So, you can use this and remove other stuffs. Also this function should be named
> as owl_get_ddr_cap().
Thanks for pointing this out, and I just sent v3 as v2 didn't even
compile for Bubblegum96.
Would send the updated version that works on S900.
Thanks
Amit.
More information about the U-Boot
mailing list