[U-Boot] [PATCH 1/2] MAINTAINERS: Update Holger's address

2018-10-04 Thread Mario Six
Holger Brunck's mail address has changed. Update it tree-wide. Signed-off-by: Mario Six --- board/keymile/common/common.c | 2 +- board/keymile/common/ivm.c| 2 +- board/keymile/km83xx/MAINTAINERS | 2 +- board/keymile/km83xx/km83xx_i2c.c | 2 +- include/configs/km8

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

2018-10-04 Thread Mario Six
Hi Wolfgang, On Thu, Oct 4, 2018 at 9:46 AM Wolfgang Denk wrote: > > Dear Mario, > > In message <20181004072343.2235-1-mario@gdsys.cc> you wrote: > > Both Ilya Yanok's (ya...@emcraft.com) and Holger Brunck's > > (holger.bru...@keymile.com) addresses bounce. Unlist them, and mark > > their boa

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

2018-10-04 Thread Mario Six
Both Ilya Yanok's (ya...@emcraft.com) and Holger Brunck's (holger.bru...@keymile.com) addresses bounce. Unlist them, and mark their boards as orphaned. Signed-off-by: Mario Six --- board/freescale/mpc8308rdb/MAINTAINERS | 4 ++-- board/keymile/km83xx/MAINTAINERS | 4 +

[U-Boot] [PATCH] core: ofnode: Fix mem leak in error path

2018-10-04 Thread Mario Six
A newly created property is currently not freed if a name could not be allocated. This patch fixes the resulting memory leak in the error patch. Reported-by: Coverity (CID: 184085) Fixes: e369e58df79c ("core: Add functions to set properties in live-tree") Signed-off-by: Mario Six --

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

2018-10-04 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 --- v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -&

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

2018-10-04 Thread Mario Six
Document the regmap_alloc() function. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- 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 c

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

2018-10-04 Thread Mario Six
Add test for regmap_{set,get} functions. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- 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:

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

2018-10-04 Thread Mario Six
: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- 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: * Fixed style violations * Added

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

2018-10-04 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 --- v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -&

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

2018-10-04 Thread Mario Six
Glass Signed-off-by: Mario Six --- 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 + 1 fil

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

2018-10-04 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 --- v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v

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

2018-10-04 Thread Mario Six
. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- 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 v3 -> v4: No changes

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

2018-10-04 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 --- v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No chang

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

2018-10-04 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 --- 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 chang

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

2018-10-04 Thread Mario Six
Reviewed-by: Simon Glass Signed-off-by: Mario Six --- 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 statement to make the d

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

2018-10-04 Thread Mario Six
). Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: New in v6 --- arch/mips/include/asm/io.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/mips/inc

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

2018-10-04 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 --- v9 -> v10: * Switched to the read{b,w,l,q} and write{b,w,l,q} functions for register

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

2018-10-04 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 --- v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 ->

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

2018-10-04 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 --- v9 -> v10: No changes v8 -> v9: * Amended for inclusion of endianness setting via DT v7 -> v8:

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

2018-10-04 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 --- v9 -> v10: * Switched to re

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

2018-10-04 Thread Mario Six
Hi Simon, On Tue, Oct 2, 2018 at 1:21 PM Simon Glass wrote: > > Hi Mario, > > On 28 September 2018 at 00:27, Mario Six wrote: > > Add support for switching the endianness of regmap accesses via the > > "little-endian", "big-endian", and "native-

[U-Boot] [PATCH 41/48] powerpc: Migrate HIGH_BATS to Kconfig

2018-09-28 Thread Mario Six
Migrate the CONFIG_HIGH_BATS variable to Kconfig. Signed-off-by: Mario Six --- arch/powerpc/Kconfig | 6 ++ configs/MPC8313ERDB_33_defconfig | 1 + configs/MPC8313ERDB_66_defconfig | 1 + configs/MPC8313ERDB_NAND_33_defconfig | 1 + configs

[U-Boot] [PATCH 38/48] mpc83xx: Get rid of CONFIG_83XX_CLKIN

