From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Wed, 27 May 2015 08:27:27 -0700 Subject: [U-Boot] [PATCH 05/20] armv8/ls2085a: call ft_pcie_setup() to change dts status In-Reply-To: References: <1431932937-10120-1-git-send-email-prabhakar@freescale.com> <1431932937-10120-5-git-send-email-prabhakar@freescale.com> <5564971C.9080906@freescale.com> Message-ID: <5565E25F.3040908@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/26/2015 09:30 PM, Kushwaha Prabhakar-B32579 wrote: >>> >>> Shouldn't this function be called from SoC function? It is not a >>> board- dependent setup, but rather depending on RCW which is an SoC >> feature. >>> > > There are 2 function and their relationship is like this > ft_pci_setup calling ft_pcie_ls_setup. > > ft_pcie_ls_setup is doing thing related to SoC. > So I believe ft_pci_setup can be called from board file. Not sure > I was thinking to move the call to fdt.c for the SoC, for example in the function of ft_cpu_setup(). York