Skip to contentSkip to conversation

powerpc: mpc85xx: Do not build errata command in SPL

PATCH New Marek Vasut 2 participants 8 messages Jul 5, 2016 – Jul 6, 2016 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: mpc85xx: Do not build errata command in SPL

The errata command is useless in SPL, so don't build it. This fixes multiple build failures on PowerPC.

Cc York Sun <[email protected]>
Fixes 92623672f9d3 ("fsl: usb: make errata function common for PPC and ARM")
---
 arch/powerpc/cpu/mpc85xx/Makefile | 2 ++
 1 file changed, 2 insertions(+)
arch/powerpc/cpu/mpc85xx/Makefile +2 -0
index 65c26c0..f4c4fe2 100644
@@ -26,7 +26,9 @@ else
 
 obj-$(CONFIG_MP)	+= release.o
 
+ifndef CONFIG_SPL_BUILD
 obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o
+endif
 obj-$(CONFIG_CPM2)	+= commproc.o
 
 obj-$(CONFIG_CPM2)	+= ether_fcc.o
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 powerpc: mpc85xx: Do not build errata command in SPL

Quoted 6 lines · Marek Vasut

The errata command is useless in SPL, so don't build it. This fixes multiple build failures on PowerPC.

Cc York Sun <[email protected]>
Fixes 92623672f9d3 ("fsl: usb: make errata function common for PPC and ARM")

Since 2016.07 is very close and I don't see any other real solution, applied.

Quoted 19 lines
---
 arch/powerpc/cpu/mpc85xx/Makefile | 2 ++
 1 file changed, 2 insertions(+)
arch/powerpc/cpu/mpc85xx/Makefile +2 -0
index 65c26c0..f4c4fe2 100644
@@ -26,7 +26,9 @@ else
 
 obj-$(CONFIG_MP)	+= release.o
 
+ifndef CONFIG_SPL_BUILD
 obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o
+endif
 obj-$(CONFIG_CPM2)	+= commproc.o
 
 obj-$(CONFIG_CPM2)	+= ether_fcc.o
Signature · 2 lines
Best regards,
Marek Vasut
#2 lore raw

PATCH 1/1 powerpc: mpc85xx: Do not build errata command in SPL

Quoted 10 lines · Marek Vasut
Quoted 6 lines · Marek Vasut

The errata command is useless in SPL, so don't build it. This fixes multiple build failures on PowerPC.

Cc York Sun <[email protected]>
Fixes 92623672f9d3 ("fsl: usb: make errata function common for PPC and ARM")

Since 2016.07 is very close and I don't see any other real solution, applied.

Thank you Marek to take care of this. We will revisit this if Sriram comes up with a better solution.

York

Quoted 22 lines
Quoted 20 lines
---
  arch/powerpc/cpu/mpc85xx/Makefile | 2 ++
  1 file changed, 2 insertions(+)
arch/powerpc/cpu/mpc85xx/Makefile +2 -0
index 65c26c0..f4c4fe2 100644
@@ -26,7 +26,9 @@ else
 
  obj-$(CONFIG_MP)	+= release.o
 
+ifndef CONFIG_SPL_BUILD
  obj-$(CONFIG_CMD_ERRATA) += cmd_errata.o
+endif
  obj-$(CONFIG_CPM2)	+= commproc.o
 
  obj-$(CONFIG_CPM2)	+= ether_fcc.o
#3 lore raw

PATCH 1/1 powerpc: mpc85xx: Do not build errata command in SPL

Quoted 9 lines · york sun
Quoted 8 lines · Marek Vasut
Quoted 6 lines · Marek Vasut

The errata command is useless in SPL, so don't build it. This fixes multiple build failures on PowerPC.

Cc York Sun <[email protected]>
Fixes 92623672f9d3 ("fsl: usb: make errata function common for PPC and ARM")
Quoted 5 lines
Quoted 2 lines

Since 2016.07 is very close and I don't see any other real solution, applied.

Thank you Marek to take care of this. We will revisit this if Sriram comes up with a better solution.