2018-09-28 Thread Mario Six
value of CONFIG_83XX_CLKIN in all MPC83xx config files Signed-off-by: Mario Six --- Kconfig | 2 +- arch/powerpc/cpu/mpc83xx/speed.c| 4 ++-- arch/powerpc/cpu/mpc83xx/spl_minimal.c | 2 +- board/freescale/mpc8349emds/MAINTAINERS | 1 + board/freescale

[U-Boot] [PATCH 45/48] tqm834x: Expand CONFIG_SYS_OR_TIMING_FLASH macro

2018-09-28 Thread Mario Six
can remove the variable in the next patch. Signed-off-by: Mario Six --- 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 7c92f4f54c..c75251e132 100644 --- a/board/tqc/tqm834x

[U-Boot] [PATCH 39/48] mpc83xx: Kconfig: Migrate HRCW to Kconfig

2018-09-28 Thread Mario Six
comfortable. Hence, make its fields configurable in Kconfig, and assemble the final value from these. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/Kconfig| 69 +++ arch/powerpc/cpu/mpc83xx/hrcw/Kconfig | 816 arch/powerpc/cpu/mpc83xx/hrcw/hrcw.h

[U-Boot] [PATCH 44/48] mpc83xx: Normalize BR/OR option lines

2018-09-28 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 46/48] mpc83xx: Simplify BR,OR lines

2018-09-28 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 --- include/configs/MPC8308RDB.h| 46 +--- include/configs/MPC8313ERDB_NAND.h | 67

[U-Boot] [PATCH 43/48] mpc83xx: Migrate LBLAW_* to Kconfig

2018-09-28 Thread Mario Six
, and assemble the final value from these. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/Kconfig | 1 + arch/powerpc/cpu/mpc83xx/cpu_init.c| 2 + arch/powerpc/cpu/mpc83xx/lblaw/Kconfig | 519 + arch/powerpc/cpu/mpc83xx/lblaw/lblaw.h | 55

[U-Boot] [PATCH 35/48] MPC837XERDB: Remove CONFIG_MPC837XERDB

2018-09-28 Thread Mario Six
CONFIG_MPC837XERDB is unused, and TARGET_MPC837XERDB could replace it. Hence, get rid of CONFIG_MPC837XERDB. Signed-off-by: Mario Six --- include/configs/MPC837XERDB.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h index

[U-Boot] [PATCH 36/48] mpc83xx: Migrate legacy PCI options to Kconfig

2018-09-28 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 --- arch/powerpc/cpu/mpc83xx/Kconfig| 26 ++ board/freescale/mpc8349emds/pci.c | 12 ++-- configs

[U-Boot] [PATCH 34/48] MPC837XEMDS: Remove CONFIG_MPC837XEMDS

2018-09-28 Thread Mario Six
CONFIG_MPC837XEMDS is unused, and TARGET_MPC837XEMDS could replace it. Hence, get rid of CONFIG_MPC837XEMDS. Signed-off-by: Mario Six --- include/configs/MPC837XEMDS.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/MPC837XEMDS.h b/include/configs/MPC837XEMDS.h index

[U-Boot] [PATCH 40/48] mpc83xx: pcie: Read the clock from registers

2018-09-28 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 --- arch/powerpc/cpu

[U-Boot] [PATCH 27/48] ve8313: Merge BR/OR settings

2018-09-28 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 --- include/configs/ve8313.h | 39 +++ 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/include/configs

[U-Boot] [PATCH 37/48] mpc83xx: Replace CONFIG_83XX_CLKIN in calculations

2018-09-28 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 --- arch/powerpc/cpu/mpc83xx

[U-Boot] [PATCH 26/48] mpc8315erdb: Merge BR/OR settings

2018-09-28 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 --- include/configs/MPC8315ERDB.h | 40 +++- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a

[U-Boot] [PATCH 29/48] MPC8349ITX: Migrate to CONFIG_TARGET_MPC8349ITX

