diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-17 14:23:06 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-05 16:30:55 (GMT) |
commit | 6e2941d787819ae1221d7f8295fa67d2ba94a913 (patch) | |
tree | 043792ad38e575a20eab743aacc13b22c94b04f3 /drivers/pci/pcie_layerscape_fixup.c | |
parent | 850431590c69e513d5ae295b3bd182c2184ab408 (diff) | |
download | u-boot-6e2941d787819ae1221d7f8295fa67d2ba94a913.tar.xz |
common: freescale: Move arch-specific declarations
The declarations should not be in common.h. Move them to the arch-specific
headers.
Signed-off-by: Simon Glass <sjg@chromium.org>
[trini: Fixup thinko defined(FSL_LSCH3) -> defined(CONFIG_FSL_LSCH3)]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/pci/pcie_layerscape_fixup.c')
-rw-r--r-- | drivers/pci/pcie_layerscape_fixup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/pcie_layerscape_fixup.c b/drivers/pci/pcie_layerscape_fixup.c index ce709bf..9e6c2f5 100644 --- a/drivers/pci/pcie_layerscape_fixup.c +++ b/drivers/pci/pcie_layerscape_fixup.c @@ -14,6 +14,9 @@ #ifdef CONFIG_OF_BOARD_SETUP #include <libfdt.h> #include <fdt_support.h> +#ifdef CONFIG_ARM +#include <asm/arch/clock.h> +#endif #include "pcie_layerscape.h" #if defined(CONFIG_FSL_LSCH3) || defined(CONFIG_FSL_LSCH2) |