Great. I am _really_ unhappy about the patch quality and lack of testing.

Signature · 2 lines
Best regards,
Marek Vasut
#4 lore raw

PATCH 1/1 powerpc: mpc85xx: Do not build errata command in SPL

Quoted 10 lines · Marek Vasut
Quoted 9 lines · york sun
Quoted 8 lines · Marek Vasut
Quoted 6 lines · Marek Vasut

The errata command is useless in SPL, so don't build it. This fixes multiple build failures on PowerPC.

Cc York Sun <[email protected]>
Fixes 92623672f9d3 ("fsl: usb: make errata function common for PPC and ARM")
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Since 2016.07 is very close and I don't see any other real solution, applied.

Thank you Marek to take care of this. We will revisit this if Sriram comes up with a better solution.

Great. I am _really_ unhappy about the patch quality and lack of testing.

Marek,

Even with your patch, we still have a compiling error for kmcoge4 and kmlion1.

York

#5 lore raw

PATCH 1/1 powerpc: mpc85xx: Do not build errata command in SPL

Quoted 17 lines · york sun
Quoted 16 lines · Marek Vasut
Quoted 14 lines · york sun
Quoted 10 lines · Marek Vasut
Quoted 6 lines · Marek Vasut

The errata command is useless in SPL, so don't build it. This fixes multiple build failures on PowerPC.

Cc York Sun <[email protected]>
Fixes 92623672f9d3 ("fsl: usb: make errata function common for PPC and ARM")

Since 2016.07 is very close and I don't see any other real solution, applied.

Thank you Marek to take care of this. We will revisit this if Sriram comes up with a better solution.

Quoted 7 lines
Quoted 2 lines

Great. I am _really_ unhappy about the patch quality and lack of testing.

Marek,

Even with your patch, we still have a compiling error for kmcoge4 and kmlion1.

Can you do a patch ?

Signature · 2 lines
Best regards,
Marek Vasut
#6 lore raw

PATCH 1/1 powerpc: mpc85xx: Do not build errata command in SPL

Quoted 21 lines · Marek Vasut
Quoted 20 lines · york sun
Quoted 18 lines · Marek Vasut
Quoted 9 lines · york sun
Quoted 8 lines · Marek Vasut
Quoted 6 lines · Marek Vasut

The errata command is useless in SPL, so don't build it. This fixes multiple build failures on PowerPC.

Cc York Sun <[email protected]>
Fixes 92623672f9d3 ("fsl: usb: make errata function common for PPC and ARM")
Quoted 5 lines
Quoted 2 lines

Since 2016.07 is very close and I don't see any other real solution, applied.

Thank you Marek to take care of this. We will revisit this if Sriram comes up with a better solution.

Great. I am _really_ unhappy about the patch quality and lack of testing.

Quoted 7 lines
Quoted 4 lines

Marek,

Even with your patch, we still have a compiling error for kmcoge4 and kmlion1.

Can you do a patch ?

Sure. Let me work on it.

York

#7 lore raw

PATCH 1/1 powerpc: mpc85xx: Do not build errata command in SPL

Quoted 24 lines · york sun
Quoted 23 lines · Marek Vasut
Quoted 22 lines · york sun
Quoted 10 lines · Marek Vasut
Quoted 9 lines · york sun
Quoted 8 lines · Marek Vasut
Quoted 6 lines · Marek Vasut

The errata command is useless in SPL, so don't build it. This fixes multiple build failures on PowerPC.

Cc York Sun <[email protected]>
Fixes 92623672f9d3 ("fsl: usb: make errata function common for PPC and ARM")
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Since 2016.07 is very close and I don't see any other real solution, applied.

Thank you Marek to take care of this. We will revisit this if Sriram comes up with a better solution.

Great. I am _really_ unhappy about the patch quality and lack of testing.

Marek,

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

Even with your patch, we still have a compiling error for kmcoge4 and kmlion1.

Can you do a patch ?

Sure. Let me work on it.

Great, thanks. Deadline is 11th (2016.07 release), so please make it quick.

Signature · 2 lines
Best regards,
Marek Vasut