2018-09-28 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 --- board/freescale/mpc8349itx/mpc8349itx.c | 2 +- configs/MPC8349ITX_LOWBOOT_defconfig| 1 - configs/MPC8349ITX_defconfig| 1 - include

[U-Boot] [PATCH 47/48] sbc8349: Remove SDRAM functionality

2018-09-28 Thread Mario Six
: Mario Six --- include/configs/sbc8349.h | 67 --- 1 file changed, 67 deletions(-) diff --git a/include/configs/sbc8349.h b/include/configs/sbc8349.h index 07241559f6..406b7ba63e 100644 --- a/include/configs/sbc8349.h +++ b/include/configs/sbc8349.h

[U-Boot] [PATCH 33/48] MPC8315ERDB: Remove CONFIG_MPC8315ERDB

2018-09-28 Thread Mario Six
CONFIG_MPC8315ERDB is unused, and TARGET_MPC8315ERDB could replace it. Hence, get rid of CONFIG_MPC8315ERDB. Signed-off-by: Mario Six --- include/configs/MPC8315ERDB.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/MPC8315ERDB.h b/include/configs/MPC8315ERDB.h index

[U-Boot] [PATCH 28/48] MPC832XEMDS: Migrate to CONFIG_TARGET_MPC832XEMDS

2018-09-28 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 --- board/freescale/common/pq-mds-pib.c | 6 +++--- include/configs/MPC832XEMDS.h | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a

[U-Boot] [PATCH 30/48] hrcom: Migrate to CONFIG_TARGET_HRCON

2018-09-28 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 --- board/gdsys/common/Makefile | 2 +- board/gdsys/mpc8308/Makefile | 2 +- include/configs/hrcon.h | 1 - include/gdsys_fpga.h | 2 +- 4 files changed, 3

[U-Boot] [PATCH 31/48] strider: Migrate to CONFIG_TARGET_STRIDER

2018-09-28 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 --- board/gdsys/common/Makefile | 4 ++-- board/gdsys/mpc8308/Makefile | 2 +- include/configs/strider.h| 1 - 3 files changed, 3 insertions(+), 4 deletions

[U-Boot] [PATCH 32/48] MPC8313ERDB: Remove CONFIG_MPC8313ERDB

2018-09-28 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 --- include/configs/MPC8313ERDB_NAND.h | 1 - include/configs/MPC8313ERDB_NOR.h | 1 - 2 files changed, 2 deletions

[U-Boot] [PATCH 21/48] mpc83xx: Make distinct caddy2 config

2018-09-28 Thread Mario Six
vme8349.h contains two separate boards: The vme8349 itself, and the caddy2 board. The caddy2 board is chosen by setting certain config variables. Create a proper config file for the caddy2 board to make Kconfig migration easier. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/Kconfig

[U-Boot] [PATCH 24/48] mpc83xx: Make distinct MPC8349EMDS_SDRAM board

2018-09-28 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. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/Kconfig| 8 + board/freescale

[U-Boot] [PATCH 25/48] MPC8349EMDS: Simplify configs

2018-09-28 Thread Mario Six
The SDRAM support now resides in a separate board variant. Hence, remove the SDRAM option from the original board. Signed-off-by: Mario Six --- include/configs/MPC8349EMDS.h | 76 - include/configs/MPC8349EMDS_SDRAM.h | 4 -- 2 files changed, 80

[U-Boot] [PATCH 23/48] powerpc: Add LSDMR config values

2018-09-28 Thread Mario Six
, introduce these macros into the proper config file. Signed-off-by: Mario Six --- 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 3528acd627..bf352d9a56 100644 --- a/arch/powerpc

[U-Boot] [PATCH 12/48] keymile: Make distinct kmsupx5, tuge1, kmopti2, and kmtepr2 configs

2018-09-28 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 --- arch/powerpc/cpu/mpc83xx

[U-Boot] [PATCH 20/48] VME8349: Migrate to CONFIG_TARGET_VME8349

2018-09-28 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 --- drivers/pci/pci_auto.c | 2 +- drivers/pci/pci_auto_old.c | 2 +- include/configs/vme8349.h | 1 - 3 files changed, 2

