pcm051/omap: Hack and make bch8 mean HW_ROMCODE here
Changing the arch/arm/dts/am335x-phytec-phycore.dts would be another option but that would break loading a mainline kernel. The idea/patch is coming from Jan.
This commit is contained in:
parent
9d7b0ba957
commit
a6f894835c
|
@ -246,7 +246,7 @@
|
|||
nand: nand@0,0 {
|
||||
reg = <0 0 0>; /* CS0, offset 0 */
|
||||
nand-bus-width = <8>;
|
||||
ti,nand-ecc-opt = "bch8";
|
||||
ti,nand-ecc-opt = "bch8-romcode";
|
||||
gpmc,device-nand = "true";
|
||||
gpmc,device-width = <1>;
|
||||
gpmc,sync-clk-ps = <0>;
|
||||
|
|
|
@ -382,7 +382,7 @@ static struct dt_eccmode modes[] = {
|
|||
.mode = OMAP_ECC_BCH4_CODE_HW,
|
||||
}, {
|
||||
.name = "bch8",
|
||||
.mode = OMAP_ECC_BCH8_CODE_HW,
|
||||
.mode = OMAP_ECC_BCH8_CODE_HW_ROMCODE,
|
||||
}, {
|
||||
.name = "bch8-romcode",
|
||||
.mode = OMAP_ECC_BCH8_CODE_HW_ROMCODE,
|
||||
|
|
Loading…
Reference in New Issue