
OK, thanks. I will rework this patch.
Regards, Yuantian
-----Original Message----- From: York Sun [mailto:yorksun@freescale.com] Sent: Wednesday, December 02, 2015 12:59 AM To: sinan@writeme.com; Tang Yuantian-B29983 Yuantian.Tang@freescale.com Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH v4] arm: Add sata support on Layerscape ARMv8 board
On 12/01/2015 08:54 AM, Sinan Akman wrote:
Hi York
On 01/12/15 11:44 AM, York Sun wrote:
Sinan,
Thanks for your review.
Yuantian,
You are right about putting things together. We have some macros in wrong places, including config.h. If you can, please try to move them into proper files, such as immap_lsch3.h. Enabling SATA should be done at board level because it depends on the board to have physical
connection.
Just to make this clear one final time, I am not against enabling SATA at the board level but my suggestion is to define the SATA register values (which is *not* board dependent) in the soc specific header file, then at the board level if SATA is not enabled we don't use it, if it is enabled we use it and use the same register values across all boards with this SoC. That's all.
Agreed.
York