[U-Boot] [PATCH 14/48] keymile: Unroll km/km83xx-common.h

2018-09-28 Thread Mario Six
Simplify the keymile config files once more by unrolling the km/km83xx-common.h Signed-off-by: Mario Six --- include/configs/km8360.h | 300 +- include/configs/kmopti2.h | 300 +- include/configs/kmsupx5.h

[U-Boot] [PATCH 13/48] keymile: Simplify kmsupx5, tuge1, kmopti2, and kmtepr2 configs

2018-09-28 Thread Mario Six
Simplify the kmsupx5, tuge1, kmopti2, and kmtepr2 config files to only include the #ifdefs needed for each board. Signed-off-by: Mario Six --- include/configs/kmopti2.h | 73 --- include/configs/kmsupx5.h | 97

[U-Boot] [PATCH 22/48] vme8349/caddy2: Simplify configs

2018-09-28 Thread Mario Six
Simplify the vme8349 and caddy2 configs by keeping only the options necessary for each board. Signed-off-by: Mario Six --- include/configs/caddy2.h | 29 - include/configs/vme8349.h | 29 - 2 files changed, 58 deletions(-) diff --git a

[U-Boot] [PATCH 15/48] keymile: Simplify configs after include unroll

2018-09-28 Thread Mario Six
Simplify the keymile configs again after unrolling the km83xx-common.h include file. Signed-off-by: Mario Six --- include/configs/km8360.h | 11 --- include/configs/kmopti2.h | 13 - include/configs/kmsupx5.h | 13 - include/configs/kmtegr1.h | 18

[U-Boot] [PATCH 19/48] mpc83xx: Simplify MPC8313ERDB configs

2018-09-28 Thread Mario Six
Remove all options from the new MPC8313ERDB_{NOR,NAND} configs that are not specific to NOR or NAND. Signed-off-by: Mario Six --- include/configs/MPC8313ERDB_NAND.h | 61 --- include/configs/MPC8313ERDB_NOR.h | 74 +- 2 files

[U-Boot] [PATCH 18/48] mpc83xx: Make distinct MPC8313ERDB targets

2018-09-28 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 --- arch/powerpc/cpu

[U-Boot] [PATCH 17/48] keymile: Simplify kmcoge5ne, kmeter1 configs

2018-09-28 Thread Mario Six
Simplify the kmcoge5ne and kmeter1 configs to only include the #ifdefs necessary for each board. Signed-off-by: Mario Six --- include/configs/kmcoge5ne.h | 29 -- include/configs/kmeter1.h | 97 + 2 files changed, 1 insertion(+), 125

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

2018-09-28 Thread Mario Six
; we will simplify them in another patch. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/Kconfig | 16 +++- board/keymile/km83xx/Kconfig | 26 ++ configs/kmtegr1_defconfig| 2 +- configs/kmvect1_defconfig| 2 +- include/configs/kmtegr1.h| 190

[U-Boot] [PATCH 16/48] keymile: Make distinct kmeter1, and kmcoge5ne configs

2018-09-28 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 --- arch/powerpc/cpu/mpc83xx/Kconfig | 11 +- board/keymile/km83xx/Kconfig

[U-Boot] [PATCH 08/48] keymile: Simplify kmtegr1, kmvect1, suvd3 configs

2018-09-28 Thread Mario Six
The kmtegr1, kmvect1, and suvd3 boards now have separate config files, which were all copied from the suvd3. Unwind the #ifdef logic in these config files to only include the options necessary for each board. Signed-off-by: Mario Six --- include/configs/kmtegr1.h | 90

[U-Boot] [PATCH 10/48] keymile: Unroll includes

2018-09-28 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 --- include/configs/km8309-common.h | 174 --- include/configs/km8321-common.h | 139

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

2018-09-28 Thread Mario Six
Replace CONFIG_MPC830* with proper CONFIG_ARCH_MPC830* Kconfig options. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/Kconfig | 17 + arch/powerpc/cpu/mpc83xx/spd_sdram.c | 2 +- arch/powerpc/cpu/mpc83xx/speed.c | 38

