mips: mt7688: gardena-smart-gateway: Update mtdparts/mtdids for Kernel 4.19
Subsystems (2)
PATCH 1/2 mips: mt7688: gardena-smart-gateway: Update mtdparts/mtdids for Kernel 4.19
With the new SPI NOR framework in v4.19, we need to adapt the MTD parts so that the kernel cmdline parameter "mtdparts=" uses the correct naming for the devices.
--- configs/gardena-smart-gateway-mt7688-ram_defconfig | 4 ++-- configs/gardena-smart-gateway-mt7688_defconfig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
configs/gardena-smart-gateway-mt7688-ram_defconfig +2 -2
@@ -33,8 +33,8 @@ CONFIG_CMD_BOOTCOUNT=y CONFIG_CMD_TIME=y CONFIG_CMD_UUID=y CONFIG_CMD_MTDPARTS=y -CONFIG_MTDIDS_DEFAULT="spi-nand0=gd5f,nor0=spi0.0" -CONFIG_MTDPARTS_DEFAULT="spi0.0:640k(uboot),64k(uboot_env0),64k(uboot_env1),64k(factory),-(unused);gd5f:-(nand)" +CONFIG_MTDIDS_DEFAULT="spi-nand0=spi0.1,nor0=spi0.0" +CONFIG_MTDPARTS_DEFAULT="spi0.0:640k(uboot),64k(uboot_env0),64k(uboot_env1),64k(factory),-(unused);spi0.1:-(nand)" CONFIG_CMD_UBI=y CONFIG_DEFAULT_DEVICE_TREE="gardena-smart-gateway-mt7688" CONFIG_ENV_IS_IN_SPI_FLASH=y
configs/gardena-smart-gateway-mt7688_defconfig +2 -2
@@ -36,8 +36,8 @@ CONFIG_CMD_BOOTCOUNT=y CONFIG_CMD_TIME=y CONFIG_CMD_UUID=y CONFIG_CMD_MTDPARTS=y -CONFIG_MTDIDS_DEFAULT="spi-nand0=gd5f,nor0=spi0.0" -CONFIG_MTDPARTS_DEFAULT="spi0.0:640k(uboot),64k(uboot_env0),64k(uboot_env1),64k(factory),-(unused);gd5f:-(nand)" +CONFIG_MTDIDS_DEFAULT="spi-nand0=spi0.1,nor0=spi0.0" +CONFIG_MTDPARTS_DEFAULT="spi0.0:640k(uboot),64k(uboot_env0),64k(uboot_env1),64k(factory),-(unused);spi0.1:-(nand)" CONFIG_CMD_UBI=y CONFIG_DEFAULT_DEVICE_TREE="gardena-smart-gateway-mt7688" CONFIG_ENV_IS_IN_SPI_FLASH=y
Signature · 1 line
2.20.1
PATCH 2/2 mips: mt7688: gardena-smart-gateway: Enable green power LED on startup
Set the correct power-up state (default-state) of the green power LED.
--- arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/dts/gardena-smart-gateway-mt7688.dts +1 -1
@@ -34,7 +34,7 @@ power_green { label = "smartgw:power:green"; gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>; - default-state = "off"; + default-state = "on"; }; power_red {
Signature · 1 line
2.20.1
PATCH 2/2 mips: mt7688: gardena-smart-gateway: Enable green power LED on startup
Am 15.01.19 um 13:54 schrieb Stefan Roese:
Quoted 8 lines
Set the correct power-up state (default-state) of the green power LED.
Signed-off-by Stefan Roese <[email protected]>Cc Daniel Schwierzeck <[email protected]>--- arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
applied to u-boot-mips, thanks.
Signature · 1 line
- Daniel
PATCH 1/2 mips: mt7688: gardena-smart-gateway: Update mtdparts/mtdids for Kernel 4.19
In reply to Stefan RoeseAm 15.01.19 um 13:54 schrieb Stefan Roese:
Quoted 11 lines
With the new SPI NOR framework in v4.19, we need to adapt the MTD parts so that the kernel cmdline parameter "mtdparts=" uses the correct naming for the devices.
Signed-off-by Stefan Roese <[email protected]>Cc Daniel Schwierzeck <[email protected]>--- configs/gardena-smart-gateway-mt7688-ram_defconfig | 4 ++-- configs/gardena-smart-gateway-mt7688_defconfig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
applied to u-boot-mips, thanks.
Signature · 1 line
- Daniel