Skip to contentSkip to conversation

arm: boards: phytec-som-am335x: Remove 1GB RAM type

PATCH Applied Daniel Schultz 2 participants 3 messages Feb 1, 2017 – Feb 10, 2017

Subsystems (2)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: boards: phytec-som-am335x: Remove 1GB RAM type

This machine was a prototype and was never shipped to customers.

Since it has no dependencies to any image, it can be removed.

---
 arch/arm/boards/phytec-som-am335x/lowlevel.c    |  1 -
 arch/arm/boards/phytec-som-am335x/ram-timings.h | 21 ---------------------
 2 files changed, 22 deletions(-)
arch/arm/boards/phytec-som-am335x/lowlevel.c +0 -1
index 33e83c5..03c7e98 100644
@@ -122,7 +122,6 @@ PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_sram_128mb, am335x_phytec_phycore_s
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_sram_256mb, am335x_phytec_phycore_som_mlo, PHYCORE_MT41J128M16125IT_256MB);
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_sram_512mb, am335x_phytec_phycore_som_mlo, PHYCORE_MT41J256M16HA15EIT_512MB);
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_sram_2x512mb, am335x_phytec_phycore_som_mlo, PHYCORE_MT41J512M8125IT_2x512MB);
-PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_sram_1024mb, am335x_phytec_phycore_som_mlo, PHYCORE_IM8G16D3FBBG15EI_1024MB);
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_r2_sram_512mb, am335x_phytec_phycore_som_mlo, PHYCORE_R2_MT41K256M16TW107IT_512MB);
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_r2_sram_256mb, am335x_phytec_phycore_som_mlo, PHYCORE_R2_MT41K128M16JT_256MB);
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_r2_sram_1024mb,  am335x_phytec_phycore_som_mlo, PHYCORE_R2_MT41K512M16HA125IT_1024MB);
arch/arm/boards/phytec-som-am335x/ram-timings.h +0 -21
index 4ea654d..d1947b5 100644
@@ -29,7 +29,6 @@ enum {
 	PHYCORE_MT41J64M1615IT_128MB,
 	PHYCORE_MT41J256M16HA15EIT_512MB,
 	PHYCORE_MT41J512M8125IT_2x512MB,
-	PHYCORE_IM8G16D3FBBG15EI_1024MB,
 	PHYCORE_R2_MT41K256M16TW107IT_512MB,
 	PHYCORE_R2_MT41K128M16JT_256MB,
 	PHYCORE_R2_MT41K512M16HA125IT_1024MB,
@@ -162,26 +161,6 @@ struct am335x_sdram_timings physom_timings[] = {
 		},
 	},
 
-	/* 1024MB */
-	[PHYCORE_IM8G16D3FBBG15EI_1024MB] = {
-		.regs = {
-			.emif_read_latency	= 0x7,
-			.emif_tim1		= 0x0AAAE4DB,
-			.emif_tim2		= 0x268F7FDA,
-			.emif_tim3		= 0x501F88BF,
-			.ocp_config		= 0x003d3d3d,
-			.sdram_config		= 0x61C053B2,
-			.zq_config		= 0x50074BE4,
-			.sdram_ref_ctrl		= 0x00000C30
-		},
-		.data = {
-			.rd_slave_ratio0	= 0x33,
-			.wr_dqs_slave_ratio0	= 0x4a,
-			.fifo_we_slave_ratio0	= 0xa4,
-			.wr_slave_ratio0	= 0x85,
-		},
-	},
-
 	/* 256MB */
 	[PHYCARD_NT5CB128M16BP_256MB] = {
 		.regs = {
Signature · 7 lines
1.9.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 3 lines · Daniel Schultz

This machine was a prototype and was never shipped to customers.

Since it has no dependencies to any image, it can be removed.

Applied, thanks

Sascha

Quoted 67 lines
---
 arch/arm/boards/phytec-som-am335x/lowlevel.c    |  1 -
 arch/arm/boards/phytec-som-am335x/ram-timings.h | 21 ---------------------
 2 files changed, 22 deletions(-)
arch/arm/boards/phytec-som-am335x/lowlevel.c +0 -1
index 33e83c5..03c7e98 100644
@@ -122,7 +122,6 @@ PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_sram_128mb, am335x_phytec_phycore_s
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_sram_256mb, am335x_phytec_phycore_som_mlo, PHYCORE_MT41J128M16125IT_256MB);
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_sram_512mb, am335x_phytec_phycore_som_mlo, PHYCORE_MT41J256M16HA15EIT_512MB);
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_sram_2x512mb, am335x_phytec_phycore_som_mlo, PHYCORE_MT41J512M8125IT_2x512MB);
-PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_sram_1024mb, am335x_phytec_phycore_som_mlo, PHYCORE_IM8G16D3FBBG15EI_1024MB);
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_r2_sram_512mb, am335x_phytec_phycore_som_mlo, PHYCORE_R2_MT41K256M16TW107IT_512MB);
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_r2_sram_256mb, am335x_phytec_phycore_som_mlo, PHYCORE_R2_MT41K128M16JT_256MB);
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_r2_sram_1024mb,  am335x_phytec_phycore_som_mlo, PHYCORE_R2_MT41K512M16HA125IT_1024MB);
arch/arm/boards/phytec-som-am335x/ram-timings.h +0 -21
index 4ea654d..d1947b5 100644
@@ -29,7 +29,6 @@ enum {
 	PHYCORE_MT41J64M1615IT_128MB,
 	PHYCORE_MT41J256M16HA15EIT_512MB,
 	PHYCORE_MT41J512M8125IT_2x512MB,
-	PHYCORE_IM8G16D3FBBG15EI_1024MB,
 	PHYCORE_R2_MT41K256M16TW107IT_512MB,
 	PHYCORE_R2_MT41K128M16JT_256MB,
 	PHYCORE_R2_MT41K512M16HA125IT_1024MB,
@@ -162,26 +161,6 @@ struct am335x_sdram_timings physom_timings[] = {
 		},
 	},
 
-	/* 1024MB */
-	[PHYCORE_IM8G16D3FBBG15EI_1024MB] = {
-		.regs = {
-			.emif_read_latency	= 0x7,
-			.emif_tim1		= 0x0AAAE4DB,
-			.emif_tim2		= 0x268F7FDA,
-			.emif_tim3		= 0x501F88BF,
-			.ocp_config		= 0x003d3d3d,
-			.sdram_config		= 0x61C053B2,
-			.zq_config		= 0x50074BE4,
-			.sdram_ref_ctrl		= 0x00000C30
-		},
-		.data = {
-			.rd_slave_ratio0	= 0x33,
-			.wr_dqs_slave_ratio0	= 0x4a,
-			.fifo_we_slave_ratio0	= 0xa4,
-			.wr_slave_ratio0	= 0x85,
-		},
-	},
-
 	/* 256MB */
 	[PHYCARD_NT5CB128M16BP_256MB] = {
 		.regs = {
Signature · 7 lines
1.9.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
In reply to Daniel Schultz

Hi Daniel,

Quoted 3 lines · Daniel Schultz

This machine was a prototype and was never shipped to customers.

Since it has no dependencies to any image, it can be removed.

This doesn't seem to be entirely true:

/opt/OSELAS.Toolchain-2014.12.0/arm-v5te-linux-gnueabi/gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.16-sanitized/bin/arm-v5te-linux-gnueabi-ld: warning: cannot find entry symbol start_am33xx_phytec_phycore_sram_1024mb; defaulting to 0000000000000000 invalid magic
/ptx/work/dude/WORK_A/sha/backup/barebox/barebox-test/images/Makefile:77: recipe for target 'images/start_am33xx_phytec_phycore_sram_1024mb.pblx' failed
make[1]: *** [images/start_am33xx_phytec_phycore_sram_1024mb.pblx] Error 1
Makefile:491: recipe for target 'images' failed
make: *** [images] Error 2

Dropped this patch for now. You have to remove the entries in Makefile.am335x aswell.

Sascha

Quoted 67 lines
---
 arch/arm/boards/phytec-som-am335x/lowlevel.c    |  1 -
 arch/arm/boards/phytec-som-am335x/ram-timings.h | 21 ---------------------
 2 files changed, 22 deletions(-)
arch/arm/boards/phytec-som-am335x/lowlevel.c +0 -1
index 33e83c5..03c7e98 100644
@@ -122,7 +122,6 @@ PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_sram_128mb, am335x_phytec_phycore_s
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_sram_256mb, am335x_phytec_phycore_som_mlo, PHYCORE_MT41J128M16125IT_256MB);
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_sram_512mb, am335x_phytec_phycore_som_mlo, PHYCORE_MT41J256M16HA15EIT_512MB);
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_sram_2x512mb, am335x_phytec_phycore_som_mlo, PHYCORE_MT41J512M8125IT_2x512MB);
-PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_sram_1024mb, am335x_phytec_phycore_som_mlo, PHYCORE_IM8G16D3FBBG15EI_1024MB);
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_r2_sram_512mb, am335x_phytec_phycore_som_mlo, PHYCORE_R2_MT41K256M16TW107IT_512MB);
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_r2_sram_256mb, am335x_phytec_phycore_som_mlo, PHYCORE_R2_MT41K128M16JT_256MB);
 PHYTEC_ENTRY_MLO(start_am33xx_phytec_phycore_r2_sram_1024mb,  am335x_phytec_phycore_som_mlo, PHYCORE_R2_MT41K512M16HA125IT_1024MB);
arch/arm/boards/phytec-som-am335x/ram-timings.h +0 -21
index 4ea654d..d1947b5 100644
@@ -29,7 +29,6 @@ enum {
 	PHYCORE_MT41J64M1615IT_128MB,
 	PHYCORE_MT41J256M16HA15EIT_512MB,
 	PHYCORE_MT41J512M8125IT_2x512MB,
-	PHYCORE_IM8G16D3FBBG15EI_1024MB,
 	PHYCORE_R2_MT41K256M16TW107IT_512MB,
 	PHYCORE_R2_MT41K128M16JT_256MB,
 	PHYCORE_R2_MT41K512M16HA125IT_1024MB,
@@ -162,26 +161,6 @@ struct am335x_sdram_timings physom_timings[] = {
 		},
 	},
 
-	/* 1024MB */
-	[PHYCORE_IM8G16D3FBBG15EI_1024MB] = {
-		.regs = {
-			.emif_read_latency	= 0x7,
-			.emif_tim1		= 0x0AAAE4DB,
-			.emif_tim2		= 0x268F7FDA,
-			.emif_tim3		= 0x501F88BF,
-			.ocp_config		= 0x003d3d3d,
-			.sdram_config		= 0x61C053B2,
-			.zq_config		= 0x50074BE4,
-			.sdram_ref_ctrl		= 0x00000C30
-		},
-		.data = {
-			.rd_slave_ratio0	= 0x33,
-			.wr_dqs_slave_ratio0	= 0x4a,
-			.fifo_we_slave_ratio0	= 0xa4,
-			.wr_slave_ratio0	= 0x85,
-		},
-	},
-
 	/* 256MB */
 	[PHYCARD_NT5CB128M16BP_256MB] = {
 		.regs = {
Signature · 7 lines
1.9.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox