]> git.dujemihanovic.xyz Git - u-boot.git/commit
pwm: add driver for nexell
authorStefan Bosch <stefan_b@posteo.net>
Fri, 10 Jul 2020 17:07:31 +0000 (19:07 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 29 Jul 2020 12:43:40 +0000 (08:43 -0400)
commit18284c1d56bfe2b51484561881377489ffa86c3b
tree4f9cdf083c0177de121c0ad267df11331ba6435d
parent8d393b2c2278c846d26d59b37a2b46d3bcdb1663
pwm: add driver for nexell

Changes in relation to FriendlyARM's U-Boot nanopi2-v2016.01:
- Since drivers/pwm/pwm-nexell.c is an adapted version of
  s5p-common/pwm.c an appropriately changed version of s5p-common/pwm.c
  is used instead. Therefore arch/arm/mach-s5pc1xx/include/mach/pwm.h
  copied to arch/arm/mach-nexell/include/mach and s5p-common/Makefile
  changed appropriately.
- '#ifdef CONFIG...' changed to 'if (IS_ENABLED(CONFIG...))' where
  possible (and similar).

Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
arch/arm/cpu/armv7/s5p-common/Makefile
arch/arm/cpu/armv7/s5p-common/pwm.c
arch/arm/mach-nexell/include/mach/pwm.h [new file with mode: 0644]