[U-Boot] [PATCH 11/48] keymile: Simplify config files

2018-09-28 Thread Mario Six
Simplify the config files in which we recently unrolled the km8309-common.h include file. Signed-off-by: Mario Six --- include/configs/kmtegr1.h | 13 - include/configs/kmvect1.h | 12 include/configs/suvd3.h | 25 - include/configs/tuxx1.h

[U-Boot] [PATCH 09/48] keymile: Move config files

2018-09-28 Thread Mario Six
igned-off-by: Mario Six --- 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| 4 ++-- include/con

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

2018-09-28 Thread Mario Six
Replace CONFIG_MPC833* with proper CONFIG_ARCH_MPC833* Kconfig options. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/Kconfig | 15 +++ arch/powerpc/cpu/mpc83xx/cpu.c | 2 +- arch/powerpc/cpu/mpc83xx/cpu_init.c | 4 +-- arch/powerpc/cpu

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

2018-09-28 Thread Mario Six
Replace CONFIG_MPC837x with a proper CONFIG_ARCH_MPC837X Kconfig option. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/Kconfig | 3 +++ arch/powerpc/cpu/mpc83xx/speed.c | 30 ++-- arch/powerpc/include/asm/arch-mpc83xx/gpio.h | 2 +- arch

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

2018-09-28 Thread Mario Six
This series converts the first bunch of legacy configuration options to the Kconfig framework. Functionality is preserved where possible, and setting configuration options is made a comfortable as possible. Mario Six (48): mpc83xx: Introduce ARCH_MPC830* mpc83xx: Introduce ARCH_MPC831

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

2018-09-28 Thread Mario Six
Replace CONFIG_MPC836* with proper CONFIG_ARCH_MPC836* Kconfig options. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/Kconfig | 4 arch/powerpc/cpu/mpc83xx/speed.c | 10 +- arch/powerpc/include/asm/fsl_lbc.h | 4 ++-- arch/powerpc/include/asm/global_data.h

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

2018-09-28 Thread Mario Six
Replace CONFIG_MPC834* with proper CONFIG_ARCH_MPC834* Kconfig options. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/Kconfig | 14 ++ arch/powerpc/cpu/mpc83xx/cpu_init.c | 2 +- arch/powerpc/cpu/mpc83xx/spd_sdram.c | 2 +- arch/powerpc/cpu

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

2018-09-28 Thread Mario Six
Replace CONFIG_MPC832* with proper CONFIG_ARCH_MPC832* Kconfig options. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/Kconfig | 7 +++ arch/powerpc/cpu/mpc83xx/speed.c | 10 +- arch/powerpc/include/asm/immap_83xx.h | 2 +- include/configs/MPC8323ERDB.h

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

2018-09-28 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 --- 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: * Fixed sty

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

2018-09-28 Thread Mario Six
. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- 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 v3 -> v4: No changes v2 -> v3: New in v3

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

2018-09-28 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 --- v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -&

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

2018-09-28 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 --- v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No chang

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

2018-09-28 Thread Mario Six
Add test for regmap_{set,get} functions. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- 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: Ne

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

2018-09-28 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 --- v8 -> v9: New in v9

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

2018-09-28 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 --- v8 -> v9: * Amended for inclusion of endianness setting via DT v7 -> v8: New in v8 --- include/regmap.

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

2018-09-28 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 --- v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -&

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

2018-09-28 Thread Mario Six
). Signed-off-by: Mario Six --- v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: New in v6 --- arch/mips/include/asm/io.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h index

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

2018-09-28 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 --- v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -&

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

2018-09-28 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 --- v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: Drop re-ordered entri

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

2018-09-28 Thread Mario Six
: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- 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: * Fixed style violations * Added documentation v1 -> v2:

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

2018-09-28 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 --- v8 -> v9: * Removed forgotten "fpgamap" in documentation v7 -> v8: No c

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

2018-09-28 Thread Mario Six
Reviewed-by: Simon Glass Signed-off-by: Mario Six --- 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 statement to make the distinction between live an

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

