Skip to contentSkip to conversation

spi: Zap armada100_spi.c and env

PATCH New Jagan Teki 2 participants 4 messages Nov 24, 2016 – Dec 23, 2016 SPI

lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH 1/1 spi: Zap armada100_spi.c and env

armada100_spi.c and related env is zapping becuase of "no DM conversion".

---
Note:
If someone want this to present, just respond with proper timeline.

 configs/gplugd_defconfig     |   5 --
 drivers/spi/Makefile         |   1 -
 drivers/spi/armada100_spi.c  | 203 -------------------------------------------
 include/configs/gplugd.h     |   9 +-
 scripts/config_whitelist.txt |   1 -
 5 files changed, 1 insertion(+), 218 deletions(-)
 delete mode 100644 drivers/spi/armada100_spi.c
configs/gplugd_defconfig +0 -5
index 59c9fdf..3d98f8d 100644
@@ -4,9 +4,7 @@ CONFIG_IDENT_STRING="\nMarvell-gplugD"
 CONFIG_BOOTDELAY=3
 # CONFIG_DISPLAY_BOARDINFO is not set
 # CONFIG_CMD_IMLS is not set
-CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
-CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
@@ -16,9 +14,6 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
-CONFIG_SPI_FLASH=y
-CONFIG_SPI_FLASH_ATMEL=y
-CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
drivers/spi/Makefile +0 -1
index 247c5f6..9e1f8df 100644
@@ -16,7 +16,6 @@ obj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o
 endif
 
 obj-$(CONFIG_ALTERA_SPI) += altera_spi.o
-obj-$(CONFIG_ARMADA100_SPI) += armada100_spi.o
 obj-$(CONFIG_ATH79_SPI) += ath79_spi.o
 obj-$(CONFIG_ATMEL_DATAFLASH_SPI) += atmel_dataflash_spi.o
 obj-$(CONFIG_ATMEL_SPI) += atmel_spi.o
drivers/spi/armada100_spi.c deleted +0 -203

203 lines not on this page · raw message

include/configs/gplugd.h +1 -8
index c1b43fd..92e2117 100644
@@ -72,11 +72,6 @@
 /* GPIO Configuration for PHY */
 #define CONFIG_SYS_GPIO_PHY_RST		104	/* GPIO104 */
 
-/* SPI Support */
-#define CONFIG_ARMADA100_SPI
-#define CONFIG_ENV_SPI_CS		110
-#define CONFIG_SYS_SSP_PORT		2
-
 /* Flash Support */
 
 /*
@@ -95,10 +90,8 @@
 /*
  * Environment variables configurations
  */
-#define CONFIG_ENV_IS_IN_SPI_FLASH
-#define CONFIG_ENV_SECT_SIZE		0x4000
+#define CONFIG_ENV_IS_NOWHERE
 #define CONFIG_ENV_SIZE			0x4000
-#define CONFIG_ENV_OFFSET		0x07C000
 
 #ifdef CONFIG_CMD_USB
 #define CONFIG_USB_EHCI
scripts/config_whitelist.txt +0 -1
index 9851251..6c7f8e0 100644
@@ -178,7 +178,6 @@ CONFIG_ARIA_FPGA
 CONFIG_ARM926EJS
 CONFIG_ARMADA100
 CONFIG_ARMADA100_FEC
-CONFIG_ARMADA100_SPI
 CONFIG_ARMADA168
 CONFIG_ARMADA_39X
 CONFIG_ARMCORTEXA9
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 spi: Zap armada100_spi.c and env

I will update driver and submit. Thanks for notification.

Regards,

Ajay Bhargav

________________________________
From: Jagan Teki <[email protected]>
Sent: Friday, November 25, 2016 12:58:58 AM
To: u-boot at lists.denx.de
Cc: Jagan Teki; Ajay Bhargav
Subject: [PATCH] spi: Zap armada100_spi.c and env

armada100_spi.c and related env is zapping becuase of "no DM conversion".

