[U-Boot] [PATCH 8/9] powerpc/km: remove unmaintained target KMVECT1

2019-07-09 Thread Pascal Linder
From: Holger Brunck Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck --- arch/powerpc/cpu/mpc83xx/Kconfig | 4 - board/keymile/common/ivm.c | 5 - board/keymile/km83xx/Kconfig | 19 board/keymile/km83xx/MAINTAINERS | 1 - board/keymile/km83xx/km83xx.c|

[U-Boot] [PATCH 5/9] km/uart: port UART interface of KM Kirkwood boards to driver model

2019-07-09 Thread Pascal Linder
Activate the driver model for the serial interface in the KM Kirkwood Kconfig file. The associated preprocessor definitions could be removed from the header file. However, the clock of 200 MHz needs to be declared in the device tree. Signed-off-by: Pascal Linder Signed-off-by: Holger Brunck

[U-Boot] [PATCH 6/9] km/rgmii: port Ethernet interface of KM Kirkwood boards to driver model

2019-07-09 Thread Pascal Linder
Activate the driver model for the Ethernet interface (RGMII) in the KM Kirkwood Kconfig file. Additionally, raise the auto negotiation timeout to eight seconds as more time is required for those boards. Signed-off-by: Pascal Linder Signed-off-by: Holger Brunck --- board/keymile/km_arm/Kconfig

[U-Boot] [PATCH 9/9] powerpc/km: remove unmaintained board KMLION1

2019-07-09 Thread Pascal Linder
From: Holger Brunck This board is unmaintained and can be removed. This also allows us to remove kmp204x-common.h and integrate it in kmp204x.h. Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck --- board/keymile/kmp204x/MAINTAINERS | 1 - configs/kmlion1_defconfig

[U-Boot] [PATCH 7/9] km/arm: remove unmaintained target PORTL2

2019-07-09 Thread Pascal Linder
Remove the PORTL2 board and all its dependencies as it is no longer supported by the company. Signed-off-by: Pascal Linder Signed-off-by: Holger Brunck --- board/keymile/km_arm/MAINTAINERS | 1 - configs/portl2_defconfig | 47 include/configs

[U-Boot] [PATCH 2/9] km: remove obsolete definitions in KM header files

2019-07-09 Thread Pascal Linder
After moving the KM specific configurations to Kconfig, the associated preprocessor definitions can now be removed in the headers. Moreover, the whitelist has been adapted correspondingly. Signed-off-by: Pascal Linder Signed-off-by: Holger Brunck --- board/keymile/common/common.h | 4

[U-Boot] [PATCH 4/9] km: fixed typo in KM Kirkwood header file

2019-07-09 Thread Pascal Linder
A typo in the km_kirkwood.h header prevented to undefine the initialization of the Kirkwood PCIe interface. Signed-off-by: Pascal Linder Signed-off-by: Holger Brunck --- include/configs/km_kirkwood.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs

[U-Boot] [PATCH 1/9] km: add Kconfig menus for KM boards

