From: Tom Rini Date: Wed, 11 Mar 2015 10:22:14 -0400 Subject: [U-Boot] [PATCH 1/2] pci/layerscape: move pcie_layerscape.h out of arm include In-Reply-To: <1426072174-6337-1-git-send-email-Minghuan.Lian@freescale.com> References: <1426072174-6337-1-git-send-email-Minghuan.Lian@freescale.com> Message-ID: <20150311142214.GK32541@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Mar 11, 2015 at 07:09:33PM +0800, Minghuan Lian wrote: > The patch moves pcie_layerscape.h out of arm include to top > level include folder so that it can be shared on other Socs. > > Signed-off-by: Minghuan Lian OK, I see a problem: > diff --git a/arch/arm/include/asm/pcie_layerscape.h b/arch/arm/include/asm/pcie_layerscape.h > deleted file mode 100644 > index fb08578..0000000 > --- a/arch/arm/include/asm/pcie_layerscape.h > +++ /dev/null > @@ -1,13 +0,0 @@ > -/* > - * Copyright 2014 Freescale Semiconductor, Inc. > - * > - * SPDX-License-Identifier: GPL-2.0+ > - */ > - > -#ifndef __PCIE_LAYERSCAPE_H_ > -#define __PCIE_LAYERSCAPE_H_ > - > -void pci_init_board(void); This is already in > -void ft_pcie_setup(void *blob, bd_t *bd); This belongs in near other similar functions and frankly might be better done as ft_pci_setup(blob, bd) which already exists. Or do we have both ft_pci_setup and ft_pcie_setup existing at the same time? -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: