public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jaehoon Chung <jh80.chung@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] dwmmc: make driver usable for non-exynos platforms
Date: Fri, 29 Nov 2013 19:05:21 +0900	[thread overview]
Message-ID: <529866E1.4030808@samsung.com> (raw)
In-Reply-To: <1385719363.2810.49.camel@abrodkin-8560l.internal.synopsys.com>

On 11/29/2013 07:02 PM, Alexey Brodkin wrote:
> On Fri, 2013-11-29 at 18:57 +0900, Jaehoon Chung wrote:
>> I think good that just removed the "#include <asm/arch/dwmmc.h>".
>> Instead, Exnyos specific code can move into dw-mmc-exynos.c with callback function.
>> (I didn't know whcih Soc is used with MPSCTRL register.)
>>
>>> Because of this you selected this offset "0x9c" and experience no
>>> problems. But at some point you may get HW configured to use 64-bit
>>> addressing and you'll need to use another offset for Exynos-specific
>>> things. I understand that as SW engineer you have not much things to do
>>> here but would be good if you communicate this to HW engineers.
>> If other soc is used 0x9c offset as other register?
>> 0x9c is used the CLKSEL at exynos. we need to consider other soc.
>> Then it's good that exynos specific code will move into dw-mmc-exynos.c. isn't?
> 
> Ok, so please look at my re-spin I already sent (you were on CC-list).
> There I only mask problematic bits of code - so driver works again for
> me (I'm on other architecture BTW - not ARM).
> 
> But if you're willing to clean-up dwmmc code from Exynos-specific parts
> I'll be more than happy.
I will work to clean-up dwmmc code from exynos specific code. And will send patch.
Thanks for reporting this point.

Best Regards,
Jaehoon Chung
> 
> Well it doesn't stop us from application of my v2 that will be a
> temporary fix until clean-up.
> 
> -Alexey
> 
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 

      reply	other threads:[~2013-11-29 10:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-28 13:52 [U-Boot] [PATCH] dwmmc: make driver usable for non-exynos platforms Alexey Brodkin
2013-11-29  3:46 ` Jaehoon Chung
2013-11-29  7:41   ` Alexey Brodkin
2013-11-29  9:57     ` Jaehoon Chung
2013-11-29 10:02       ` Alexey Brodkin
2013-11-29 10:05         ` Jaehoon Chung [this message]

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=529866E1.4030808@samsung.com \
    --to=jh80.chung@samsung.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox