[U-Boot] [PATCH v3 23/60] strider: Migrate to CONFIG_TARGET_STRIDER

2019-01-21 Thread Mario Six
Use the proper CONFIG_TARGET_STRIDER Kconfig option to replace the CONFIG_STRIDER ad-hoc config option. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: * Removed config option from whitelist --- board/gdsys/common/Makefile | 4 ++-- board/gdsys/mpc8308/Makefile | 2 +- i

[U-Boot] [PATCH v3 21/60] MPC8349ITX: Migrate to CONFIG_TARGET_MPC8349ITX

2019-01-21 Thread Mario Six
Use the proper CONFIG_TARGET_MPC8349ITX Kconfig option to replace the CONFIG_MPC8349ITX ad-hoc config option. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: * Removed config option from whitelist --- board/freescale/mpc8349itx/mpc8349itx.c | 2 +- c

[U-Boot] [PATCH v3 16/60] powerpc: Add LSDMR config values

2019-01-21 Thread Mario Six
, introduce these macros into the proper config file. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: No changes --- arch/powerpc/include/asm/fsl_lbc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/powerpc/include/asm/fsl_lbc.h b/arch/powerpc/include/asm/fsl_lbc.h

[U-Boot] [PATCH v3 15/60] mpc83xx: Make distinct caddy2 config

2019-01-21 Thread Mario Six
the options necessary for each board. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: * Combined config creation and simplification patches --- arch/powerpc/cpu/mpc83xx/Kconfig | 4 + board/esd/vme8349/Kconfig| 13 + board/esd/vme8349/vme8349.c | 8 +- c

[U-Boot] [PATCH v3 17/60] mpc83xx: Make distinct MPC8349EMDS_SDRAM board

2019-01-21 Thread Mario Six
The MPC8349EMDS config file contains config options to enable SDRAM support. To keep this ability after the Kconfig migration, create a new MPC8349EMDS_SDRAM board that enables the SDRAM support and remove the SDRAM support from the original board. Signed-off-by: Mario Six --- v2 -> v3:

[U-Boot] [PATCH v3 12/60] keymile: Make distinct kmeter1, and kmcoge5ne configs

2019-01-21 Thread Mario Six
The kmeter1, and kmcoge5ne boards also build from the same config file with #ifdef logic. Create a separate include config for each board with the #ifdef logic resolved as needed. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: * Combined config creation and simplifi

[U-Boot] [PATCH v3 14/60] vme8349: Migrate to CONFIG_TARGET_VME8349

2019-01-21 Thread Mario Six
CONFIG_TARGET_VME8349 can replace CONFIG_VME8349. Hence, replace CONFIG_VME8349 with CONFIG_TARGET_VME8349, and remove CONFIG_VME8349. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: No changes --- drivers/pci/pci_auto.c | 2 +- drivers/pci/pci_auto_old.c | 2 +- i

[U-Boot] [PATCH v3 13/60] mpc83xx: Make distinct MPC8313ERDB targets

