Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-04-07 Thread Bill Pringlemeir
On 7 Apr 2015, scottw...@freescale.com wrote: > On Tue, 2015-04-07 at 10:06 -0400, Bill Pringlemeir wrote: >> In any case the document has, >> If the NAND flash supports sub-pages, then what can be done is ECC >> codes can be calculated on per-sub-page basis, instead of p

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: remove caching of page in buffer

2015-04-07 Thread Bill Pringlemeir
On 7 Apr 2015, ste...@agner.ch wrote: > On 2015-04-07 16:24, Bill Pringlemeir wrote: >> The OOB patch also significantly decreases UbiFS mounting time in >> Linux. I load Linux itself via tftp/network and not using u-boot >> with nand. I guess I should try that. > I

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: remove caching of page in buffer

2015-04-07 Thread Bill Pringlemeir
On 7 Apr 2015, ste...@agner.ch wrote: > On 2015-04-02 22:30, Bill Pringlemeir wrote: >> On 2 Apr 2015, ste...@agner.ch wrote: >> [snip] >> I also measured 'write performance' with the mtd_speedtest >> (performing similar patch to the Linux driver) and I s

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-04-07 Thread Bill Pringlemeir
writes less than a full page, the entire page must be read to calculate the hw-ecc to be written. I am pretty sure that all controllers that support hw-ecc will need to do this. Fwiw, Bill Pringlemeir. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 4/4] mtd: vf610_nfc: support subpage write

2015-04-07 Thread Bill Pringlemeir
nagement in the driver is most simple in it's current form. The other versions that I found seemed to be buggy to me. However, the current driver doesn't use all of the NFC SRAM buffer space. Btw, the READ_OOB is very nice for Linux as well. It is a much faster mount of UBI/UbiFs as wel

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: remove caching of page in buffer

2015-04-02 Thread Bill Pringlemeir
to the Linux driver) and I see no difference. I think a write benchmark is more appropriate to test this functionality? While at least it seems that neither read nor write is affected by the simplification. Fwiw, Bill Pringlemeir. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-31 Thread Bill Pringlemeir
h speed bus -> DDR CPU - Low speed bus -> NFC So, I don't think that this is Vybrid specific. The PPC, ColdFire, etc will probably have similar issues. DMA has the same limitations as the CPU, with setup overhead. Of course, you can parallel the main CPU with DMA but many systems want the NAND to complete synchronously; especially u-boot. Fwiw, Bill Pringlemeir. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Bill Pringlemeir
think it would be worthwhile to benchmark without the cache. Or maybe Stefan already has some numbers? Upper layers doing partial pages will definitely benefit with the 'cache'; we would also need more DDR memory as the NFC controller memory is being used as a scratch buffer. Fwiw, Bill

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-30 Thread Bill Pringlemeir
the updates since sub-pages were removed to see if this is worth it. I think it was only ~10-20% in some benchmark I was doing with the 'caching'. At least in the small, this is a minimal change that is correct. Ack-by: Bill Pringlemeir ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] imx: don't clobber reset cause

2015-02-10 Thread Bill Pringlemeir
It would probably be nice if the Vybrid followed the same pattern; but maybe they are different? From reading the RMs they seem the same. Regards, Bill Pringlemeir. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] imx: save reset cause in 'reset_cause' environment variable

2015-02-06 Thread Bill Pringlemeir
> On 02/05/2015 03:58 PM, Eric Nelson wrote: >> The cause of a reset is generally useful, and shouldn't be >> blindly cleared in the process of displaying it as a part >> of the boot announcement. >> >> >> >> diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c >> index 28ccd29..4a5

Re: [U-Boot] [PATCH] imx: save reset cause in 'reset_cause' environment variable

2015-02-05 Thread Bill Pringlemeir
I favor hex. I also prefer the hex. I have had very weird values in this register. For a normal user, we can guess and display a string. Sometimes in the case of double/triple resets, there can be very strange values. You can get these when DMA goes crazy (because of bad code or otherwise). F

Re: [U-Boot] [PATCH] imx: don't clobber reset cause

2015-02-05 Thread Bill Pringlemeir
r other U-Boot users. Unless you wanted to read this from an OS? I think both files should behave the same, all else equal. Fwiw, Bill Pringlemeir. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/3] arm: relocation: clear .bss section with arch memset if defined

