From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lian Minghuan-B31939 Date: Thu, 12 Mar 2015 10:21:34 +0800 Subject: [U-Boot] [PATCH 1/2] pci/layerscape: move pcie_layerscape.h out of arm include In-Reply-To: <20150311142214.GK32541@bill-the-cat> References: <1426072174-6337-1-git-send-email-Minghuan.Lian@freescale.com> <20150311142214.GK32541@bill-the-cat> Message-ID: <5500F82E.2060004@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 Hi Tom, Thanks for your comments. I will use the common name and remove unnecessary file pcie_layerscape.h Thanks, Minghuan On 2015?03?11? 22:22, Tom Rini wrote: > 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? >