2019-01-21 Thread Mario Six
MPC8313ERDB has the option of either enabling NOR or NAND boot in its config file (by commenting out certain #ifdefs). To keep this ability after migrating options to Kconfig, we introduce two MPC8313ERDB configs: one for NOR, and one for NAND. Signed-off-by: Mario Six --- v2 -> v3: No chan

[U-Boot] [PATCH v3 10/60] keymile: Make distinct kmsupx5, tuge1, kmopti2, and kmtepr2 configs

2019-01-21 Thread Mario Six
The kmsupx5, tuge1, kmopti2, and kmtepr2 boards all build from the same include config file with lots of #ifdef logic. To ease Kconfig migration, create new config include files for these boards, and resolve the #ifdef logic as needed. Signed-off-by: Mario Six --- v2 -> v3: No changes

[U-Boot] [PATCH v3 11/60] keymile: Unroll km/km83xx-common.h

2019-01-21 Thread Mario Six
Simplify the keymile config files once more by unrolling the km/km83xx-common.h, and resolve the #ifdef logic as needed. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: No changes --- include/configs/km8360.h| 287 ++- include/configs/

[U-Boot] [PATCH v3 08/60] keymile: Move config files

2019-01-21 Thread Mario Six
igned-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: No changes --- include/configs/{km => }/km8309-common.h | 0 include/configs/{km => }/km8321-common.h | 0 include/configs/km8360.h | 2 +- include/configs/{km => }/km83xx-common.h | 4 ++-- inclu

[U-Boot] [PATCH v3 09/60] keymile: Unroll includes

2019-01-21 Thread Mario Six
To further simplify config include files, unroll the km/km8309-common.h and km/km8321-common.h include files. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: No changes --- include/configs/km8309-common.h | 174 include/configs/km8321-co

[U-Boot] [PATCH v3 07/60] keymile: Make distinct kmtegr1, kmvect1, suvd3 configs

2019-01-21 Thread Mario Six
only include the options necessary for each board. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: * Combined config creation and simplification patches. --- arch/powerpc/cpu/mpc83xx/Kconfig | 16 +++- board/keymile/km83xx/Kconfig | 26 ++ configs/kmtegr1_def

[U-Boot] [PATCH v3 06/60] mpc83xx: Introduce ARCH_MPC837X

2019-01-21 Thread Mario Six
Replace CONFIG_MPC837x with a proper CONFIG_ARCH_MPC837X Kconfig option. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: No changes --- arch/powerpc/cpu/mpc83xx/Kconfig | 5 arch/powerpc/cpu/mpc83xx/speed.c | 30 ++-- arch/p

[U-Boot] [PATCH v3 04/60] mpc83xx: Introduce ARCH_MPC834*

2019-01-21 Thread Mario Six
Replace CONFIG_MPC834* with proper CONFIG_ARCH_MPC834* Kconfig options. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: * Removed config option from whitelist --- arch/powerpc/cpu/mpc83xx/Kconfig | 12 +++ arch/powerpc/cpu/mpc83xx/cpu_init.c

[U-Boot] [PATCH v3 05/60] mpc83xx: Introduce ARCH_MPC836*

2019-01-21 Thread Mario Six
Replace CONFIG_MPC836* with proper CONFIG_ARCH_MPC836* Kconfig options. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: * Removed config option from whitelist --- arch/powerpc/cpu/mpc83xx/Kconfig | 4 arch/powerpc/cpu/mpc83xx/speed.c | 10 +-

[U-Boot] [PATCH v3 03/60] mpc83xx: Introduce ARCH_MPC832*

2019-01-21 Thread Mario Six
Replace CONFIG_MPC832* with proper CONFIG_ARCH_MPC832* Kconfig options. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: No changes --- arch/powerpc/cpu/mpc83xx/Kconfig | 7 +++ arch/powerpc/cpu/mpc83xx/speed.c | 10 +- arch/powerpc/include/asm/immap_

[U-Boot] [PATCH v3 02/60] mpc83xx: Introduce ARCH_MPC831*

2019-01-21 Thread Mario Six
Replace CONFIG_MPC833* with proper CONFIG_ARCH_MPC833* Kconfig options. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: * Removed config options from whitelist --- arch/powerpc/cpu/mpc83xx/Kconfig | 15 arch/powerpc/cpu/mpc83xx/cpu.c

[U-Boot] [PATCH v3 01/60] mpc83xx: Introduce ARCH_MPC830*

2019-01-21 Thread Mario Six
Replace CONFIG_MPC830* with proper CONFIG_ARCH_MPC830* Kconfig options. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: * Removed config options from whitelist --- arch/powerpc/cpu/mpc83xx/Kconfig | 17 + arch/powerpc/cpu/mpc83xx/spd_sdram.c

Re: [U-Boot] [Fwd: [PATCH] mpc83xx: Add support for -msingle-pic-base]

2018-12-10 Thread Mario Six
On Wed, Dec 5, 2018 at 12:56 PM Mario Six wrote: > > Hi Joakim, > On Wed, Dec 5, 2018 at 11:03 AM Joakim Tjernlund > wrote: > > > > Ping ? > > > > On Thu, 2018-11-29 at 14:09 +0100, Joakim Tjernlund wrote: > > > OOPS, I forgot

Re: [U-Boot] [Fwd: [PATCH] mpc83xx: Add support for -msingle-pic-base]

2018-12-05 Thread Mario Six
+++ b/arch/powerpc/cpu/mpc83xx/start.S > > @@ -288,6 +288,9 @@ in_flash: > > /*--*/ > > > > GET_GOT /* initialize GOT access*/ > > + /* Needed for -msingle-pic-base */ > > +

Re: [U-Boot] [PATCH v2 11/58] keymile: Unroll km/km83xx-common.h

2018-11-25 Thread Mario Six
Hi Holger, On Tue, Nov 13, 2018 at 11:42 AM Holger Brunck wrote: > > Hi Mario, > > > Simplify the keymile config files once more by unrolling the > > km/km83xx-common.h, and resolve the #ifdef logic as needed. > > > > Signed-off-by: Mario Six > > &

[U-Boot] [PATCH v2 56/58] mpc83xx: Don't define cpu_eth_init for DM eth

2018-11-05 Thread Mario Six
Don't use the legacy method of initializing the ethernet controller on MPC83xx when DM is active. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- arch/powerpc/cpu/mpc83xx/cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/cpu/mpc83xx/cpu.c b/arch/pow

[U-Boot] [PATCH v2 54/58] mpc83xx: Get rid of CONFIG_SYS_LBC_*

2018-11-05 Thread Mario Six
simplify the configuration files, hardcode the setting of these values for mpc83xx. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- board/freescale/mpc8313erdb/sdram.c | 5 +++-- board/freescale/mpc8349emds/mpc8349emds.c | 27 ++- board/ids/ids8313/ids831

[U-Boot] [PATCH v2 50/58] mpc83xx: Migrate SPCR to Kconfig

2018-11-05 Thread Mario Six
Migrate the SPCR setting to Kconfig. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- arch/powerpc/cpu/mpc83xx/Kconfig | 1 + arch/powerpc/cpu/mpc83xx/cpu_init.c | 29 +-- arch/powerpc/cpu/mpc83xx/initreg/Kconfig | 5 ++ arch/powerpc/cpu/mpc8

[U-Boot] [PATCH v2 52/58] mpc83xx: Get rid of CONFIG_SYS_DDR_BASE

2018-11-05 Thread Mario Six
CONFIG_SYS_DDR_BASE is specific to mpc83xx an is always set to the same value as CONFIG_SYS_SDRAM_BASE. Just use CONFIG_SYS_SDRAM_BASE instead. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- board/esd/vme8349/vme8349.c | 2 +- board/freescale/mpc8323erdb/mpc8323erdb.c

[U-Boot] [PATCH v2 53/58] mpc83xx: Get rid of CONFIG_SYS_DDR_SDRAM_BASE

2018-11-05 Thread Mario Six
CONFIG_SYS_DDR_SDRAM_BASE is set to the same value as CONFIG_SYS_SDRAM_BASE on all existing boards. Just use CONFIG_SYS_SDRAM_BASE instead. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- arch/powerpc/cpu/mpc83xx/spd_sdram.c | 2 +- board/freescale/mpc8308rdb/sdram.c

[U-Boot] [PATCH v2 55/58] mpc83xx: Add arch clock.h to make SDHC work

2018-11-05 Thread Mario Six
The fsl-esdhc driver can be used for the SDHC functionality on MPC83xx, but it needs some additional definitions. Add a clock.h file, so we can use the driver for MPC83xx. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- arch/powerpc/include/asm/arch-mpc83xx/clock.h |

[U-Boot] [PATCH v2 48/58] mpc8308: Migrate system io config to Kconfig

2018-11-05 Thread Mario Six
Migrate the system IO configuration setting to Kconfig. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- arch/powerpc/cpu/mpc83xx/Kconfig | 1 + arch/powerpc/cpu/mpc83xx/cpu_init.c| 1 + arch/powerpc/cpu/mpc83xx/sysio/Kconfig | 7 + arch/powe

[U-Boot] [PATCH v2 58/58] mpc83xx: Use pre-defined asm functions

2018-11-05 Thread Mario Six
For a lot of inline assembly calls in the mpc8xxx and mpc83xx directories, we already have convenient pre-defined helper functions, but they're not used, resulting in hard-to-read code. Use these helper functions where ever possible and useful. Signed-off-by: Mario Six --- v1 -> v2: N

[U-Boot] [PATCH v2 43/58] powerpc: mpc83xx: fdt: Use get_serial_clock()

2018-11-05 Thread Mario Six
Replace the hard-coded CONFIG_SYS_NS16550_CLK value for the FDT fixup with the previously introduced get_serial_clock function This will make it possible to activate DM for serial devices on MPC83xx later on. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- arch/powerpc/cpu/mpc8

[U-Boot] [PATCH v2 57/58] mpc83xx: Replace ppcDWstore with inline assembly

2018-11-05 Thread Mario Six
em. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- arch/powerpc/cpu/mpc83xx/cpu.c | 18 ++ arch/powerpc/cpu/mpc83xx/start.S | 12 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/arch/powerpc/cpu/mpc83xx/cpu.c b/arch/powerpc/cpu/m

[U-Boot] [PATCH v2 49/58] mpc83xx: Migrate arbiter config to Kconfig

2018-11-05 Thread Mario Six
Migrate the arbiter configuration to Kconfig. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- arch/powerpc/cpu/mpc83xx/Kconfig | 1 + arch/powerpc/cpu/mpc83xx/arbiter/Kconfig | 139 + arch/powerpc/cpu/mpc83xx/arbiter/arbiter.h | 28 ++ a

[U-Boot] [PATCH v2 47/58] mpc83xx: Migrate CONFIG_SYS_IMMR to Kconfig

2018-11-05 Thread Mario Six
Migrate CONFIG_SYS_IMMR to Kconfig for MPC83xx. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- arch/powerpc/cpu/mpc83xx/Kconfig| 7 +++ configs/TQM834x_defconfig | 1 + configs/ids8313_defconfig | 1 + include/configs/MPC8308RDB.h| 5 - incl

[U-Boot] [PATCH v2 51/58] mpc83xx: Migrate CONFIG_LCRR_* to Kconfig

2018-11-05 Thread Mario Six
Migrate the CONFIG_LCRR_* settings to Kconfig. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- arch/powerpc/cpu/mpc83xx/cpu_init.c | 22 arch/powerpc/cpu/mpc83xx/initreg/Kconfig | 1 + arch/powerpc/cpu/mpc83xx/initreg/Kconfig.lcrr |

[U-Boot] [PATCH v2 42/58] powerpc: mpc83xx: Implement get_serial_clock()

2018-11-05 Thread Mario Six
DM serial drivers on PowerPC determine their clock frequency via the get_serial_clock function. This function is not Implemented yet for MPC83xx. This patch Implements the function so that DM serial drivers work on MPC83xx. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- arch/powe

[U-Boot] [PATCH v2 41/58] powerpc: mpc83xx: Fix MPC8308 IMMR memory layout

2018-11-05 Thread Mario Six
The MPC8308 has two I2C controllers, but no PCI controller. Fix the register map layout for this SoC. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- arch/powerpc/cpu/mpc83xx/Makefile | 2 ++ arch/powerpc/include/asm/immap_83xx.h | 44 +++ 2 fi

[U-Boot] [PATCH v2 44/58] mpc83xx: Remove last CONFIG_MPC83xx

2018-11-05 Thread Mario Six
Remove the last instances of the CONFIG_MPC83xx symbol. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- include/configs/hrcon.h | 1 - include/configs/strider.h | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/hrcon.h b/include/configs/hrcon.h index 9318e625

[U-Boot] [PATCH v2 46/58] mpc83xx: Migrate HID config to Kconfig

2018-11-05 Thread Mario Six
Mirate the HID configuration settings to Kconfig. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- arch/powerpc/cpu/mpc83xx/Kconfig | 1 + arch/powerpc/cpu/mpc83xx/hid/Kconfig | 565 ++ arch/powerpc/cpu/mpc83xx/hid/hid.h| 72 + a

[U-Boot] [PATCH v2 39/58] sbc8349: Remove SDRAM functionality

2018-11-05 Thread Mario Six
: Mario Six --- v1 -> v2: No changes --- include/configs/sbc8349.h | 67 --- 1 file changed, 67 deletions(-) diff --git a/include/configs/sbc8349.h b/include/configs/sbc8349.h index 09cdb7c1a8a..42a1e1682d2 100644 --- a/include/configs/sbc8349.h ++

[U-Boot] [PATCH v2 45/58] mpc83xx: Prepare usage of DM gpio driver

2018-11-05 Thread Mario Six
The MPC85xx GPIO driver was converted to handle a broader range of SoCs. Prepare the MPC83xx code for usage of this driver. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- arch/powerpc/include/asm/arch-mpc83xx/gpio.h | 8 1 file changed, 8 insertions(+) diff --git a/a

[U-Boot] [PATCH v2 36/58] mpc83xx: Normalize BR/OR option lines

2018-11-05 Thread Mario Six
All BR/OR option lines should have the same layout to make them easier to migrate to Kconfig. This includes using the same option macros everywhere. The normalize the lines, * replace function macros with their results, and * replace hardcoded hex values with standard macros Signed-off-by: Mario

[U-Boot] [PATCH v2 35/58] mpc83xx: Migrate LBLAW_* to Kconfig

2018-11-05 Thread Mario Six
, and assemble the final value from these. Signed-off-by: Mario Six --- v1 -> v2: No changes --- arch/powerpc/cpu/mpc83xx/Kconfig | 1 + arch/powerpc/cpu/mpc83xx/cpu_init.c| 2 + arch/powerpc/cpu/mpc83xx/lblaw/Kconfig | 519 + arch/powerpc/cpu/mpc8

[U-Boot] [PATCH v2 37/58] tqm834x: Expand CONFIG_SYS_OR_TIMING_FLASH macro

2018-11-05 Thread Mario Six
can remove the variable in the next patch. Signed-off-by: Mario Six --- v1 -> v2: No changes --- board/tqc/tqm834x/tqm834x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/tqc/tqm834x/tqm834x.c b/board/tqc/tqm834x/tqm834x.c index 7c92f4f54c1..c75251e132c 100

[U-Boot] [PATCH v2 38/58] mpc83xx: Simplify BR,OR lines

2018-11-05 Thread Mario Six
Re-format all BR,OR #define lines into single lines. This makes them harder to read, but accessible to semi-automatic replacement. Signed-off-by: Mario Six --- v1 -> v2: No changes --- include/configs/MPC8308RDB.h| 46 +--- include/configs/MPC8313ERDB_NAND.h |

[U-Boot] [PATCH v2 31/58] mpc83xx: Kconfig: Migrate HRCW to Kconfig

2018-11-05 Thread Mario Six
comfortable. Hence, make its fields configurable in Kconfig, and assemble the final value from these. Signed-off-by: Mario Six --- v1 -> v2: No changes --- arch/powerpc/cpu/mpc83xx/Kconfig| 69 +++ arch/powerpc/cpu/mpc83xx/hrcw/Kconfig | 816 arch/powe

[U-Boot] [PATCH v2 33/58] powerpc: Migrate HIGH_BATS to Kconfig

2018-11-05 Thread Mario Six
Migrate the CONFIG_HIGH_BATS variable to Kconfig. Signed-off-by: Mario Six --- v1 -> v2: * Removed config option from whitelist --- arch/powerpc/Kconfig | 6 ++ configs/MPC8313ERDB_33_defconfig | 1 + configs/MPC8313ERDB_66_defconfig | 1 + conf

[U-Boot] [PATCH v2 32/58] mpc83xx: pcie: Read the clock from registers

2018-11-05 Thread Mario Six
The MPC83xx DM timer driver disables arch.pciexp*_clk, and uses clk_get_rate instead. But the legacy MPC83xx PCIe driver still uses arch.pciexp*_clk for the clock. Hence, read the PCIe clock from the registers in the legacy MPC83xx PCIe driver. Signed-off-by: Mario Six --- v1 -> v2:

[U-Boot] [PATCH v2 30/58] mpc83xx: Get rid of CONFIG_83XX_CLKIN

2018-11-05 Thread Mario Six
value of CONFIG_83XX_CLKIN in all MPC83xx config files Signed-off-by: Mario Six --- v1 -> v2: No changes --- Kconfig | 2 +- arch/powerpc/cpu/mpc83xx/speed.c| 4 ++-- arch/powerpc/cpu/mpc83xx/spl_minimal.c | 2 +- board/freescale/mpc8349e

[U-Boot] [PATCH v2 29/58] mpc83xx: Replace CONFIG_83XX_CLKIN in calculations

2018-11-05 Thread Mario Six
CONFIG_SYS_NS16550_CLK. This makes it harder to replace CONFIG_83XX_CLKIN. But the value of the multiplicator can be read from the SPMR register. Hence, replace the static calculations with a call to a new get_bus_freq function, as other architectures do. Signed-off-by: Mario Six --- v1 -> v2: No chan

[U-Boot] [PATCH v2 27/58] MPC837XERDB: Remove CONFIG_MPC837XERDB

2018-11-05 Thread Mario Six
CONFIG_MPC837XERDB is unused, and TARGET_MPC837XERDB could replace it. Hence, get rid of CONFIG_MPC837XERDB. Signed-off-by: Mario Six --- v1 -> v2: * Removed config option from whitelist --- include/configs/MPC837XERDB.h | 1 - scripts/config_whitelist.txt | 1 - 2 files changed

[U-Boot] [PATCH v2 24/58] MPC8313ERDB: Remove CONFIG_MPC8313ERDB

2018-11-05 Thread Mario Six
CONFIG_MPC8313ERDB is unused, and TARGET_MPC8313ERDB_NAND/TARGET_MPC8313ERDB_NOR Kconfig could replace it. Hence, get rid of CONFIG_MPC8313ERDB. Signed-off-by: Mario Six --- v1 -> v2: * Removed config option from whitelist --- include/configs/MPC8313ERDB_NAND.h | 1 - include/conf

[U-Boot] [PATCH v2 22/58] hrcon: Migrate to CONFIG_TARGET_HRCON

2018-11-05 Thread Mario Six
Use the proper CONFIG_TARGET_HRCON Kconfig option to replace the CONFIG_HRCON ad-hoc config option. Signed-off-by: Mario Six --- v1 -> v2: * Combined config creation and simplification patches * Removed config option from whitelist --- board/gdsys/common/Makefile | 2 +- board/gdsys/mpc8

[U-Boot] [PATCH v2 25/58] MPC8315ERDB: Remove CONFIG_MPC8315ERDB

2018-11-05 Thread Mario Six
CONFIG_MPC8315ERDB is unused, and TARGET_MPC8315ERDB could replace it. Hence, get rid of CONFIG_MPC8315ERDB. Signed-off-by: Mario Six --- v1 -> v2: * Removed config option from whitelist --- include/configs/MPC8315ERDB.h | 1 - scripts/config_whitelist.txt | 1 - 2 files changed

[U-Boot] [PATCH v2 28/58] mpc83xx: Migrate legacy PCI options to Kconfig

2018-11-05 Thread Mario Six
The MPC83xx include files contain some settings of the PCI subsystem. Migrate these to Kconfig until a proper DM PCI driver exists. Signed-off-by: Mario Six --- v1 -> v2: No changes --- arch/powerpc/cpu/mpc83xx/Kconfig| 26 ++ board/freescale/mpc8349emds/pc

[U-Boot] [PATCH v2 23/58] strider: Migrate to CONFIG_TARGET_STRIDER

2018-11-05 Thread Mario Six
Use the proper CONFIG_TARGET_STRIDER Kconfig option to replace the CONFIG_STRIDER ad-hoc config option. Signed-off-by: Mario Six --- v1 -> v2: * Removed config option from whitelist --- board/gdsys/common/Makefile | 4 ++-- board/gdsys/mpc8308/Makefile | 2 +- include/configs/stride

[U-Boot] [PATCH v2 21/58] MPC8349ITX: Migrate to CONFIG_TARGET_MPC8349ITX

2018-11-05 Thread Mario Six
Use the proper CONFIG_TARGET_MPC8349ITX Kconfig option to replace the CONFIG_MPC8349ITX ad-hoc config option. Signed-off-by: Mario Six --- v1 -> v2: * Removed config option from whitelist --- board/freescale/mpc8349itx/mpc8349itx.c | 2 +- configs/MPC8349ITX_LOWBOOT_defconfig

[U-Boot] [PATCH v2 26/58] MPC837XEMDS: Remove CONFIG_MPC837XEMDS

2018-11-05 Thread Mario Six
CONFIG_MPC837XEMDS is unused, and TARGET_MPC837XEMDS could replace it. Hence, get rid of CONFIG_MPC837XEMDS. Signed-off-by: Mario Six --- v1 -> v2: * Removed config option from whitelist --- include/configs/MPC837XEMDS.h | 1 - scripts/config_whitelist.txt | 1 - 2 files changed

[U-Boot] [PATCH v2 17/58] mpc83xx: Make distinct MPC8349EMDS_SDRAM board

2018-11-05 Thread Mario Six
The MPC8349EMDS config file contains config options to enable SDRAM support. To keep this ability after the Kconfig migration, create a new MPC8349EMDS_SDRAM board that enables the SDRAM support and remove the SDRAM support from the original board. Signed-off-by: Mario Six --- v1 ->

[U-Boot] [PATCH v2 18/58] mpc8315erdb: Merge BR/OR settings

2018-11-05 Thread Mario Six
default (NOR first, NAND second), and unroll the CONFIG_SYS_NAND_{BR,OR}_PRELIM options. This will ease the Kconfig migration. Signed-off-by: Mario Six --- v1 -> v2: No changes --- include/configs/MPC8315ERDB.h | 40 +++- 1 file changed, 19 insertions(+),

[U-Boot] [PATCH v2 19/58] ve8313: Merge BR/OR settings

2018-11-05 Thread Mario Six
first, NAND second), and unroll the CONFIG_SYS_NAND_{BR,OR}_PRELIM options. This will ease the Kconfig migration Signed-off-by: Mario Six --- v1 -> v2: No changes --- include/configs/ve8313.h | 39 +++ 1 file changed, 19 insertions(+), 20 deletions(-) d

[U-Boot] [PATCH v2 14/58] vme8349: Migrate to CONFIG_TARGET_VME8349

2018-11-05 Thread Mario Six
CONFIG_TARGET_VME8349 can replace CONFIG_VME8349. Hence, replace CONFIG_VME8349 with CONFIG_TARGET_VME8349, and remove CONFIG_VME8349. Signed-off-by: Mario Six --- v1 -> v2: No changes --- drivers/pci/pci_auto.c | 2 +- drivers/pci/pci_auto_old.c | 2 +- include/configs/vme8349.h

[U-Boot] [PATCH v2 20/58] MPC832XEMDS: Migrate to CONFIG_TARGET_MPC832XEMDS

2018-11-05 Thread Mario Six
Use the proper CONFIG_TARGET_MPC832XEMDS Kconfig option to replace the CONFIG_MPC832XEMDS ad-hoc config option. Signed-off-by: Mario Six --- v1 -> v2: * Removed config option from whitelist --- board/freescale/common/pq-mds-pib.c | 6 +++--- include/configs/MPC832XEMDS.h | 1 - scri

[U-Boot] [PATCH v2 16/58] powerpc: Add LSDMR config values

2018-11-05 Thread Mario Six
, introduce these macros into the proper config file. Signed-off-by: Mario Six --- v1 -> v2: No changes --- arch/powerpc/include/asm/fsl_lbc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/powerpc/include/asm/fsl_lbc.h b/arch/powerpc/include/asm/fsl_lbc.h index 3528acd627d..bf352d9a

