diff options
author | Minghuan Lian <Minghuan.Lian@freescale.com> | 2014-10-31 13:43:44 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-12-11 09:35:56 -0800 |
commit | da419027afe8336284f5db9867a880dfb3b3ab26 (patch) | |
tree | cbf4e1e85254b024850df60bc1d7b42f27dd5d54 /arch | |
parent | 306fa012794e68e568bd51b829d1754323e0b8aa (diff) | |
download | talos-obmc-uboot-da419027afe8336284f5db9867a880dfb3b3ab26.tar.gz talos-obmc-uboot-da419027afe8336284f5db9867a880dfb3b3ab26.zip |
arm: ls102xa: Update PCIe dts node status
The patch changes PCIe dts node status to 'disabled' if the
corresponding controller is disabled according to serdes protocol.
Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/arch-ls102xa/config.h | 3 | ||||
-rw-r--r-- | arch/arm/include/asm/pcie_layerscape.h | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-ls102xa/config.h b/arch/arm/include/asm/arch-ls102xa/config.h index 7d70c7bcbf..704d683e83 100644 --- a/arch/arm/include/asm/arch-ls102xa/config.h +++ b/arch/arm/include/asm/arch-ls102xa/config.h @@ -53,6 +53,9 @@ #define LPUART_BASE (CONFIG_SYS_IMMR + 0x01950000) +#define CONFIG_SYS_PCIE1_ADDR (CONFIG_SYS_IMMR + 0x2400000) +#define CONFIG_SYS_PCIE2_ADDR (CONFIG_SYS_IMMR + 0x2500000) + #ifdef CONFIG_DDR_SPD #define CONFIG_SYS_FSL_DDR_BE #define CONFIG_VERY_BIG_RAM diff --git a/arch/arm/include/asm/pcie_layerscape.h b/arch/arm/include/asm/pcie_layerscape.h new file mode 100644 index 0000000000..fb08578f10 --- /dev/null +++ b/arch/arm/include/asm/pcie_layerscape.h @@ -0,0 +1,13 @@ +/* + * Copyright 2014 Freescale Semiconductor, Inc. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __PCIE_LAYERSCAPE_H_ +#define __PCIE_LAYERSCAPE_H_ + +void pci_init_board(void); +void ft_pcie_setup(void *blob, bd_t *bd); + +#endif |