9
0
Fork 0

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:
Holger Hans Peter Freyther 2014-07-11 14:17:17 +02:00
parent 9d7b0ba957
commit a6f894835c
2 changed files with 2 additions and 2 deletions

View File

@ -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>;

View File

@ -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,