[U-Boot] [PATCH v2 15/58] mpc83xx: Make distinct caddy2 config

2018-11-05 Thread Mario Six
the options necessary for each board. Signed-off-by: Mario Six --- v1 -> v2: * Combined config creation and simplification patches --- arch/powerpc/cpu/mpc83xx/Kconfig | 4 + board/esd/vme8349/Kconfig| 13 + board/esd/vme8349/vme8349.c | 8 +- configs/caddy2_defcon

[U-Boot] [PATCH v2 13/58] mpc83xx: Make distinct MPC8313ERDB targets

2018-11-05 Thread Mario Six
MPC8313ERDB has the option of either enabling NOR or NAND boot in its config file (by commenting out certain #ifdefs). To keep this ability after migrating options to Kconfig, we introduce two MPC8313ERDB configs: one for NOR, and one for NAND. Signed-off-by: Mario Six --- v1 -> v2: * Combi

[U-Boot] [PATCH v2 11/58] keymile: Unroll km/km83xx-common.h

2018-11-05 Thread Mario Six
Simplify the keymile config files once more by unrolling the km/km83xx-common.h, and resolve the #ifdef logic as needed. Signed-off-by: Mario Six --- v1 -> v2: No changes --- include/configs/km8360.h| 291 ++- include/configs/km83xx-common.h |

[U-Boot] [PATCH v2 10/58] keymile: Make distinct kmsupx5, tuge1, kmopti2, and kmtepr2 configs

2018-11-05 Thread Mario Six
The kmsupx5, tuge1, kmopti2, and kmtepr2 boards all build from the same include config file with lots of #ifdef logic. To ease Kconfig migration, create new config include files for these boards, and resolve the #ifdef logic as needed. Signed-off-by: Mario Six --- v1 -> v2: * Combined con

[U-Boot] [PATCH v2 12/58] keymile: Make distinct kmeter1, and kmcoge5ne configs

2018-11-05 Thread Mario Six
The kmeter1, and kmcoge5ne boards also build from the same config file with #ifdef logic. Create a separate include config for each board with the #ifdef logic resolved as needed. Signed-off-by: Mario Six --- v1 -> v2: * Combined config creation and simplification patches --- arch/powe

[U-Boot] [PATCH v2 08/58] keymile: Move config files

2018-11-05 Thread Mario Six
igned-off-by: Mario Six --- v1 -> v2: No changes --- include/configs/{km => }/km8309-common.h | 0 include/configs/{km => }/km8321-common.h | 0 include/configs/km8360.h | 2 +- include/configs/{km => }/km83xx-common.h | 4 ++-- include/configs/kmtegr1.h

[U-Boot] [PATCH v2 07/58] keymile: Make distinct kmtegr1, kmvect1, suvd3 configs

2018-11-05 Thread Mario Six
only include the options necessary for each board. Signed-off-by: Mario Six --- v1 -> v2: * Combined config creation and simplification patches. --- arch/powerpc/cpu/mpc83xx/Kconfig | 16 - board/keymile/km83xx/Kconfig | 26 configs/kmtegr1_defconfig|

[U-Boot] [PATCH v2 09/58] keymile: Unroll includes

2018-11-05 Thread Mario Six
To further simplify config include files, unroll the km/km8309-common.h and km/km8321-common.h include files. Signed-off-by: Mario Six --- v1 -> v2: No changes --- include/configs/km8309-common.h | 174 include/configs/km8321-common.h |

[U-Boot] [PATCH v2 06/58] mpc83xx: Introduce ARCH_MPC837X

2018-11-05 Thread Mario Six
Replace CONFIG_MPC837x with a proper CONFIG_ARCH_MPC837X Kconfig option. Signed-off-by: Mario Six --- v1 -> v2: No changes --- arch/powerpc/cpu/mpc83xx/Kconfig | 5 + arch/powerpc/cpu/mpc83xx/speed.c | 30 ++-- arch/powerpc/include/

[U-Boot] [PATCH v2 05/58] mpc83xx: Introduce ARCH_MPC836*

2018-11-05 Thread Mario Six
Replace CONFIG_MPC836* with proper CONFIG_ARCH_MPC836* Kconfig options. Signed-off-by: Mario Six --- v1 -> v2: * Removed config option from whitelist --- arch/powerpc/cpu/mpc83xx/Kconfig | 4 arch/powerpc/cpu/mpc83xx/speed.c | 10 +- arch/powerpc/include/

[U-Boot] [PATCH v2 04/58] mpc83xx: Introduce ARCH_MPC834*

2018-11-05 Thread Mario Six
Replace CONFIG_MPC834* with proper CONFIG_ARCH_MPC834* Kconfig options. Signed-off-by: Mario Six --- v1 -> v2: * Removed config option from whitelist --- arch/powerpc/cpu/mpc83xx/Kconfig | 12 arch/powerpc/cpu/mpc83xx/cpu_init.c | 2 +- arch/powerpc/

[U-Boot] [PATCH v2 03/58] mpc83xx: Introduce ARCH_MPC832*

2018-11-05 Thread Mario Six
Replace CONFIG_MPC832* with proper CONFIG_ARCH_MPC832* Kconfig options. Signed-off-by: Mario Six --- v1 -> v2: No changes --- arch/powerpc/cpu/mpc83xx/Kconfig | 7 +++ arch/powerpc/cpu/mpc83xx/speed.c | 10 +- arch/powerpc/include/asm/immap_83xx.h | 2 +- incl

[U-Boot] [PATCH v2 02/58] mpc83xx: Introduce ARCH_MPC831*

2018-11-05 Thread Mario Six
Replace CONFIG_MPC833* with proper CONFIG_ARCH_MPC833* Kconfig options. Signed-off-by: Mario Six --- v1 -> v2: * Removed config options from whitelist --- arch/powerpc/cpu/mpc83xx/Kconfig | 15 +++ arch/powerpc/cpu/mpc83xx/cpu.c | 2 +- arch/powerpc/

[U-Boot] [PATCH v2 01/58] mpc83xx: Introduce ARCH_MPC830*

2018-11-05 Thread Mario Six
Replace CONFIG_MPC830* with proper CONFIG_ARCH_MPC830* Kconfig options. Signed-off-by: Mario Six --- v1 -> v2: * Removed config options from whitelist --- arch/powerpc/cpu/mpc83xx/Kconfig | 17 + arch/powerpc/cpu/mpc83xx/spd_sdram.c | 2 +- arch/powerpc/

[U-Boot] [PATCH v11 14/16] misc: Sort Makefile entries

2018-10-15 Thread Mario Six
Makefile entries should be sorted. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six Signed-off-by: Anatolij Gustschin --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 ->

[U-Boot] [PATCH v11 16/16] misc: Add IHS FPGA driver

2018-10-15 Thread Mario Six
Add a driver for gdsys IHS (Integrated Hardware Systems) FPGAs, which supports initialization of the FPGA, as well as information gathering. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No chang

[U-Boot] [PATCH v11 06/16] regmap: Add error output

2018-10-15 Thread Mario Six
Add some debug output in cases where the initialization of a regmap fails. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No change

[U-Boot] [PATCH v11 05/16] regmap: Introduce init_range

2018-10-15 Thread Mario Six
Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -> v4: * Introduced else clause in of_live_active() if s

[U-Boot] [PATCH v11 11/16] test: regmap: Add test for regmap_{set, get}

2018-10-15 Thread Mario Six
Add test for regmap_{set,get} functions. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5:

[U-Boot] [PATCH v11 12/16] regmap: Add endianness support

2018-10-15 Thread Mario Six
Add support for switching the endianness of regmap accesses via the "little-endian", "big-endian", and "native-endian" boolean properties in the device tree. The default endianness is native endianness. Signed-off-by: Mario Six Reviewed-by: Simon Glass Reviewed-by

[U-Boot] [PATCH v11 07/16] mips: Implement {in, out}_{le, be}_{16, 32, 64} and {in, out}_8

2018-10-15 Thread Mario Six
). Reviewed-by: Simon Glass Reviewed-by: Stefan Roese Reviewed-by: Daniel Schwierzeck Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: New in v6 --- arch/mips/inc

