Skip to contentSkip to conversation

stv0991: spi env & configs related board changes

PATCH Superseded Vikas Manocha 2 participants 9 messages Jun 9, 2015 – Jun 24, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover stv0991: spi env & configs related board changes

This patchset does changes in stv0991 board file to enable saving environments in spi flash & moves CONFIG_OF in the defconfig file.

Vikas Manocha (3):
stv0991: enable saving enrironment in spi flash
stv0991: move OF_CONTROL config to defconfig
stv0991: remove define CONFIG_OF_SEPARATE from board file

 configs/stv0991_defconfig |    1 +
 include/configs/stv0991.h |    7 +++----
 2 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/3 stv0991: enable saving enrironment in spi flash

---
 include/configs/stv0991.h |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
include/configs/stv0991.h +3 -2
index 4138b32..ea62f43 100644
@@ -23,7 +23,9 @@
 #define PHYS_SDRAM_1_SIZE			0x00198000
 
 #define CONFIG_ENV_SIZE				0x10000
-#define CONFIG_ENV_IS_IN_FLASH
+#define CONFIG_ENV_IS_IN_SPI_FLASH
+#define CONFIG_ENV_SECT_SIZE			CONFIG_ENV_SIZE
+#define CONFIG_ENV_OFFSET			0x30000
 #define CONFIG_ENV_ADDR				\
 	(PHYS_SDRAM_1_SIZE - CONFIG_ENV_SIZE)
 #define CONFIG_SYS_MAXARGS			16
@@ -63,7 +65,6 @@
 #define CONFIG_PHY_RESET_DELAY			10000		/* in usec */
 
 #include "config_cmd_default.h"
-#undef CONFIG_CMD_SAVEENV
 
 #define CONFIG_SYS_MEMTEST_START               0x0000
 #define CONFIG_SYS_MEMTEST_END                 1024*1024
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 2/3 stv0991: move OF_CONTROL config to defconfig

In reply to Vikas Manocha
---
 configs/stv0991_defconfig |    1 +
 include/configs/stv0991.h |    1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
configs/stv0991_defconfig +1 -0
index 2be3f82..817a832 100644
@@ -6,3 +6,4 @@ CONFIG_NETDEVICES=y
 CONFIG_DEFAULT_DEVICE_TREE="stv0991"
 CONFIG_SYS_EXTRA_OPTIONS="stv0991"
 CONFIG_ETH_DESIGNWARE=y
+CONFIG_OF_CONTROL=y
include/configs/stv0991.h +0 -1
index ea62f43..a78d899 100644
@@ -81,7 +81,6 @@
 #define CONFIG_AUTOBOOT_PROMPT                 \
 	"Hit SPACE in %d seconds to stop autoboot.\n", bootdelay
 #define CONFIG_OF_SEPARATE
-#define CONFIG_OF_CONTROL
 #define CONFIG_OF_LIBFDT
 
 /*
Signature · 1 line
1.7.9.5
#3 lore raw

PATCH 3/3 stv0991: remove define CONFIG_OF_SEPARATE from board file

In reply to Vikas Manocha

CONFIG_OF_SEPARATE is default define with CONFIG_OF_CONTROL, removing this define from the board file to avoid multiple definition warning.

---
 include/configs/stv0991.h |    1 -
 1 file changed, 1 deletion(-)
include/configs/stv0991.h +0 -1
index a78d899..d97c4ea 100644
@@ -80,7 +80,6 @@
 #define CONFIG_AUTOBOOT_STOP_STR               " "
 #define CONFIG_AUTOBOOT_PROMPT                 \
 	"Hit SPACE in %d seconds to stop autoboot.\n", bootdelay
-#define CONFIG_OF_SEPARATE
 #define CONFIG_OF_LIBFDT
 
 /*
Signature · 1 line
1.7.9.5
#4 lore raw

cover stv0991: spi env & configs related board changes

In reply to Vikas Manocha

Hi Tom,

Can you please apply these patchset for stv0991.

Rgds,
Vikas

Quoted 21 lines

-----Original Message-----
From: Vikas MANOCHA
Sent: Monday, June 08, 2015 5:47 PM
To: u-boot at lists.denx.de
Cc: Vikas MANOCHA
Subject: [PATCH 0/3] stv0991: spi env & configs related board changes

This patchset does changes in stv0991 board file to enable saving environments in spi flash & moves CONFIG_OF in the defconfig file.

Vikas Manocha (3):
stv0991: enable saving enrironment in spi flash
stv0991: move OF_CONTROL config to defconfig
stv0991: remove define CONFIG_OF_SEPARATE from board file

 configs/stv0991_defconfig |    1 +
 include/configs/stv0991.h |    7 +++----
 2 files changed, 4 insertions(+), 4 deletions(-)

--
1.7.9.5

#5 lore raw

cover stv0991: spi env & configs related board changes

As these were new feature additions I will take these into spi-next.

Quoted 28 lines · Vikas MANOCHA

Hi Tom,

Can you please apply these patchset for stv0991.

Rgds,
Vikas

Quoted 21 lines

-----Original Message-----
From: Vikas MANOCHA
Sent: Monday, June 08, 2015 5:47 PM
To: u-boot at lists.denx.de
Cc: Vikas MANOCHA
Subject: [PATCH 0/3] stv0991: spi env & configs related board changes

This patchset does changes in stv0991 board file to enable saving environments in spi flash & moves CONFIG_OF in the defconfig file.

Vikas Manocha (3):
stv0991: enable saving enrironment in spi flash
stv0991: move OF_CONTROL config to defconfig
stv0991: remove define CONFIG_OF_SEPARATE from board file

 configs/stv0991_defconfig |    1 +
 include/configs/stv0991.h |    7 +++----
 2 files changed, 4 insertions(+), 4 deletions(-)

--
1.7.9.5

thanks!
--
Jagan | openedev.

#6 lore raw

cover stv0991: spi env & configs related board changes

Thanks Jagan.

Quoted 43 lines

-----Original Message-----
From: Jagan Teki [mailto:jteki at openedev.com]
Sent: Tuesday, June 16, 2015 3:50 AM
To: Vikas MANOCHA
Cc: u-boot at lists.denx.de; trini at konsulko.com
Subject: Re: [U-Boot] [PATCH 0/3] stv0991: spi env & configs related board changes

As these were new feature additions I will take these into spi-next.

Quoted 28 lines · Vikas MANOCHA

Hi Tom,

Can you please apply these patchset for stv0991.

Rgds,
Vikas

Quoted 21 lines

-----Original Message-----
From: Vikas MANOCHA
Sent: Monday, June 08, 2015 5:47 PM
To: u-boot at lists.denx.de
Cc: Vikas MANOCHA
Subject: [PATCH 0/3] stv0991: spi env & configs related board changes

This patchset does changes in stv0991 board file to enable saving environments in spi flash & moves CONFIG_OF in the defconfig file.

Vikas Manocha (3):
stv0991: enable saving enrironment in spi flash
stv0991: move OF_CONTROL config to defconfig
stv0991: remove define CONFIG_OF_SEPARATE from board file

 configs/stv0991_defconfig |    1 +
 include/configs/stv0991.h |    7 +++----
 2 files changed, 4 insertions(+), 4 deletions(-)

--
1.7.9.5

thanks!
--
Jagan | openedev.

#7 lore raw

cover stv0991: spi env & configs related board changes

Please test these - will pull these on my master-next

Quoted 49 lines · Vikas MANOCHA

Thanks Jagan.

Quoted 37 lines

-----Original Message-----
From: Jagan Teki [mailto:jteki at openedev.com]
Sent: Tuesday, June 16, 2015 3:50 AM
To: Vikas MANOCHA
Cc: u-boot at lists.denx.de; trini at konsulko.com
Subject: Re: [U-Boot] [PATCH 0/3] stv0991: spi env & configs related board changes

As these were new feature additions I will take these into spi-next.

Quoted 26 lines · Vikas MANOCHA

Hi Tom,

Can you please apply these patchset for stv0991.

Rgds,
Vikas

Quoted 19 lines

-----Original Message-----
From: Vikas MANOCHA
Sent: Monday, June 08, 2015 5:47 PM
To: u-boot at lists.denx.de
Cc: Vikas MANOCHA
Subject: [PATCH 0/3] stv0991: spi env & configs related board changes

This patchset does changes in stv0991 board file to enable saving environments in spi flash & moves CONFIG_OF in the defconfig file.

Vikas Manocha (3):
stv0991: enable saving enrironment in spi flash
stv0991: move OF_CONTROL config to defconfig
stv0991: remove define CONFIG_OF_SEPARATE from board file

 configs/stv0991_defconfig |    1 +
 include/configs/stv0991.h |    7 +++----
 2 files changed, 4 insertions(+), 4 deletions(-)
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines

--
1.7.9.5

thanks!
--
Jagan | openedev.

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Signature · 1 line
Jagan | openedev.
#8 lore raw

cover stv0991: spi env & configs related board changes

Thanks Jagan,

Quoted 9 lines

-----Original Message-----
From: Jagan Teki [mailto:jteki at openedev.com]
Sent: Wednesday, June 24, 2015 12:00 PM
To: Vikas MANOCHA
Cc: u-boot at lists.denx.de; trini at konsulko.com
Subject: Re: [U-Boot] [PATCH 0/3] stv0991: spi env & configs related board changes

Please test these - will pull these on my master-next

There is one more patchset submitted by me last month specific to stv0991 SPI. To make the things easier: I will club them, rebase to master & send the version 2.

The two patchsets to be clubbed are :
- [PATCH 0/3] stv0991: enable cadence qspi controller & spi flash
- [PATCH 0/3] stv0991: spi env & configs related board changes

Rgds,
Vikas

Quoted 58 lines · Vikas MANOCHA
Quoted 13 lines

Thanks Jagan.

Quoted 11 lines

-----Original Message-----
From: Jagan Teki [mailto:jteki at openedev.com]
Sent: Tuesday, June 16, 2015 3:50 AM
To: Vikas MANOCHA
Cc: u-boot at lists.denx.de; trini at konsulko.com
Subject: Re: [U-Boot] [PATCH 0/3] stv0991: spi env & configs related board changes

As these were new feature additions I will take these into spi-next.

On 16 June 2015 at 02:23, Vikas MANOCHA <[email protected]>

Quoted 30 lines · wrote:
Quoted 30 lines
Quoted 29 lines

Hi Tom,

Can you please apply these patchset for stv0991.

Rgds,
Vikas

Quoted 22 lines

-----Original Message-----
From: Vikas MANOCHA
Sent: Monday, June 08, 2015 5:47 PM
To: u-boot at lists.denx.de
Cc: Vikas MANOCHA
Subject: [PATCH 0/3] stv0991: spi env & configs related board changes

This patchset does changes in stv0991 board file to enable saving environments in spi flash & moves CONFIG_OF in the defconfig file.

Vikas Manocha (3):
stv0991: enable saving enrironment in spi flash
stv0991: move OF_CONTROL config to defconfig
stv0991: remove define CONFIG_OF_SEPARATE from board file

 configs/stv0991_defconfig |    1 +
 include/configs/stv0991.h |    7 +++----
 2 files changed, 4 insertions(+), 4 deletions(-)

--
1.7.9.5

Quoted 7 lines
Quoted 3 lines

thanks!
--
Jagan | openedev.

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

--
Jagan | openedev.