diff options
author | Ilya Yanok <ilya.yanok@cogentembedded.com> | 2012-11-06 13:06:34 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-12-10 08:54:02 -0700 |
commit | 5846b11e8810f0ecc15e78b383b7709b9b785580 (patch) | |
tree | e0f9a962455c371831356013270b97d787c118a9 /drivers/mtd/nand/Makefile | |
parent | c3754e9cc23af1bbd15fb10034c0e7c8ee62b110 (diff) | |
download | u-boot-5846b11e8810f0ecc15e78b383b7709b9b785580.tar.gz u-boot-5846b11e8810f0ecc15e78b383b7709b9b785580.tar.xz u-boot-5846b11e8810f0ecc15e78b383b7709b9b785580.zip |
am33xx_spl_bch: simple SPL nand loader for AM33XX
AM33XX with BCH8 can't work with nand_spl_simple correctly
because custom read_page implementation is required for proper
syndrome generation.
This simple driver mostly duplicates nand_spl_simple but has
nand_read_page changed to suit our needs.
Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
Diffstat (limited to 'drivers/mtd/nand/Makefile')
-rw-r--r-- | drivers/mtd/nand/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index beb99cacb6..5322f3a953 100644 --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile @@ -30,6 +30,7 @@ ifdef CONFIG_SPL_BUILD ifdef CONFIG_SPL_NAND_SIMPLE COBJS-y += nand_spl_simple.o endif +COBJS-$(CONFIG_SPL_NAND_AM33XX_BCH) += am335x_spl_bch.o ifdef CONFIG_SPL_NAND_LOAD COBJS-y += nand_spl_load.o endif |