[U-Boot] [PATCH v11 09/16] regmap: Support reading from specific range

2018-10-15 Thread Mario Six
parameter 'range_num' that identifies the range to operate on. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 ->

[U-Boot] [PATCH v11 10/16] regmap: Define regmap_{get,set}

2018-10-15 Thread Mario Six
: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -> v4: No changes v2 -> v3: * Fix

[U-Boot] [PATCH v11 08/16] regmap: Add raw read/write functions

2018-10-15 Thread Mario Six
write operation on a regmap. Implement the regmap_read and regmap_write functions using these raw functions in a backwards-compatible manner. Reviewed-by: Anatolij Gustschin Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: * Switched to the read{b,w,l,q} and write{b,w,l,q} fun

[U-Boot] [PATCH v11 13/16] regmap: Add overview documentation

2018-10-15 Thread Mario Six
Add some overview documentation that explains the purpose and some of the features and limitations of the regmap interface. Reviewed-by: Bin Meng Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: * Amended for inclusion of endianness setting via DT

[U-Boot] [PATCH v11 01/16] test: regmap: Increase size of syscon0 memory

2018-10-15 Thread Mario Six
. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: * Fix the test that checks the changed size v4 -> v5: No changes

[U-Boot] [PATCH v11 04/16] regmap: Improve error handling

