Skip to contentSkip to conversation

ARM: omap2plus_defconfig: Fix SATA and NAND for v4.0-rc

PATCH New Roger Quadros 2 participants 4 messages Feb 23, 2015 – Feb 24, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover ARM: omap2plus_defconfig: Fix SATA and NAND for v4.0-rc

Hi,

These changes fix SATA boot and NAND for OMAP based boards.

I must also point out that basic SATA operation is also broken when TI_PIPE3 driver is built as a module. I will be investigating that on lower priority.

--
cheers,
-roger

Roger Quadros (2):
ARM: omap2plus_defconfig: Enable OMAP NAND BCH driver
ARM: omap2plus_defconfig: Fix SATA boot

 arch/arm/configs/omap2plus_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.1.0
#1 lore raw

PATCH 1/2 ARM: omap2plus_defconfig: Enable OMAP NAND BCH driver

Without this NAND doesn't work on most EVMs.

---
 arch/arm/configs/omap2plus_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/omap2plus_defconfig +1 -0
index b738652..b674245 100644
@@ -114,6 +114,7 @@ CONFIG_MTD_PHYSMAP_OF=y
 CONFIG_MTD_NAND=y
 CONFIG_MTD_NAND_ECC_BCH=y
 CONFIG_MTD_NAND_OMAP2=y
+CONFIG_MTD_NAND_OMAP_BCH=y
 CONFIG_MTD_ONENAND=y
 CONFIG_MTD_ONENAND_VERIFY_WRITE=y
 CONFIG_MTD_ONENAND_OMAP2=y
Signature · 1 line
2.1.0
#2 lore raw

PATCH 2/2 ARM: omap2plus_defconfig: Fix SATA boot

In reply to Roger Quadros

SATA operation depends on PIPE3 PHY and if we want to boot from SATA drives, we have to have the PIPE3 PHY driver built-in.

---
 arch/arm/configs/omap2plus_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/configs/omap2plus_defconfig +1 -1
index b674245..088096f 100644
@@ -375,7 +375,7 @@ CONFIG_PWM_TIEHRPWM=m
 CONFIG_PWM_TWL=m
 CONFIG_PWM_TWL_LED=m
 CONFIG_OMAP_USB2=m
-CONFIG_TI_PIPE3=m
+CONFIG_TI_PIPE3=y
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 # CONFIG_EXT3_FS_XATTR is not set
Signature · 1 line
2.1.0
maintainer
#3 lore raw

cover ARM: omap2plus_defconfig: Fix SATA and NAND for v4.0-rc

In reply to Roger Quadros
Quoted 7 lines · Roger Quadros

Hi,

These changes fix SATA boot and NAND for OMAP based boards.

I must also point out that basic SATA operation is also broken when TI_PIPE3 driver is built as a module. I will be investigating that on lower priority.

OK applying into omap-for-v4.0/fixes. At some point we're going to make everything use loadable modules and initramfs so best to make sure things work as loadable modules.

Regards,

Tony

Quoted 10 lines

Roger Quadros (2):
ARM: omap2plus_defconfig: Enable OMAP NAND BCH driver
ARM: omap2plus_defconfig: Fix SATA boot

 arch/arm/configs/omap2plus_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.1.0