2019-07-09 Thread Pascal Linder
(#define CONFIG_* 1). The default configuration files of some boards required an update in order to not change the currently defined values of the configurations. Signed-off-by: Pascal Linder Signed-off-by: Holger Brunck --- board/keymile/Kconfig | 101 ++ board

[U-Boot] [PATCH 3/9] km: clean up header files for KM Kirkwood boards

2019-07-09 Thread Pascal Linder
Remove unused preprocessor definitions and comments of already eliminated code. The Ethernet driver configuration is already declared in arch/arm/mach-kirkwood/include/mach/config.h and, therefore, superfluous. Signed-off-by: Pascal Linder Signed-off-by: Holger Brunck --- include/configs/km

[U-Boot] [PATCH 0/9] km: Kconfig and driver model implementations

2019-07-09 Thread Pascal Linder
it is the first patch of the series setting up a new Kconfig file organization for KM boards, which is required. Holger Brunck (2): powerpc/km: remove unmaintained target KMVECT1 powerpc/km: remove unmaintained board KMLION1 Pascal Linder (7): km: add Kconfig menus for KM boards km: remove

[U-Boot] [PATCH 1/6] km: modify Kconfig file organization for KM boards

2019-06-18 Thread Pascal Linder
file. Also, the configuration selection for KM boards was moved from the architecture Kconfig files to the board specific Kconfig files. Signed-off-by: Pascal Linder Signed-off-by: Holger Brunck Cc: Mario Six Cc: Prabhakar Kushwaha --- arch/arm/mach-kirkwood/Kconfig | 9 ++--- arch/powerpc

[U-Boot] [PATCH 6/6] km/spi: remove deprecated SPI flash driver code for KM Kirkwood boards

2019-06-18 Thread Pascal Linder
driver, header files and finally the configuration whitelist. Signed-off-by: Pascal Linder Signed-off-by: Holger Brunck --- arch/arm/include/asm/arch-mvebu/spi.h | 11 board/keymile/km_arm/km_arm.c | 12 - drivers/spi/kirkwood_spi.c| 36

[U-Boot] [PATCH 5/6] km/spi: activate driver model for SPI flash on KM Kirkwood boards

2019-06-18 Thread Pascal Linder
The corresponding configurations are selected in the common Kconfig file. This is easier than changing every affected board default configuration file. The default configuration for the PORTL2 board, however, still needs some modifications to correctly use the driver model. Signed-off-by: Pascal

[U-Boot] [PATCH 3/6] km/spi: overwrite kirkwood_spi weak functions for KM Kirkwood boards

2019-06-18 Thread Pascal Linder
. This is now also implemented for the DM part of the kirkwood_spi driver. Signed-off-by: Pascal Linder Signed-off-by: Holger Brunck --- board/keymile/km_arm/km_arm.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile

[U-Boot] [PATCH 2/6] km/spi: add weak functions to kirkwood_spi driver (DM part)

2019-06-18 Thread Pascal Linder
are shared between the SPI NOR and NAND devices. Signed-off-by: Pascal Linder Signed-off-by: Holger Brunck --- drivers/spi/kirkwood_spi.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c index 5dd1ad67cf..881a775003

[U-Boot] [PATCH 4/6] km/spi: add SPI configuration to KM Kirkwood device tree

2019-06-18 Thread Pascal Linder
In order to migrate the SPI flash interface to the driver model, the SPI configuration needs to be added in the KM Kirkwood device tree file. Signed-off-by: Pascal Linder Signed-off-by: Holger Brunck --- arch/arm/dts/kirkwood-km_kirkwood.dts | 22 ++ 1 file changed, 22

[U-Boot] [PATCH 0/6] km/spi: port SPI flash of KM Kirkwood boards to driver model

2019-06-18 Thread Pascal Linder
in the Keymile folder has changed in order to prepare the upcoming transferring of configurations to Kconfig. Pascal Linder (6): km: modify Kconfig file organization for KM boards km/spi: add weak functions to kirkwood_spi driver (DM part) km/spi: overwrite kirkwood_spi weak functions for KM Kirkwood

[U-Boot] [PATCH 1/6] km: modify Kconfig file organization for KM boards

2019-06-18 Thread Pascal Linder
file. Also, the configuration selection for KM boards was moved from the architecture Kconfig files to the board specific Kconfig files. Signed-off-by: Pascal Linder Signed-off-by: Holger Brunck Cc: Mario Six Cc: Prabhakar Kushwaha --- arch/arm/mach-kirkwood/Kconfig | 9 +++-- arch

[U-Boot] [PATCH] km/spi: port SPI flash of KM Kirkwood boards to driver model

2019-06-04 Thread pascal . linder
From: Pascal Linder The required configurations were activated in the default configuration files of the board series and the SPI interface setting is added to the common device tree file. Some adaptions were necessary in the driver (kirkwood_spi.c) in order to support the driver model