2018-10-15 Thread Mario Six
Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -> v4: No changes v2 -> v3: New in v3 --- drivers/core/regmap.c | 17 ++

[U-Boot] [PATCH v11 03/16] regmap: Add documentation

2018-10-15 Thread Mario Six
Document the regmap_alloc() function. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No

[U-Boot] [PATCH v11 15/16] misc: Add gdsys_soc driver

2018-10-15 Thread Mario Six
This patch adds a driver for the bus associated with a IHS FPGA. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No

[U-Boot] [PATCH v11 02/16] regmap: Fix documentation

2018-10-15 Thread Mario Six
The documentation in regmap.h is not in kernel-doc format. Correct this. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -&

Re: [U-Boot] [PATCH v10 08/16] regmap: Add raw read/write functions

2018-10-15 Thread Mario Six
Hi Simon, On Sat, Oct 13, 2018 at 3:52 PM Simon Glass wrote: > > Hi Mario, > > On 4 October 2018 at 01:00, Mario Six wrote: > > The regmap functions currently assume that all register map accesses > > have a data width of 32 bits, but there are maps that have differen

Re: [U-Boot] [PATCH v2 2/8] cpu: mpc83xx: Remove unnecessary characters in the description string

2018-10-11 Thread Mario Six
-by: Bin Meng > > --- > > > > Changes in v2: None > > > > drivers/cpu/mpc83xx_cpu.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > Reviewed-by: Simon Glass > Reviewed-by: Mario Six ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 00/48] mpc83xx: Kconfig migrations