2018-09-28 Thread Mario Six
Glass Signed-off-by: Mario Six --- 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 + 1 file changed, 17 insertions(+) diff

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

2018-09-28 Thread Mario Six
Document the regmap_alloc() function. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- 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: Ne

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

2018-09-28 Thread Mario Six
Hi Daniel, On Thu, Sep 27, 2018 at 1:28 PM Daniel Schwierzeck wrote: > > Hi Mario, > > Am Do., 27. Sep. 2018 um 11:48 Uhr schrieb Mario Six : > > > > The regmap functions currently assume that all register map accesses > > have a data width of 32 bits, but ther

Re: [U-Boot] [PATCH v4 3/3] test: Add tests for board uclass

2018-09-27 Thread Mario Six
Hi Simon, On Thu, Sep 27, 2018 at 3:45 PM Simon Glass wrote: > > Hi Mario, > > On 26 September 2018 at 06:36, Mario Six wrote: > > Hi Simon, > > On Tue, Jul 31, 2018 at 11:46 AM Mario Six wrote: > >> > >> Add tests for the new board uclass. > >>

Re: [U-Boot] [PATCH v3 1/4] core: Add functions to set properties in live-tree

2018-09-27 Thread Mario Six
Hi Simon, On Thu, Sep 27, 2018 at 3:42 PM Simon Glass wrote: > > Hi Mario, > > On 26 September 2018 at 06:34, Mario Six wrote: > > > > Hi Simon, > > On Wed, Jun 27, 2018 at 1:18 AM Simon Glass wrote: > > > > > > On 26 June 2018 at 00:46, Mario Six

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

2018-09-27 Thread Mario Six
: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -> v4: No changes v2 -> v3: * Fixed style violations * Added documentation v1 -> v2: New in v2 ---

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

2018-09-27 Thread Mario Six
Add test for regmap_{set,get} functions. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- 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 --- tes

[U-Boot] [PATCH v8 08/15] regmap: Add raw read/write functions

2018-09-27 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 --- v7 -> v8: No changes v6 -> v7: * Fixed wrong variable type in 64-bit read (u32

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

2018-09-27 Thread Mario Six
. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: * Fix the test that checks the changed size v4 -> v5: No changes v3 -> v4: No changes v2 -> v3: New in v3 --- arch/sandbox/dts/test.d

[U-Boot] [PATCH v8 12/15] regmap: Add overview documentation

2018-09-27 Thread Mario Six
Add some overview documentation that explains the purpose and some of the features and limitations of the regmap interface. Signed-off-by: Mario Six --- v7 -> v8: New in v8 --- include/regmap.h | 25 + 1 file changed, 25 insertions(+) diff --git a/include/regmap.

[U-Boot] [PATCH v8 09/15] regmap: Support reading from specific range

2018-09-27 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 --- v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -> v4: No changes v2 -> v3

[U-Boot] [PATCH v8 15/15] misc: Add IHS FPGA driver

2018-09-27 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 --- v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No chang

[U-Boot] [PATCH v8 14/15] misc: Add gdsys_soc driver

2018-09-27 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 --- v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -> v4: No changes v2 -> v3: * Fixed style violations * Added bin

[U-Boot] [PATCH v8 13/15] misc: Sort Makefile entries

2018-09-27 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 --- v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: Drop re-ordered entries that are not in m

[U-Boot] [PATCH v8 03/15] regmap: Add documentation

2018-09-27 Thread Mario Six
Document the regmap_alloc() function. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- 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

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

2018-09-27 Thread Mario Six
). Signed-off-by: Mario Six --- v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: New in v6 --- arch/mips/include/asm/io.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h index 957442effd2..7c40e415c74 100

[U-Boot] [PATCH v8 02/15] regmap: Fix documentation

2018-09-27 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 --- v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -> v4: No changes v2 -

[U-Boot] [PATCH v8 06/15] regmap: Add error output

2018-09-27 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 --- v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -> v4: No changes v2 -

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