All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] mips: mt7688: gardena-smart-gateway: Update mtdparts/mtdids for Kernel 4.19
@ 2019-01-15 12:54 Stefan Roese
  2019-01-15 12:54 ` [U-Boot] [PATCH 2/2] mips: mt7688: gardena-smart-gateway: Enable green power LED on startup Stefan Roese
  2019-01-16 13:01 ` [U-Boot] [PATCH 1/2] mips: mt7688: gardena-smart-gateway: Update mtdparts/mtdids for Kernel 4.19 Daniel Schwierzeck
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Roese @ 2019-01-15 12:54 UTC (permalink / raw)
  To: u-boot

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 <sr@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
---
 configs/gardena-smart-gateway-mt7688-ram_defconfig | 4 ++--
 configs/gardena-smart-gateway-mt7688_defconfig     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configs/gardena-smart-gateway-mt7688-ram_defconfig b/configs/gardena-smart-gateway-mt7688-ram_defconfig
index ae8bf2981f..bfd9bada2a 100644
--- a/configs/gardena-smart-gateway-mt7688-ram_defconfig
+++ b/configs/gardena-smart-gateway-mt7688-ram_defconfig
@@ -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
diff --git a/configs/gardena-smart-gateway-mt7688_defconfig b/configs/gardena-smart-gateway-mt7688_defconfig
index b7024e3dec..d844932c33 100644
--- a/configs/gardena-smart-gateway-mt7688_defconfig
+++ b/configs/gardena-smart-gateway-mt7688_defconfig
@@ -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
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/2] mips: mt7688: gardena-smart-gateway: Enable green power LED on startup
  2019-01-15 12:54 [U-Boot] [PATCH 1/2] mips: mt7688: gardena-smart-gateway: Update mtdparts/mtdids for Kernel 4.19 Stefan Roese
@ 2019-01-15 12:54 ` Stefan Roese
  2019-01-16 13:01   ` Daniel Schwierzeck
  2019-01-16 13:01 ` [U-Boot] [PATCH 1/2] mips: mt7688: gardena-smart-gateway: Update mtdparts/mtdids for Kernel 4.19 Daniel Schwierzeck
  1 sibling, 1 reply; 4+ messages in thread
From: Stefan Roese @ 2019-01-15 12:54 UTC (permalink / raw)
  To: u-boot

Set the correct power-up state (default-state) of the green power LED.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
---
 arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/dts/gardena-smart-gateway-mt7688.dts b/arch/mips/dts/gardena-smart-gateway-mt7688.dts
index d8d88686bb..75f6037e96 100644
--- a/arch/mips/dts/gardena-smart-gateway-mt7688.dts
+++ b/arch/mips/dts/gardena-smart-gateway-mt7688.dts
@@ -34,7 +34,7 @@
 		power_green {
 			label = "smartgw:power:green";
 			gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
-			default-state = "off";
+			default-state = "on";
 		};
 
 		power_red {
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 1/2] mips: mt7688: gardena-smart-gateway: Update mtdparts/mtdids for Kernel 4.19
  2019-01-15 12:54 [U-Boot] [PATCH 1/2] mips: mt7688: gardena-smart-gateway: Update mtdparts/mtdids for Kernel 4.19 Stefan Roese
  2019-01-15 12:54 ` [U-Boot] [PATCH 2/2] mips: mt7688: gardena-smart-gateway: Enable green power LED on startup Stefan Roese
@ 2019-01-16 13:01 ` Daniel Schwierzeck
  1 sibling, 0 replies; 4+ messages in thread
From: Daniel Schwierzeck @ 2019-01-16 13:01 UTC (permalink / raw)
  To: u-boot



Am 15.01.19 um 13:54 schrieb Stefan Roese:
> 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 <sr@denx.de>
> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
> ---
>  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.

-- 
- Daniel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/2] mips: mt7688: gardena-smart-gateway: Enable green power LED on startup
  2019-01-15 12:54 ` [U-Boot] [PATCH 2/2] mips: mt7688: gardena-smart-gateway: Enable green power LED on startup Stefan Roese
@ 2019-01-16 13:01   ` Daniel Schwierzeck
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Schwierzeck @ 2019-01-16 13:01 UTC (permalink / raw)
  To: u-boot



Am 15.01.19 um 13:54 schrieb Stefan Roese:
> Set the correct power-up state (default-state) of the green power LED.
> 
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
> ---
>  arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

applied to u-boot-mips, thanks.

-- 
- Daniel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-16 13:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-15 12:54 [U-Boot] [PATCH 1/2] mips: mt7688: gardena-smart-gateway: Update mtdparts/mtdids for Kernel 4.19 Stefan Roese
2019-01-15 12:54 ` [U-Boot] [PATCH 2/2] mips: mt7688: gardena-smart-gateway: Enable green power LED on startup Stefan Roese
2019-01-16 13:01   ` Daniel Schwierzeck
2019-01-16 13:01 ` [U-Boot] [PATCH 1/2] mips: mt7688: gardena-smart-gateway: Update mtdparts/mtdids for Kernel 4.19 Daniel Schwierzeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.