mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 16:07:30 +00:00
5990b05951
add DM support for parallel I/O ports on QUICC Engine Block Signed-off-by: Heiko Schocher <hs@denx.de> Patch-cc: Mario Six <mario.six@gdsys.cc> Patch-cc: Qiang Zhao <qiang.zhao@nxp.com> Patch-cc: Holger Brunck <holger.brunck@hitachi-powergrids.com> Series-changes: 2 - remove RFC - fixed Codingstyle errors, therefore new patch powerpc, mpc83xx: fix codingstyle issues for qe_io.c - moved DM part to drivers/pinctrl Commit-notes: Open questions / discussion: - I let the old none DM based implementation in code so boards should work with old implementation. This should be removed if all boards are converted to DM/DTS. - Unfortunately linux DTS does not use "pinctrl-" properties, instead "pio-handle" properties. Even worser old U-Boot code initializes all pins defined in "const qe_iop_conf_t qe_iop_conf_tab[]" table in board code. As linux does the same I decided to also scan through all subnodes containing "pio-map" property and initialize them too. The proper solution would be to check for "pio-handle" when a device is probed. END
45 lines
753 B
Makefile
45 lines
753 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# Copyright 2004 Freescale Semiconductor, Inc.
|
|
|
|
MINIMAL=
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
ifdef CONFIG_SPL_INIT_MINIMAL
|
|
MINIMAL=y
|
|
endif
|
|
endif
|
|
|
|
extra-y = start.o
|
|
|
|
ifdef MINIMAL
|
|
|
|
obj-y += spl_minimal.o
|
|
|
|
else
|
|
|
|
obj-y += traps.o
|
|
obj-y += cpu.o
|
|
obj-y += cpu_init.o
|
|
obj-y += speed.o
|
|
obj-y += interrupts.o
|
|
obj-y += ecc.o
|
|
ifndef CONFIG_PINCTRL
|
|
obj-$(CONFIG_QE) += qe_io.o
|
|
endif
|
|
obj-$(CONFIG_FSL_SERDES) += serdes.o
|
|
ifndef CONFIG_ARCH_MPC8308
|
|
obj-$(CONFIG_PCI) += pci.o
|
|
endif
|
|
obj-$(CONFIG_PCIE) += pcie.o
|
|
obj-$(CONFIG_OF_LIBFDT) += fdt.o
|
|
|
|
ifndef CONFIG_SYS_FSL_DDRC_GEN2
|
|
obj-y += spd_sdram.o
|
|
endif
|
|
obj-$(CONFIG_SYS_FSL_DDR2) += law.o
|
|
|
|
endif # not minimal
|