From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [v2 4/4] sata: imx: add ahci sata support on imx platforms
Date: Mon, 1 Jul 2013 15:03:43 +0200 [thread overview]
Message-ID: <20130701130343.GY516@pengutronix.de> (raw)
In-Reply-To: <51D17AF1.2060504@gmail.com>
On Mon, Jul 01, 2013 at 07:49:53AM -0500, Rob Herring wrote:
> On 07/01/2013 05:02 AM, Richard Zhu wrote:
> > imx6q contains one Synopsys AHCI SATA controller,
> > But it can't shares ahci_platform driver with other
> > controllers.
> > Because there are some misalignments of the bits
> > definitions of the HBA registers and the Vendor
> > Specific registers
> > - CAP_SSS(bit20) of the HOST_CAP is writable, default
> > value is '0', should be configured to be '1'
> > - bit0 (only one AHCI SATA port on imx6q) of the
> > HOST_PORTS_IMPL should be set to be '1'.(default 0)
> > - One Vendor Specific register HOST_TIMER1MS(offset:0xe0)
> > should be configured regarding to the frequency of AHB
> > bus clock.
>
> All this really belongs in the bootloader.
I beg to differ. Normally we do not write the kernel that it depends on
setup being done by the bootloader.
> Wouldn't you most likely be
> booting the kernel from SATA as well?
Having a SATA disk attached doesn't mean you boot from it.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2013-07-01 13:03 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-01 10:02 [PATCH v2 0/4] ahci: enable ahci sata support on imx6q Richard Zhu
[not found] ` <1372672975-2997-5-git-send-email-r65037@freescale.com>
2013-07-01 11:27 ` [v2 4/4] sata: imx: add ahci sata support on imx platforms Girish K S
2013-07-01 14:48 ` Shawn Guo
2013-07-01 15:04 ` Girish K S
2013-07-01 15:17 ` Shawn Guo
2013-07-01 12:44 ` Sascha Hauer
2013-07-01 15:29 ` Shawn Guo
2013-07-02 2:24 ` Zhu Richard-R65037
2013-07-01 12:49 ` Rob Herring
2013-07-01 13:03 ` Sascha Hauer [this message]
2013-07-01 13:22 ` Girish K S
2013-07-01 13:36 ` Tejun Heo
2013-07-01 14:58 ` Zhu Richard-R65037
2013-07-01 15:21 ` Shawn Guo
[not found] ` <1372672975-2997-3-git-send-email-r65037@freescale.com>
2013-07-01 12:55 ` [v2 2/4] imx: ahci: enable ahci sata on imx6q platforms Sascha Hauer
2013-07-01 14:48 ` Zhu Richard-R65037
2013-07-01 14:53 ` Shawn Guo
[not found] ` <1372672975-2997-2-git-send-email-r65037@freescale.com>
2013-07-01 14:37 ` [v2 1/4] ARM: dtsi: " Shawn Guo
2013-07-01 14:48 ` Zhu Richard-R65037
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=20130701130343.GY516@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).