Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ezynq
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
ezynq
Commits
d8deaa75
Commit
d8deaa75
authored
Feb 22, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test 6: add zynq driver
parent
c171a0c5
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1348 additions
and
0 deletions
+1348
-0
Makefile
u-boot-tree/drivers/mtd/nand/Makefile
+82
-0
zynq_nand.c
u-boot-tree/drivers/mtd/nand/zynq_nand.c
+1266
-0
No files found.
u-boot-tree/drivers/mtd/nand/Makefile
0 → 100644
View file @
d8deaa75
#
# (C) Copyright 2006
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# SPDX-License-Identifier: GPL-2.0+
#
ifdef
CONFIG_SPL_BUILD
ifdef
CONFIG_SPL_NAND_DRIVERS
NORMAL_DRIVERS
=
y
endif
obj-$(CONFIG_SPL_NAND_AM33XX_BCH)
+=
am335x_spl_bch.o
obj-$(CONFIG_SPL_NAND_DENALI)
+=
denali_spl.o
obj-$(CONFIG_SPL_NAND_DOCG4)
+=
docg4_spl.o
obj-$(CONFIG_SPL_NAND_SIMPLE)
+=
nand_spl_simple.o
obj-$(CONFIG_SPL_NAND_LOAD)
+=
nand_spl_load.o
obj-$(CONFIG_SPL_NAND_ECC)
+=
nand_ecc.o
obj-$(CONFIG_SPL_NAND_BASE)
+=
nand_base.o
obj-$(CONFIG_SPL_NAND_INIT)
+=
nand.o
ifeq
($(CONFIG_SPL_ENV_SUPPORT),y)
obj-$(CONFIG_ENV_IS_IN_NAND)
+=
nand_util.o
endif
else
# not spl
NORMAL_DRIVERS
=
y
obj-y
+=
nand.o
obj-y
+=
nand_bbt.o
obj-y
+=
nand_ids.o
obj-y
+=
nand_util.o
obj-y
+=
nand_ecc.o
obj-y
+=
nand_base.o
obj-y
+=
nand_timings.o
endif
# not spl
ifdef
NORMAL_DRIVERS
obj-$(CONFIG_NAND_ECC_BCH)
+=
nand_bch.o
obj-$(CONFIG_NAND_ATMEL)
+=
atmel_nand.o
obj-$(CONFIG_NAND_ARASAN)
+=
arasan_nfc.o
obj-$(CONFIG_DRIVER_NAND_BFIN)
+=
bfin_nand.o
obj-$(CONFIG_NAND_DAVINCI)
+=
davinci_nand.o
obj-$(CONFIG_NAND_DENALI)
+=
denali.o
obj-$(CONFIG_NAND_FSL_ELBC)
+=
fsl_elbc_nand.o
obj-$(CONFIG_NAND_FSL_IFC)
+=
fsl_ifc_nand.o
obj-$(CONFIG_NAND_FSL_UPM)
+=
fsl_upm.o
obj-$(CONFIG_NAND_FSMC)
+=
fsmc_nand.o
obj-$(CONFIG_NAND_JZ4740)
+=
jz4740_nand.o
obj-$(CONFIG_NAND_KB9202)
+=
kb9202_nand.o
obj-$(CONFIG_NAND_KIRKWOOD)
+=
kirkwood_nand.o
obj-$(CONFIG_NAND_KMETER1)
+=
kmeter1_nand.o
obj-$(CONFIG_NAND_LPC32XX_MLC)
+=
lpc32xx_nand_mlc.o
obj-$(CONFIG_NAND_LPC32XX_SLC)
+=
lpc32xx_nand_slc.o
obj-$(CONFIG_NAND_MPC5121_NFC)
+=
mpc5121_nfc.o
obj-$(CONFIG_NAND_VF610_NFC)
+=
vf610_nfc.o
obj-$(CONFIG_NAND_MXC)
+=
mxc_nand.o
obj-$(CONFIG_NAND_MXS)
+=
mxs_nand.o
obj-$(CONFIG_NAND_NDFC)
+=
ndfc.o
obj-$(CONFIG_NAND_PXA3XX)
+=
pxa3xx_nand.o
obj-$(CONFIG_NAND_S3C2410)
+=
s3c2410_nand.o
obj-$(CONFIG_NAND_SPEAR)
+=
spr_nand.o
obj-$(CONFIG_TEGRA_NAND)
+=
tegra_nand.o
obj-$(CONFIG_NAND_OMAP_GPMC)
+=
omap_gpmc.o
obj-$(CONFIG_NAND_OMAP_ELM)
+=
omap_elm.o
obj-$(CONFIG_NAND_PLAT)
+=
nand_plat.o
obj-$(CONFIG_NAND_DOCG4)
+=
docg4.o
obj-$(CONFIG_NAND_ZYNQ)
+=
zynq_nand.o
else
# minimal SPL drivers
obj-$(CONFIG_NAND_FSL_ELBC)
+=
fsl_elbc_spl.o
obj-$(CONFIG_NAND_FSL_IFC)
+=
fsl_ifc_spl.o
obj-$(CONFIG_NAND_MXC)
+=
mxc_nand_spl.o
obj-$(CONFIG_NAND_MXS)
+=
mxs_nand_spl.o
mxs_nand.o
obj-$(CONFIG_NAND_SUNXI)
+=
sunxi_nand_spl.o
endif
# drivers
u-boot-tree/drivers/mtd/nand/zynq_nand.c
0 → 100644
View file @
d8deaa75
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment