km/arm: set SPI NOR Flash default parameters
PATCH 1/1 km/arm: set SPI NOR Flash default parameters
These parameters are used by the the sf probe command that are used by our update script and they therefore need to be set for all of our boards.
The timing is the same as for the ENV SPI NOR Flash (since it's the same physical device) and takes the boco2 delay on the bus into account.
--- include/configs/km/km_arm.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
include/configs/km/km_arm.h +4 -0
@@ -57,6 +57,10 @@#define CONFIG_CMD_SF #define CONFIG_SOFT_I2C /* I2C bit-banged */ +/* SPI NOR Flash default params, used by sf commands */ +#define CONFIG_SF_DEFAULT_SPEED 8100000 +#define CONFIG_SF_DEFAULT_MODE SPI_MODE_3 +#if definedCONFIG_KM_ENV_IS_IN_SPI_NOR #define CONFIG_ENV_SPI_BUS 0#define CONFIG_ENV_SPI_CS 0
Signature · 1 line
1.7.1
PATCH 1/1 km/arm: set SPI NOR Flash default parameters
Quoted 9 lines
-----Original Message-----
From: Valentin Longchamp [mailto:valentin.longchamp at keymile.com]
Sent: 14 August 2012 17:09
To: Prafulla Wadaskar
Cc: u-boot at lists.denx.de; Valentin Longchamp; Holger Brunck
Subject: [PATCH] km/arm: set SPI NOR Flash default parameters
Quoted 6 lines
These parameters are used by the the sf probe command that are used by our update script and they therefore need to be set for all of our boards.
The timing is the same as for the ENV SPI NOR Flash (since it's the same physical device) and takes the boco2 delay on the bus into
What is boco2? Is it typo mistake?
Quoted 14 lines
account.
Signed-off-by Valentin Longchamp <[email protected]>cc Holger Brunck <[email protected]>--- include/configs/km/km_arm.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)include/configs/km/km_arm.h +0
-0@@ -57,6 +57,10 @@#define CONFIG_CMD_SF
include/configs/km/km_arm.h
Quoted 10 lines
include/configs/km/km_arm.h +4
-1#define CONFIG_SOFT_I2C /* I2C bit-banged */ +/* SPI NOR Flash default params, used by sf commands */ +#define CONFIG_SF_DEFAULT_SPEED 8100000 +#define CONFIG_SF_DEFAULT_MODE SPI_MODE_3 +#if definedCONFIG_KM_ENV_IS_IN_SPI_NOR #define CONFIG_ENV_SPI_BUS 0#define CONFIG_ENV_SPI_CS 0 --
Regards...
Prafulla . . .
PATCH 1/1 km/arm: set SPI NOR Flash default parameters
Hi Prafulla,
Quoted 9 lines · Prafulla Wadaskar
Quoted 9 lines
-----Original Message-----
From: Valentin Longchamp [mailto:valentin.longchamp at keymile.com]
Sent: 14 August 2012 17:09
To: Prafulla Wadaskar
Cc: u-boot at lists.denx.de; Valentin Longchamp; Holger Brunck
Subject: [PATCH] km/arm: set SPI NOR Flash default parameters
Quoted 8 lines
Quoted 6 lines
These parameters are used by the the sf probe command that are used by our update script and they therefore need to be set for all of our boards.
The timing is the same as for the ENV SPI NOR Flash (since it's the same physical device) and takes the boco2 delay on the bus into
What is boco2? Is it typo mistake?
No typo mistake. It's the name of a chip developped at Keymile that is the the SPI bus as well.
Quoted 29 lines
Quoted 15 lines
account.
Signed-off-by Valentin Longchamp <[email protected]>cc Holger Brunck <[email protected]>--- include/configs/km/km_arm.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)include/configs/km/km_arm.h +0
-0@@ -57,6 +57,10 @@#define CONFIG_CMD_SF include/configs/km/km_arm.h
Quoted 10 lines
include/configs/km/km_arm.h +4
-1#define CONFIG_SOFT_I2C /* I2C bit-banged */ +/* SPI NOR Flash default params, used by sf commands */ +#define CONFIG_SF_DEFAULT_SPEED 8100000 +#define CONFIG_SF_DEFAULT_MODE SPI_MODE_3 +#if definedCONFIG_KM_ENV_IS_IN_SPI_NOR #define CONFIG_ENV_SPI_BUS 0#define CONFIG_ENV_SPI_CS 0 --Regards...
Prafulla . . .
Signature · 13 lines
Valentin Longchamp Embedded Software Engineer Hardware and Chip Integration ______________________________________ KEYMILE AG Schwarzenburgstr. 73 CH-3097 Liebefeld Phone +41 31 377 1318 Fax +41 31 377 1212 valentin.longchamp at keymile.com www.keymile.com ______________________________________ KEYMILE: A Specialist as a Partner
PATCH 1/1 km/arm: set SPI NOR Flash default parameters
Quoted 26 lines
-----Original Message-----
From: Valentin Longchamp [mailto:valentin.longchamp at keymile.com]
Sent: 15 August 2012 20:46
To: Prafulla Wadaskar
Cc: u-boot at lists.denx.de; Holger Brunck
Subject: Re: [PATCH] km/arm: set SPI NOR Flash default parametersHi Prafulla,
Quoted 10 lines · Prafulla Wadaskar
Quoted 10 lines
-----Original Message-----
From: Valentin Longchamp [mailto:valentin.longchamp at keymile.com]
Sent: 14 August 2012 17:09
To: Prafulla Wadaskar
Cc: u-boot at lists.denx.de; Valentin Longchamp; Holger Brunck
Subject: [PATCH] km/arm: set SPI NOR Flash default parametersThese parameters are used by the the sf probe command that are used
by
Quoted 3 lines
Quoted 3 lines
our update script and they therefore need to be set for all of our boards.
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
The timing is the same as for the ENV SPI NOR Flash (since it's the same physical device) and takes the boco2 delay on the bus into
What is boco2? Is it typo mistake?
No typo mistake. It's the name of a chip developped at Keymile that is the the
SPI bus as well.
Thanks for clarification.
Will pull this patch soon.
Regards...
Prafulla . . .
PATCH 1/1 km/arm: set SPI NOR Flash default parameters
In reply to Valentin LongchampQuoted 44 lines
-----Original Message-----
From: Prafulla Wadaskar
Sent: 16 August 2012 09:46
To: 'Valentin Longchamp'
Cc: u-boot at lists.denx.de; Holger Brunck
Subject: RE: [PATCH] km/arm: set SPI NOR Flash default parametersQuoted 7 lines
-----Original Message-----
From: Valentin Longchamp [mailto:valentin.longchamp at keymile.com]
Sent: 15 August 2012 20:46
To: Prafulla Wadaskar
Cc: u-boot at lists.denx.de; Holger Brunck
Subject: Re: [PATCH] km/arm: set SPI NOR Flash default parametersQuoted 13 lines
Hi Prafulla,
Quoted 10 lines · Prafulla Wadaskar
Quoted 10 lines
-----Original Message-----
From: Valentin Longchamp [mailto:valentin.longchamp at keymile.com]
Sent: 14 August 2012 17:09
To: Prafulla Wadaskar
Cc: u-boot at lists.denx.de; Valentin Longchamp; Holger Brunck
Subject: [PATCH] km/arm: set SPI NOR Flash default parametersThese parameters are used by the the sf probe command that are
used
Quoted 2 lines
by
Quoted 1 line
Quoted 1 line
our update script and they therefore need to be set for all of
our
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
boards.
The timing is the same as for the ENV SPI NOR Flash (since it's
the
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
same physical device) and takes the boco2 delay on the bus into
What is boco2? Is it typo mistake?
No typo mistake. It's the name of a chip developped at Keymile that
Quoted 8 lines
is
Quoted 2 lines
the the
SPI bus as well.Thanks for clarification.
Will pull this patch soon.
Applied to u-boot-marvell.git master branch
Regards...
Prafulla . . .