2015-02-02 Thread Bill Pringlemeir
into the middle of an unrolled loop with 'add pc, rn<<2, #constant'). The size/iteration can be easily tweaked (8/16/32 bytes). At least in principal *if* there is some size alignment on BSS it is fairly easy to write some generic ARM to quickly clear the BSS that will be just as competitive as any ARCH memset version. The above code is adding about 13 words of code. Fwiw, Bill Pringlemeir. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [GIT PULL] Zynq SoC changes

2015-01-26 Thread Bill Pringlemeir
wlevel_init.S and don't want anyone else to be using floating point. ... but I am not sure what exactly is going on so maybe it is not a good fit here? Fwiw, Bill Pringlemeir. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/3] ARmv7: Add a soc_init hook to start.S

2015-01-22 Thread Bill Pringlemeir
t + * Don't save >>> anything to stack even if compiled with -O0 + * + >>> */ >>> +ENTRY(soc_init) >>> + mov r9, lr >>> + bl cpu_init_cp15 >>> + mov pc, r9 @

Re: [U-Boot] [PATCH 1/3] ARmv7: Add a soc_init hook to start.S

2015-01-21 Thread Bill Pringlemeir
On 21 Jan 2015, hdego...@redhat.com wrote: > On some SoCs / ARMv7 CPU cores we need to do some setup before > enabling the icache, etc. Add a soc_init hook with a weak default > which just calls cpu_init_cp15. > > This way different implementations can be provided to do some extra > work before or

Re: [U-Boot] [PATCH] arm: fix exception vectors

2015-01-19 Thread Bill Pringlemeir
t see this symbol besides a 'Kconfig'. There are three versions on the Cortex, but the VBAR (whether secure or not) is the the correct one. At least in theory, this code if activated should work for the iMx6 and an override of the 'weak' relocate vectors is not needed.

Re: [U-Boot] Unreadable UBIFS partition after power cuts

2015-01-16 Thread Bill Pringlemeir
.infradead.org/pipermail/linux-mtd/2014-July/054712.html They might be useful to identify injured blocks/pages. Obviously, the 'recovery needed' shows that fixing some partial write/erase is the issue. If UBI passes a damaged page/info to UbiFS, then it will act on bad info. Fwiw, Bill P

Re: [U-Boot] [PATCH] arm: vf610: fix boot from SD-card

2015-01-08 Thread Bill Pringlemeir
it. Whatever the issue is, this fixes it for me as well. I would guess that NAND boot is also not possible or probably anything but serial-download modes. Thanks, Bill Pringlemeir. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] arm: vf610: fix boot from SD-card

2015-01-08 Thread Bill Pringlemeir
> + > +/* We boot from the gfxRAM area of the OCRAM. */ > +#define CONFIG_SYS_TEXT_BASE 0x3f408000 > +#define CONFIG_BOARD_SIZE_LIMIT 524288 > > #define CONFIG_EXTRA_ENV_SETTINGS \ > "script=boot.scr\0" \ Acked-by: Bill Pringlemeir See also: http://lists.den

Re: [U-Boot] [PATCH v2] mx25: Fix boot hang by avoiding vector relocation

