km/uart: port UART interface of KM Kirkwood boards to driver model
Subsystems (2)
PATCH 5/9 km/uart: port UART interface of KM Kirkwood boards to driver model
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.
--- arch/arm/dts/kirkwood-km_common.dtsi | 1 + board/keymile/km_arm/Kconfig | 1 + include/configs/km/km_arm.h | 9 --------- 3 files changed, 2 insertions(+), 9 deletions(-)
arch/arm/dts/kirkwood-km_common.dtsi +1 -0
@@ -22,6 +22,7 @@ serial at 12000 { status = "okay"; + clock-frequency = <200000000>; }; };
board/keymile/km_arm/Kconfig +1 -0
@@ -42,6 +42,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy def_bool y select BOARD_LATE_INIT select DM + select DM_SERIAL select DM_SPI select DM_SPI_FLASH imply CMD_CRAMFS
include/configs/km/km_arm.h +0 -9
@@ -58,15 +58,6 @@#define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */ -/* -* NS16550 Configuration -*/ -#define CONFIG_SYS_NS16550_SERIAL -#define CONFIG_SYS_NS16550_REG_SIZE (-4) -#define CONFIG_SYS_NS16550_CLK CONFIG_SYS_TCLK -#define CONFIG_SYS_NS16550_COM1 KW_UART0_BASE -#define CONFIG_SYS_NS16550_COM2 KW_UART1_BASE -/* * For booting Linux, the board info and command line data * have to be in the first 8 MB of memory, since this is
Signature · 1 line
2.21.0
PATCH 6/9 km/rgmii: port Ethernet interface of KM Kirkwood boards to driver model
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.
--- board/keymile/km_arm/Kconfig | 1 + include/configs/km/km_arm.h | 1 + 2 files changed, 2 insertions(+)
board/keymile/km_arm/Kconfig +1 -0
@@ -42,6 +42,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy def_bool y select BOARD_LATE_INIT select DM + select DM_ETH select DM_SERIAL select DM_SPI select DM_SPI_FLASH
include/configs/km/km_arm.h +1 -0
@@ -80,6 +80,7 @@/* * Ethernet Driver configuration */ +#define PHY_ANEG_TIMEOUT 8000/* PHY needs a longer autoneg timeout */ #define CONFIG_MVGBE_PORTS {1, 0}/* enable port 0 only */ #define CONFIG_PHY_BASE_ADR 0
Signature · 1 line
2.21.0
PATCH 7/9 km/arm: remove unmaintained target PORTL2
In reply to Pascal LinderRemove the PORTL2 board and all its dependencies as it is no longer supported by the company.
--- board/keymile/km_arm/MAINTAINERS | 1 - configs/portl2_defconfig | 47 -------------------------------- include/configs/km_kirkwood.h | 4 --- scripts/config_whitelist.txt | 1 - 4 files changed, 53 deletions(-) delete mode 100644 configs/portl2_defconfig
board/keymile/km_arm/MAINTAINERS +0 -1
@@ -11,4 +11,3 @@ F: configs/kmnusa_defconfig F: configs/kmsugp1_defconfig F: configs/kmsuv31_defconfig F: configs/mgcoge3un_defconfig -F: configs/portl2_defconfig
configs/portl2_defconfig deleted +0 -47
47 lines not on this page · raw message
include/configs/km_kirkwood.h +0 -4
@@ -66,10 +66,6 @@#define CONFIG_HOSTNAME "kmcoge5un"#define CONFIG_KM_DISABLE_PCIE -/* KM_PORTL2 */ -#elif defined(CONFIG_KM_PORTL2 ) -#define CONFIG_HOSTNAME "portl2" -/* KM_SUV31 */ #elif defined(CONFIG_KM_SUV31 )#define CONFIG_HOSTNAME "kmsuv31"
scripts/config_whitelist.txt +0 -1
@@ -975,7 +975,6 @@ CONFIG_KM_KIRKWOOD_PCI CONFIG_KM_MGCOGE3UN CONFIG_KM_NEW_ENV CONFIG_KM_NUSA -CONFIG_KM_PORTL2 CONFIG_KM_ROOTFSSIZE CONFIG_KM_SUGP1 CONFIG_KM_SUV31
Signature · 1 line
2.21.0
PATCH 8/9 powerpc/km: remove unmaintained target KMVECT1
In reply to Pascal LinderFrom: Holger Brunck <[email protected]>
--- 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 | 81 -------------- configs/kmvect1_defconfig | 181 ------------------------------- include/configs/kmvect1.h | 56 ---------- scripts/config_whitelist.txt | 1 - 8 files changed, 348 deletions(-) delete mode 100644 configs/kmvect1_defconfig delete mode 100644 include/configs/kmvect1.h
arch/powerpc/cpu/mpc83xx/Kconfig +0 -4
@@ -110,10 +110,6 @@ config TARGET_SUVD3 bool "Support suvd3" select VENDOR_KM -config TARGET_KMVECT1 - bool "Support kmvect1" - select VENDOR_KM - config TARGET_KMTEGR1 bool "Support kmtegr1" select VENDOR_KM
board/keymile/common/ivm.c +0 -5
@@ -310,11 +310,6 @@ static int ivm_populate_env(unsigned char *buf, int len)/* if an offset is defined, add it */ process_mac (valbuf, page2,CONFIG_PIGGY_MAC_ADRESS_OFFSET , true);env_set ((char *)"ethaddr" , (char *)valbuf); -#ifdef CONFIG_KMVECT1 -/* KMVECT1 has two ethernet interfaces */ -process_mac (valbuf, page2,1 , true); -env_set ((char *)"eth1addr" , (char *)valbuf); -#endif #else /* KMTEGR1 has a special setup. eth0 has no connection to the outside and * gets an locally administred MAC address, eth1 is the debug interface and
board/keymile/km83xx/Kconfig +0 -19
@@ -38,25 +38,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy endif -if TARGET_KMVECT1 - -config SYS_BOARD - default "km83xx" - -config SYS_VENDOR - default "keymile" - -config SYS_CONFIG_NAME - default "kmvect1" - -config BOARD_SPECIFIC_OPTIONS # dummy - def_bool y - select ARCH_MPC8309 - imply CMD_CRAMFS - imply FS_CRAMFS - -endif - if TARGET_KMTEGR1 config SYS_BOARD
board/keymile/km83xx/MAINTAINERS +0 -1
@@ -10,7 +10,6 @@ F: configs/kmopti2_defconfig F: configs/kmtepr2_defconfig F: include/configs/suvd3.h F: configs/kmtegr1_defconfig -F: configs/kmvect1_defconfig F: configs/suvd3_defconfig F: configs/tuge1_defconfig F: configs/tuxx1_defconfig
board/keymile/km83xx/km83xx.c +0 -81
99 lines not on this page · raw message
configs/kmvect1_defconfig deleted +0 -181
181 lines not on this page · raw message
include/configs/kmvect1.h deleted +0 -56
56 lines not on this page · raw message
scripts/config_whitelist.txt +0 -1
@@ -951,7 +951,6 @@ CONFIG_KMCOGE4 CONFIG_KMLION1 CONFIG_KMP204X CONFIG_KMTEGR1 -CONFIG_KMVECT1 CONFIG_KM_BOARD_EXTRA_ENV CONFIG_KM_BOARD_NAME CONFIG_KM_COGE5UN
Signature · 1 line
2.21.0
PATCH 9/9 powerpc/km: remove unmaintained board KMLION1
In reply to Pascal LinderFrom: Holger Brunck <[email protected]>
This board is unmaintained and can be removed. This also allows us to remove kmp204x-common.h and integrate it in kmp204x.h.
--- board/keymile/kmp204x/MAINTAINERS | 1 - configs/kmlion1_defconfig | 57 ---- include/configs/km/kmp204x-common.h | 394 -------------------------- include/configs/kmp204x.h | 410 ++++++++++++++++++++++++++-- scripts/config_whitelist.txt | 1 - 5 files changed, 390 insertions(+), 473 deletions(-) delete mode 100644 configs/kmlion1_defconfig delete mode 100644 include/configs/km/kmp204x-common.h
board/keymile/kmp204x/MAINTAINERS +0 -1
@@ -4,4 +4,3 @@ S: Maintained F: board/keymile/kmp204x/ F: include/configs/kmp204x.h F: configs/kmcoge4_defconfig -F: configs/kmlion1_defconfig
configs/kmlion1_defconfig deleted +0 -57
57 lines not on this page · raw message
include/configs/km/kmp204x-common.h deleted +0 -394
394 lines not on this page · raw message
include/configs/kmp204x.h +390 -20
434 lines not on this page · raw message
scripts/config_whitelist.txt +0 -1
@@ -948,7 +948,6 @@ CONFIG_KIRKWOOD_RGMII_PAD_1V8 CONFIG_KIRQ_EN CONFIG_KM8321 CONFIG_KMCOGE4 -CONFIG_KMLION1 CONFIG_KMP204X CONFIG_KMTEGR1 CONFIG_KM_BOARD_EXTRA_ENV
Signature · 1 line
2.21.0