diff options
author | Stefan Roese <sr@denx.de> | 2013-04-09 21:06:08 +0000 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2013-05-21 13:28:14 +0800 |
commit | 3062ce11351209a8c8e859ef19d78a03e1266820 (patch) | |
tree | 7d5b111d552e31bc0ffbc2eaddff5e4dc5c41d8b /spl | |
parent | 4a0f4ff1658b8b96c82c1b8884b6544a06fb91cd (diff) | |
download | u-boot-imx-3062ce11351209a8c8e859ef19d78a03e1266820.zip u-boot-imx-3062ce11351209a8c8e859ef19d78a03e1266820.tar.gz u-boot-imx-3062ce11351209a8c8e859ef19d78a03e1266820.tar.bz2 |
ENGR00263305-11 imx: Move some i.MX common functions into the imx-common directory
This patch moves the following functions into the imx-common
directory:
- mxs_wait_mask_set()
- mxs_wait_mask_clr()
- mxs_reset_block()
These are currently used by i.MX28. But the upcoming GPMI NAND port
for i.MX6 will also use these functions. So lets move them to a
common location to re-use them.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'spl')
-rw-r--r-- | spl/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spl/Makefile b/spl/Makefile index b5a8de7..da2dd0a 100644 --- a/spl/Makefile +++ b/spl/Makefile @@ -94,6 +94,10 @@ LIBS-y += arch/$(ARCH)/cpu/tegra-common/libcputegra-common.o LIBS-y += $(CPUDIR)/tegra-common/libtegra-common.o endif +ifneq ($(CONFIG_MX23),) +LIBS-y += arch/$(ARCH)/imx-common/libimx-common.o +endif + # Add GCC lib ifeq ("$(USE_PRIVATE_LIBGCC)", "yes") PLATFORM_LIBGCC = $(SPLTREE)/arch/$(ARCH)/lib/libgcc.o |