Re: [U-Boot] [PATCH 2/2] status_led: Kconfig migration

2017-01-21 Thread Tom Rini
On Thu, Jan 19, 2017 at 10:51:45AM +0200, Uri Mashiach wrote:

> Move all of the status LED feature to drivers/led/Kconfig.
> The LED status definitions were moved from the board configuration
> files to the defconfig files.
> 
> TBD: Move all of the definitions in the include/status_led.h to the
> relevant board's defconfig files.
> 
> Tested boards: CL-SOM-AM57x, CM-T335
> 
> Signed-off-by: Uri Mashiach 

Note: This exposes and fixes a problem on 'motionpro' where code was
being discarded that was needed for LEDs to be fully functional.  So the
platform grows by ~237 bytes, but that's a bugfix.

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 2/2] status_led: Kconfig migration

2017-01-19 Thread Uri Mashiach
Move all of the status LED feature to drivers/led/Kconfig.
The LED status definitions were moved from the board configuration
files to the defconfig files.

TBD: Move all of the definitions in the include/status_led.h to the
relevant board's defconfig files.

Tested boards: CL-SOM-AM57x, CM-T335

Signed-off-by: Uri Mashiach 
---
 arch/arm/cpu/arm920t/ep93xx/led.c| 35 ++---
 arch/powerpc/include/asm/status_led.h| 10 ++--
 arch/powerpc/lib/interrupts.c|  6 +--
 board/BuS/eb_cpu5282/eb_cpu5282.c|  2 +-
 board/bf533-stamp/bf533-stamp.c  | 28 ++
 board/compulab/cm_t335/cm_t335.c |  4 +-
 board/compulab/cm_t35/cm_t35.c   |  4 +-
 board/compulab/cm_t3517/cm_t3517.c   |  4 +-
 board/corscience/tricorder/led.c | 26 +-
 board/corscience/tricorder/tricorder.c   |  6 +--
 board/isee/igep00x0/igep00x0.c   |  4 +-
 board/motionpro/motionpro.c  | 45 +++-
 board/olimex/mx23_olinuxino/mx23_olinuxino.c |  6 +--
 board/samtec/vining_fpga/socfpga.c   |  4 +-
 board/ti/beagle/Makefile |  2 +-
 board/ti/beagle/beagle.c |  6 +--
 board/ti/beagle/led.c| 14 ++---
 cmd/Makefile |  2 +-
 cmd/ide.c|  2 +-
 cmd/led.c| 69 -
 common/board_r.c |  8 +--
 configs/TQM823L_defconfig|  7 +++
 configs/TQM823M_defconfig|  7 +++
 configs/TQM850L_defconfig|  7 +++
 configs/TQM850M_defconfig|  7 +++
 configs/TQM855L_defconfig|  7 +++
 configs/TQM855M_defconfig|  7 +++
 configs/TQM860L_defconfig|  7 +++
 configs/TQM860M_defconfig|  7 +++
 configs/TQM862L_defconfig|  7 +++
 configs/TQM862M_defconfig|  7 +++
 configs/TQM866M_defconfig|  7 +++
 configs/TQM885D_defconfig|  7 +++
 configs/cl-som-am57x_defconfig   |  5 ++
 configs/cm_t335_defconfig|  6 +++
 configs/cm_t3517_defconfig   |  7 +++
 configs/cm_t35_defconfig |  7 +++
 configs/eb_cpu5282_defconfig |  6 +++
 configs/eb_cpu5282_internal_defconfig|  6 +++
 configs/edb9315a_defconfig   | 12 +
 configs/igep0020_defconfig   |  7 +++
 configs/igep0030_defconfig   |  7 +++
 configs/motionpro_defconfig  | 10 
 configs/mx23_olinuxino_defconfig |  8 +++
 configs/omap3_beagle_defconfig   | 11 
 configs/socfpga_vining_fpga_defconfig| 11 
 configs/tqma6s_wru4_mmc_defconfig| 20 
 configs/tricorder_defconfig  | 11 
 configs/tricorder_flash_defconfig| 11 
 configs/v38b_defconfig   |  6 +++
 drivers/misc/Makefile|  4 +-
 drivers/misc/gpio_led.c  | 26 +-
 drivers/misc/pca9551_led.c   |  2 +-
 drivers/misc/status_led.c| 76 ++--
 include/common.h |  2 +-
 include/configs/PATI.h   |  2 -
 include/configs/TQM823L.h|  6 ---
 include/configs/TQM823M.h|  6 ---
 include/configs/TQM850L.h|  2 -
 include/configs/TQM850M.h|  2 -
 include/configs/TQM855L.h|  2 -
 include/configs/TQM855M.h|  2 -
 include/configs/TQM860L.h|  2 -
 include/configs/TQM860M.h|  2 -
 include/configs/TQM862L.h|  2 -
 include/configs/TQM862M.h|  2 -
 include/configs/TQM866M.h|  2 -
 include/configs/TQM885D.h|  2 -
 include/configs/bf526-ezbrd.h| 16 --
 include/configs/bf533-stamp.h| 16 --
 include/configs/cl-som-am57x.h   | 11 
 include/configs/cm_t335.h|  7 ---
 include/configs/cm_t35.h | 10 +---
 include/configs/cm_t3517.h   | 10 +---
 include/configs/eb_cpu5282.h |  7 ---
 include/configs/edb93xx.h| 13 -
 include/configs/motionpro.h  | 14 -
 include/configs/mx23_olinuxino.h |  9 
 include/configs/omap3_beagle.h   | 11 
 include/configs/omap3_igep00x0.h |  8 ---
 include/configs/socfpga_vining_fpga.h| 16 --
 include/configs/stm32f429-discovery.h|  1 -
 include/configs/tqma6_wru4.h