2015-01-08 Thread Bill Pringlemeir
nd why this is more > right than not just relocating the vectors as v1 did, I see both boot > to a U-Boot prompt but shouldn't we do a bit more testing to confirm > that we don't need to relocate these exception vectors or have we now > introduced some subtle breakage (or perhaps

Re: [U-Boot] [PATCH] scripts: fix binutils-version.sh for 'as' without a package.

2015-01-07 Thread Bill Pringlemeir
On 7 Jan 2015, yamad...@jp.panasonic.com wrote: > Thanks for your patch. > > I think this works but could it be more simplified? > > In your commit-log, you mentioned only some of tools provide > additional information surrounded by brackets. > > If so, we can > [1] remove blackets > [2] and then

[U-Boot] [PATCH v3] scripts: fix binutils-version.sh for 'as' without a package.

2015-01-07 Thread Bill Pringlemeir
#x27; to the version. Strip out the '(package version text)' and then look for a ##.## string. Signed-off-by: Bill Pringlemeir --- scripts/binutils-version.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/binutils-version.sh b/scripts/binutils-version.sh

[U-Boot] [PATCH] scripts: fix binutils-version.sh for 'as' without a package.

2015-01-06 Thread Bill Pringlemeir
#x27; to the version. Run a 2nd pass on the 'version_string' to strip off any leading characters when a package is not provided in brackets. Signed-off-by: Bill Pringlemeir --- scripts/binutils-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts

[U-Boot] [PATCH] scripts: fix binutils-version.sh for 'as' without a package.

2015-01-06 Thread Bill Pringlemeir
#x27; to the version. Run a 2nd pass on the 'version_string' to strip off any leading characters when a package is not provided in brackets. Signed-off-by: Bill Pringlemeir --- scripts/binutils-version.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts

Re: [U-Boot] v2015.01-rc4 REGRESSION: "scripts: fix binutils-version.sh" breaks things for non Linaro toolchains

2015-01-06 Thread Bill Pringlemeir
>> On Tue, Jan 06, 2015 at 11:27:43AM +0100, Hans de Goede wrote: >>> ping ? current master still has this regression, it is not fatal, >>> but it is not >>> pretty either. > On 6 Jan 2015, tr...@ti.com wrote: >> Did you see my earlier reply? It's OK with vanilla toolchains (see >> ELDK) and L

Re: [U-Boot] v2015.01-rc4 REGRESSION: "scripts: fix binutils-version.sh" breaks things for non Linaro toolchains

2015-01-06 Thread Bill Pringlemeir
On 6 Jan 2015, tr...@ti.com wrote: > On Tue, Jan 06, 2015 at 11:27:43AM +0100, Hans de Goede wrote: >> Hi all, >> >> ping ? current master still has this regression, it is not fatal, >> but it is not >> pretty either. > > Did you see my earlier reply? It's OK with vanilla toolchains (see > ELDK)

Re: [U-Boot] mx25pdk does not boot with 3ff46cc42b9d7

2015-01-05 Thread Bill Pringlemeir
in the IRAM at 0x7801, where I guess the ROM code (at address zero) branches too. Fwiw, Bill Pringlemeir. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 0/2] arm: vf610: Change Vybrid Tower boot memory.

2014-12-03 Thread Bill Pringlemeir
Without the second patch, U-Boot will not boot on the Vybrid tower systems for me. A better mechanism would be to use the SPL to load direct to DDR3. However, the gfxRAM is large enough to fit the current (~400KB) image for initial load. U-Boot is relocated to DDR3 when initialized, so the life

[U-Boot] [PATCH 2/2] arm: vf610: Initial load to 1/2MB OC gfxRAM.

2014-12-03 Thread Bill Pringlemeir
by default. As U-Boot relocates to DDR3 the gfxRAM is probably reliable enough. However, an SPL framework would be better. Signed-off-by: Bill Pringlemeir --- include/configs/vf610twr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/vf610twr.h b/include

[U-Boot] [PATCH 1/2] arm: vf610: Remove duplicate MTD defines.

2014-12-03 Thread Bill Pringlemeir
Some MTD defines are repeated twice; once with UBI and then with MTD. Remove the duplicate MTD defines from the UBI grouping. Signed-off-by: Bill Pringlemeir --- include/configs/vf610twr.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/vf610twr.h b/include/configs

Re: [U-Boot] [PATCH v2] arm: build arch memset/memcpy in Thumb2 mode

2014-12-03 Thread Bill Pringlemeir
d output. I guess this is copy/paste from a Linux Makefile as I don't even see where it is set in U-Boot. > -mthumb-interwork,\ $(call cc-option,-marm,)\ $(call > cc-option,-mno-thumb-interwork,)\ ) diff --git > a/arch/arm/include/asm/assembler.h b/arch/arm/include/asm/assembler.h &

Re: [U-Boot] Attached DTB no longer supported u-boot.imx?

2014-12-03 Thread Bill Pringlemeir
> On Fri, Nov 28, 2014 at 06:56:32PM -0500, Bill Pringlemeir wrote: >> Sorry, both trees behave the same. I will switch to separate >> binaries. On 28 Nov 2014, tr...@ti.com wrote: > This is not intentional. I suspect I know what commit did this. Can > you please

Re: [U-Boot] Attached DTB no longer supported u-boot.imx?

2014-11-28 Thread Bill Pringlemeir
On 28 Nov 2014, bpringlem...@nbsps.com wrote: > > I tried to update the new u-boot I get, > > Bytes transferred = 3413041 (341431 hex) > Kernel image @ 0x8600 [ 0x00 - 0x33e150 ] > Could not find a valid device tree [snip] > Is the imx just using newer patches to be merged to the main tr

[U-Boot] Attached DTB no longer supported u-boot.imx?

2014-11-28 Thread Bill Pringlemeir
I tried to update the new u-boot I get, Bytes transferred = 3413041 (341431 hex) Kernel image @ 0x8600 [ 0x00 - 0x33e150 ] Could not find a valid device tree The 'bootcmd' is, tftp ${loadaddr} zImage.dtb; bootz ${loadaddr} has the syntax changed and I am not up to date? I think

Re: [U-Boot] [PATCH] arm: make arch memset/memcpy to work with Thumb2 builds

2014-11-21 Thread Bill Pringlemeir
de'; so this solved it? I think it is a very nice feature to have Thumb2 on Vybrid. Many boot devices may have limited bandwidth compared to the running system. Thanks for your work. Regards, Bill Pringlemeir ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] arm: make arch memset/memcpy to work with Thumb2 builds

2014-11-20 Thread Bill Pringlemeir
sions are here, http://ftp.mirrorservice.org/sites/sourceware.org/pub/binutils/old-releases/ Who knows if some vendor patched things to mess something up? Probably grabbing an older 'gas' version and verifying it was the same binary before/after the patch would probably be fair confirma

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-20 Thread Bill Pringlemeir
> On Wed, 19 Nov 2014 13:34:34 -0500, Bill Pringlemeir > wrote: >>>>> In message <20141119074214.3d414ce6@lilith> Albert wrote: >>>>>> For -mauto-it, it is not documented in the gas documentation >>>>>> online or in my current as

Re: [U-Boot] [PATCH] arm: make arch memset/memcpy to work with Thumb2 builds

2014-11-20 Thread Bill Pringlemeir
> On 20-11-14 13:15, Stefan Agner wrote: >> No particular reason, I did not know how to fix this without digging >> into it. Hence, after I discovered this, I checked why those warnings >> do not happen for the kernel, then I applied just the AFLAGS the >> kernel is using. I guess fixing the under

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-19 Thread Bill Pringlemeir
y scream from me, the change above is fine globally in >>>> U-Boot. >> On 19 Nov 2014, w...@denx.de wrote: >>> Apparently this [1] is where it is coming from; no further >>> documentation there, though. >> >>> [1] https://sourceware.org/ml/binut

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-19 Thread Bill Pringlemeir
The 'bar' above ends up with '11' in r1 if the value is zero, but it temporarily '7'. The 2nd bar will only place 11 in r1. Fwiw, Bill Pringlemeir. Ref: https://wiki.ubuntu.com/ARM/Thumb2PortingHowto#Conditional_Execution ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v4 5/7] imx6: add some flexibility for defining macros

2014-11-12 Thread Bill Pringlemeir
the IRAM. This is nice if you have L1 (primary 1M/4M MMU section entries) and need to have non-cached entries for DMA (ethernet, usb, etc). But that is probably not relevant for the SPL? Fwiw, Bill Pringlemeir. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] imx: mx6: Add support for MX6 plugin images

2014-11-05 Thread Bill Pringlemeir
ion. For non-secure boots, the SPL seems equivalent. With secondary image verification in the SPL, then I think it would be equivalent to the 'plug-in'. The SPL would be supported in all HAB versions. I don't know if the 'plug-in' is supported with earlier iMx ser

Re: [U-Boot] Relocation issue - need help!

2014-10-26 Thread Bill Pringlemeir
og below this patch seems sensible. http://www.airs.com/blog/archives/189 I assume u-boot has no MMU enabled, then all the relocations should be similar. This would be for all architectures though? Fwiw, Bill Pringlemeir. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] A minor question on a Driver Model function

2014-09-18 Thread Bill Pringlemeir
/17/14 11:18, Masahiro Yamada wrote: >> >>> Well, I'm not an expert in s/w security, but I'll try to explain... >> >> [snip] >> >>> But, again, I'm not an expert in this area, so its only a >>> suggestion. >> > On 09/17/14 18

Re: [U-Boot] A minor question on a Driver Model function

2014-09-17 Thread Bill Pringlemeir
. [snip] > But, again, I'm not an expert in this area, so its only a suggestion. I thought it was fairly apparent that the current code supports passing a string that is *NOT* null terminated. This can be convenient if you extract a sub-string from a command line and do not need to m

Re: [U-Boot] [PATCH v4 1/2] mtd: nand: add Freescale vf610_nfc driver

2014-09-11 Thread Bill Pringlemeir
supported by the driver. > > Signed-off-by: Stefan Agner Acked-by: Bill Pringlemeir ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v3 3/4] mtd: nand: add Freescale vf610_nfc driver

2014-08-21 Thread Bill Pringlemeir
ted on Vybrid. >>> On Wed, 2014-08-13 at 22:32, Scott Wood wrote: >>>> raw_writel() is itself something that should only be used for >>>> hand-optimized sections. For non-performance-critical code you >>>> should use normal writel() so that you d

Re: [U-Boot] [PATCH v2 3/4] mtd: nand: add Freescale NFC driver

2014-08-18 Thread Bill Pringlemeir
On 18 Aug 2014, ste...@agner.ch wrote: > Am 2014-08-14 23:12, schrieb Bill Pringlemeir: >>> On 14 Aug 2014, ste...@agner.ch wrote: >>> >>> This adds initial support for Freescale NFC (NAND Flash Controller) >>> found in ARM Vybrid SoC's, Power Archit

Re: [U-Boot] [PATCH v2 3/4] mtd: nand: add Freescale NFC driver

2014-08-14 Thread Bill Pringlemeir
le.com/webapp/sps/site/prod_summary.jsp?code=VF6xx There is an app note, AN4947 'Understanding Vybrid Architecture', which describes some timing details for the AHB bus (where this flash controller is connected). Pg21 Table 7 of that document gives some measurements. The QSPI i

Re: [U-Boot] [PATCH v2 3/4] mtd: nand: add Freescale NFC driver

2014-08-14 Thread Bill Pringlemeir
re-read on an error in case of un-stable bits? It is very little code to ensure a re-read in case of ECC failure. The 2nd physical read may pass whereas the first failed. This path is rare, but maybe important? A higher layer may migrate the data in this case; just as with a corrected bits.

Re: [U-Boot] [PATCH 3/4] mtd: nand: add Freescale NFC driver

2014-08-14 Thread Bill Pringlemeir
On 13 Aug 2014, scottw...@freescale.com wrote: > On Wed, 2014-08-13 at 17:44 -0400, Bill Pringlemeir wrote: >> Regarding "can't know in advance", I think that some of the register >> values maybe set by the boot rom. This might make more sense for >> Li

Re: [U-Boot] [PATCH 3/4] mtd: nand: add Freescale NFC driver

2014-08-13 Thread Bill Pringlemeir
On 13 Aug 2014, scottw...@freescale.com wrote: > On Tue, 2014-08-12 at 18:58 -0400, Bill Pringlemeir wrote: >> On 12 Aug 2014, scottw...@freescale.com wrote: >> >>> On Tue, 2014-08-12 at 23:13 +0200, Stefan Agner wrote: >>>> Am 2014-08-12 00:33, schrieb Sc

Re: [U-Boot] [PATCH 3/4] mtd: nand: add Freescale NFC driver

2014-08-13 Thread Bill Pringlemeir
expect the size to get bigger if they are not inlined. Especially, gcc can recognize that the same memory location is being operated on and collapse the accesses. Anyways, thanks for showing that the previous code was depending too much on compiler knowledge. Your current plan sounds promisi

Re: [U-Boot] [PATCH 3/4] mtd: nand: add Freescale NFC driver

2014-08-13 Thread Bill Pringlemeir
On 13 Aug 2014, ste...@agner.ch wrote: > Am 2014-08-13 00:58, schrieb Bill Pringlemeir: > [snip] >>>>>> +static u32 nfc_read(struct mtd_info *mtd, uint reg) >>>>>> +{ >>>>>> +struct fsl_nfc *nfc = mtd_to_nfc

Re: [U-Boot] [PATCH 3/4] mtd: nand: add Freescale NFC driver

2014-08-13 Thread Bill Pringlemeir
On 12 Aug 2014, scottw...@freescale.com wrote: > On Tue, 2014-08-12 at 23:13 +0200, Stefan Agner wrote: >> Am 2014-08-12 00:33, schrieb Scott Wood: >>> On Wed, 2014-08-06 at 10:59 +0200, Stefan Agner wrote: This adds initial support for Freescale NFC (NAND Flash Controller). The IP is u

Re: [U-Boot] [PATCH 3/4] mtd: nand: add Freescale NFC driver

2014-08-06 Thread Bill Pringlemeir
); > + ecc_count = ecc_status & ECC_ERR_COUNT; > + if (!(ecc_status & ECC_STATUS_MASK)) > + return ecc_count; [snip] > +static void nfc_enable_hwecc(struct mtd_info *mtd, int mode) > +{ > +} > + > +struct nfc_config { > + int hardware_ec