---
Note:
If someone want this to present, just respond with proper timeline.

 configs/gplugd_defconfig     |   5 --
 drivers/spi/Makefile         |   1 -
 drivers/spi/armada100_spi.c  | 203 -------------------------------------------
 include/configs/gplugd.h     |   9 +-
 scripts/config_whitelist.txt |   1 -
 5 files changed, 1 insertion(+), 218 deletions(-)
 delete mode 100644 drivers/spi/armada100_spi.c
configs/gplugd_defconfig +0 -5
index 59c9fdf..3d98f8d 100644
@@ -4,9 +4,7 @@ CONFIG_IDENT_STRING="\nMarvell-gplugD"
 CONFIG_BOOTDELAY=3
 # CONFIG_DISPLAY_BOARDINFO is not set
 # CONFIG_CMD_IMLS is not set
-CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_FLASH is not set
-CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_FPGA is not set
@@ -16,9 +14,6 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
-CONFIG_SPI_FLASH=y
-CONFIG_SPI_FLASH_ATMEL=y
-CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
drivers/spi/Makefile +0 -1
index 247c5f6..9e1f8df 100644
@@ -16,7 +16,6 @@ obj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o
 endif
 
 obj-$(CONFIG_ALTERA_SPI) += altera_spi.o
-obj-$(CONFIG_ARMADA100_SPI) += armada100_spi.o
 obj-$(CONFIG_ATH79_SPI) += ath79_spi.o
 obj-$(CONFIG_ATMEL_DATAFLASH_SPI) += atmel_dataflash_spi.o
 obj-$(CONFIG_ATMEL_SPI) += atmel_spi.o
drivers/spi/armada100_spi.c deleted +0 -203

203 lines not on this page · raw message

include/configs/gplugd.h +1 -8
index c1b43fd..92e2117 100644
@@ -72,11 +72,6 @@
 /* GPIO Configuration for PHY */
 #define CONFIG_SYS_GPIO_PHY_RST         104     /* GPIO104 */
 
-/* SPI Support */
-#define CONFIG_ARMADA100_SPI
-#define CONFIG_ENV_SPI_CS              110
-#define CONFIG_SYS_SSP_PORT            2
-
 /* Flash Support */
 
 /*
@@ -95,10 +90,8 @@
 /*
  * Environment variables configurations
  */
-#define CONFIG_ENV_IS_IN_SPI_FLASH
-#define CONFIG_ENV_SECT_SIZE           0x4000
+#define CONFIG_ENV_IS_NOWHERE
 #define CONFIG_ENV_SIZE                 0x4000
-#define CONFIG_ENV_OFFSET              0x07C000
 
 #ifdef CONFIG_CMD_USB
 #define CONFIG_USB_EHCI
scripts/config_whitelist.txt +0 -1
index 9851251..6c7f8e0 100644
@@ -178,7 +178,6 @@ CONFIG_ARIA_FPGA
 CONFIG_ARM926EJS
 CONFIG_ARMADA100
 CONFIG_ARMADA100_FEC
-CONFIG_ARMADA100_SPI
 CONFIG_ARMADA168
 CONFIG_ARMADA_39X
 CONFIG_ARMCORTEXA9

--
1.9.1

************************************************************************************************************************************************************* eInfochips Business Disclaimer: This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated. Company has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. *************************************************************************************************************************************************************

author
#2 lore raw

PATCH 1/1 spi: Zap armada100_spi.c and env

Quoted 1 line · Ajay Bhargav

I will update driver and submit. Thanks for notification.

Any further update? I'm going with this and submit the dm driver whenever possible.

thanks!

Signature · 4 lines
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
author
#3 lore raw

PATCH 1/1 spi: Zap armada100_spi.c and env

Quoted 6 lines · Jagan Teki
Quoted 1 line · Ajay Bhargav

I will update driver and submit. Thanks for notification.

Any further update? I'm going with this and submit the dm driver whenever possible.

Applied to u-boot-spi/master

thanks!

Signature · 4 lines
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.