[CC list trimmed]

David Brownell <[email protected]> writes:

[...]

> (Kevin -- I suggest you merge this to the DaVinci tree to
> make the eventual resync-with-mainline easier.)

Done.

Note I also just pushed the patch below to remove the use of cpu_is_*
from this driver since that check is redundant with pdata and I'm
trying to drop all the usage of cpu_is_* from davinci drivers in favor
of platform_data.

If it's not too late, could you incorporate that into your push to
mainline.

Kevin

commit f7a599f911ca0280d8c39cf34995338bead4c823
Author: Kevin Hilman <[email protected]>
Date:   Thu Feb 26 17:15:18 2009 -0800

    MTD: NAND: drop usage of cpu_is_* macro
    
    Usage of davinci-specific cpu_is macros is not allowed in drivers.
    These options should be passed in through platform_data.
    
    Signed-off-by: Kevin Hilman <[email protected]>

diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c
index aa70b4e..633d1b0 100644
--- a/drivers/mtd/nand/davinci_nand.c
+++ b/drivers/mtd/nand/davinci_nand.c
@@ -392,8 +392,6 @@ static int __init nand_davinci_probe(struct platform_device 
*pdev)
        /* use board-specific ECC config; else, the best available */
        if (pdata)
                ecc_mode = pdata->ecc_mode;
-       else if (cpu_is_davinci_dm355())
-               ecc_mode = NAND_ECC_HW_SYNDROME;
        else
                ecc_mode = NAND_ECC_HW;
 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to