Re: [PATCH] powerpc: conditionally compile platform-specific serial drivers

2017-06-28 Thread Torsten Duwe
On Tue, Jun 27, 2017 at 04:29:51PM +0200, Hannes Reinecke wrote: > mpsc.c and mpc52xx-psc.c are platform-specific serial drivers, and > should be compiled for the respective platforms only. Yes, this is really dead code that gets compiled and copied needlessly, on all PPCs apart from those embedde

[PATCH] powerpc: conditionally compile platform-specific serial drivers

2017-06-27 Thread Hannes Reinecke
mpsc.c and mpc52xx-psc.c are platform-specific serial drivers, and should be compiled for the respective platforms only. Signed-off-by: Hannes Reinecke --- arch/powerpc/boot/Makefile | 7 --- arch/powerpc/boot/serial.c | 4 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/