2018-10-11 Thread Mario Six
Hi York, On Fri, Sep 28, 2018 at 4:38 PM York Sun wrote: > > On 09/28/2018 02:53 AM, Mario Six wrote: > > This series converts the first bunch of legacy configuration options to > > the Kconfig framework. > > > > Functionality is preserved where possible, and settin

Re: [U-Boot] [PATCH 01/48] mpc83xx: Introduce ARCH_MPC830*

2018-10-11 Thread Mario Six
Hi Bin, On Fri, Sep 28, 2018 at 1:43 PM Bin Meng wrote: > > Hi Mario, > > On Fri, Sep 28, 2018 at 5:59 PM Mario Six wrote: > > > > Replace CONFIG_MPC830* with proper CONFIG_ARCH_MPC830* Kconfig options. > > > > Signed-off-by: Mario Six > >

Re: [U-Boot] i2c: Fix pca953x endianess issue, commit daa75b34828d45b7c1d63009188d45f4a32d06ba

2018-10-11 Thread Mario Six
Hi Jocke, On Thu, Oct 11, 2018 at 5:48 PM Joakim Tjernlund wrote: > > On Thu, 2018-10-11 at 16:11 +0200, Dirk Eibach wrote: > > > > Hello, > > > > we have a 16 bit value here, so we have to define whether bit0(containin > > the information for IO0.0) is in the first or the second byte. Since the

[U-Boot] [PATCH 2/2] mpc83xx: Mark boards as orphaned

2018-10-04 Thread Mario Six
Ilya Yanok's (ya...@emcraft.com) address bounces. Unlist it, and mark the respective boards as orphaned. Signed-off-by: Mario Six --- board/freescale/mpc8308rdb/MAINTAINERS | 4 ++-- board/mpc8308_p1m/MAINTAINERS | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --

<    1   2   3   4   5   6   7   8   9   10   >