All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amit Tomer <amittomer25@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 1/2] Actions: OWL: Calculate SDRAM size
Date: Sat, 9 May 2020 12:45:38 +0530	[thread overview]
Message-ID: <CABHD4K8SsjWrW0rUwZ0SQS7CgwR45m-t7u+bY=27DhdSZxuN-w@mail.gmail.com> (raw)
In-Reply-To: <20200509070051.GI5845@Mani-XPS-13-9360>

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.

  reply	other threads:[~2020-05-09  7:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-08 10:23 [PATCH v2 0/2] Calculate SDRAM size for Actions OWL SoCs Amit Singh Tomar
2020-05-08 10:23 ` [PATCH v2 1/2] Actions: OWL: Calculate SDRAM size Amit Singh Tomar
2020-05-09  7:00   ` Manivannan Sadhasivam
2020-05-09  7:15     ` Amit Tomer [this message]
2020-05-08 10:23 ` [PATCH v2 2/2] arm: actions: remove "CONFIG_SYS_SDRAM_SIZE" for Actions Owl Semi SoCs Amit Singh Tomar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABHD4K8SsjWrW0rUwZ0SQS7CgwR45m-t7u+bY=27DhdSZxuN-w@mail.gmail.com' \
    --to=amittomer25@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.