On Sat, 2018-11-03 at 00:08 -0600, Simon Glass wrote:
> On 2 November 2018 at 09:15, Ryder Lee wrote:
> > This patch adds support for MTK boot image generation.
> >
> > Signed-off-by: Weijie Gao
> > Signed-off-by: Ryder Lee
> > ---
> > Makefile | 20 ++
> > common/image.c |
On Sat, 2018-11-03 at 00:08 -0600, Simon Glass wrote:
> Hi Ryder,
>
> On 2 November 2018 at 09:15, Ryder Lee wrote:
> > This patch adds clock modules for MediaTek SoCs:
> > - Shared part: a common driver which contains the general operations
> > for plls, muxes, dividers and gates so that we can
On Wed, Oct 31, 2018 at 3:38 PM Boris Brezillon
wrote:
>
> Hello,
>
> Stefan recently reported a bug when using ubi part on a spi-nand
> device and proposed this fix[1]. While his solution while working
> I proposed a different approach to kill the CMD_UBI dependency on
> CMD_MTDPARTS. This is wha
On Mon, 2018-11-05 at 10:20 +0800, Ryder Lee wrote:
> On Sat, 2018-11-03 at 00:09 -0600, Simon Glass wrote:
> > Hi Ryder,
> >
> > On 2 November 2018 at 09:15, Ryder Lee wrote:
> > > This patch adds an extra operation in ns16550.c to suuport MediaTek
> > > SoCs as we have a highspeed register whic
On Wed, Oct 31, 2018 at 08:03:16PM +0100, Michael Trimarchi wrote:
> When we initialize the memory we need to autodetect rank and size
> but this can happen only if we send the proper reset to both
> memory module including cke signal.
> For this reason we need initialize the physical on both chann
This patch set is a collection of patches to enhance efi user interfaces
/commands. It will help improve user experience on efi boot and make it
more usable *without* edk2's shell utility.
Let's see how it works:
=> efishell boot add 1 SHELL mmc 0:1 /Shell.efi ""
=> efishell boot add 2 HELLO mmc 0
This is a preparatory patch for use in efi_serialize_load_option()
as a load option's file_path should have both a device path and
a file path.
Signed-off-by: AKASHI Takahiro
---
lib/efi_loader/efi_device_path.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/lib/
"drivers" command prints all the uefi drivers on the system.
=> efi drivers
Driver Name Image Path
(unknown) +(not found)
guid: 18a031ab-b443-4d1a-a5c0-0c09261e9f71
Currently, no useful information can be printed.
Signed-off-by: AKASHI Ta
With an extra argument, efi_bootmgr_load() can now load an efi binary
based on a "Boot" variable specified.
Signed-off-by: AKASHI Takahiro
---
include/efi_loader.h | 3 ++-
lib/efi_loader/efi_bootmgr.c | 8 +++-
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/inclu
In this patch, helper functions for an load option variable (Boot)
are added:
* efi_deserialize_load_option(): parse a string into load_option data
(renamed from parse_load_option and exported)
* efi_serialize_load_option(): convert load_option data into a string
Those
"dh" command prints all the uefi handles used in the system.
=> efishell dh
(T.B.D.)
0: (protocol info not available)
1: (protocol info not available)
2: (protocol info not available)
3: (protocol info not available)
4: (protocol info not available)
5: (protocol info not available)
6: (protocol inf
"run -e" allows for executing EFI application with a specific "Boot"
variable. If no "Boot" is specified or "BootOrder" is specified,
it tries to run an EFI application specified in the order of "bootOrder."
Signed-off-by: AKASHI Takahiro
---
cmd/bootefi.c | 2 +-
cmd/nvedit.c
"env [print|set] -e" allows for handling uefi variables without
knowing details about mapping to corresponding u-boot variables.
Signed-off-by: AKASHI Takahiro
---
cmd/nvedit.c | 58 +++-
1 file changed, 57 insertions(+), 1 deletion(-)
diff --git
"memmap" command prints uefi-specific memory map information.
=> efi memmap
Type StartEnd Attributes
==
CONVENTIONAL 4000-7de27000 WB
RUNTIME DATA 7de27000-7de
"devices" command prints all the uefi variables on the system.
=> efishell devices
Device Name
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)
/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/
Currently, there is no easy way to add or modify UEFI variables.
In particular, bootmgr supports BootOrder/Boot variables, it is
quite hard to define them as u-boot variables because they are represented
in a complicated and encoded format.
The new command, efishell, helps address these issues
"images" command prints loaded images-related information.
Signed-off-by: AKASHI Takahiro
---
cmd/efishell.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/cmd/efishell.c b/cmd/efishell.c
index 2f54f7803ac5..b5050d63fa22 100644
--- a/cmd/efishell.c
+++ b/cmd/ef
With this patch applied, we will be able to selectively execute
an EFI application by specifying a load option, say "1" for Boot0001,
"2" for Boot0002 and so on.
=> bootefi bootmgr 1, or
bootefi bootmgr - 1
Please note that Boot need not be included in "BootOrder".
Signed-off-by: AKA
The current way how command parameters, particularly "fdt addr," are
handled makes it a bit complicated to add a subcommand-specific parameter.
So just refactor the code and extract efi_handle_fdt().
This commit is a preparatory change for enhancing bootmgr sub-command.
Signed-off-by: AKASHI Taka
Those function will be used for integration with 'env' command
so as to handle uefi variables.
Signed-off-by: AKASHI Takahiro
---
cmd/efishell.c| 4 ++--
include/command.h | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/cmd/efishell.c b/cmd/efishell.c
index bd2b99e7407
- Drop unnecessary include files.
- Rename platform_data include file as spi_pl022.h from
pl022_spi.h, this is generic notation used for spi platdat
include files.
Cc: Quentin Schulz
Signed-off-by: Jagan Teki
---
drivers/spi/pl022_spi.c | 7 +--
include/dm/
pl022 spi driver support both OF_CONTROL and PLATDATA and
it's using #ifdef check for differentiating platdata vs of_control.
So this patch simplify the code and drop the ifdefs
Cc: Quentin Schulz
Signed-off-by: Jagan Teki
---
drivers/spi/pl022_spi.c | 48 --
Hi Simon,
On 03/11/2018 07:07, Simon Glass wrote:
Hi Jean-Jacques,
On 22 October 2018 at 08:12, Jean-Jacques Hiblot wrote:
i2c_get_chip_for_busnum() really should check the presence of the chip on
the bus. Most of the users of this function assume that this is done.
Signed-off-by: Jean-Jacqu
On Sun, 2018-11-04 at 22:28 +0100, Alexander Graf wrote:
> With RELA absolute relocations, the relocation target contains our
> link
> offset which we need to remove from the equation again. We did this
> properly in the relative relocation path, but not in the absolute
> one.
>
> So let's do this
Hi Baruch,
On 31.10.18 15:50, Baruch Siach wrote:
Hi Stefan,
On Wed, Oct 31, 2018 at 02:29:50PM +0100, Stefan Roese wrote:
On 28.10.18 13:30, Baruch Siach wrote:
Some Armada 8K boards like Macchiatobin and Clearfog GT-8K use RAM from
external DIMM. Hard coding the RAM size in the device-tree
Hi Jagan,
On Mon, Nov 05, 2018 at 02:49:25PM +0530, Jagan Teki wrote:
> pl022 spi driver support both OF_CONTROL and PLATDATA and
> it's using #ifdef check for differentiating platdata vs of_control.
> So this patch simplify the code and drop the ifdefs
>
You drop a few ifdef, not all. I also fi
Check lseek return value.
Fix Coverity CID: 184236 184235 184232
Reported-by: Coverity
Signed-off-by: Peng Fan
---
V2: Per Fabio's comments, use ret = lseek; if (ret) < 0) coding style.
tools/imx8image.c | 27 +++
1 file changed, 23 insertions(+), 4 deletions(-)
diff
Fix:
CID 184234:(TAINTED_SCALAR)
Using tainted variable "header.num_images - 1" as an index into an array
"header.img".
Reported-by: Coverity
Signed-off-by: Peng Fan
---
tools/imx8image.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/imx8image.c b/tools/imx8im
Fix:
CID 184233:(NEGATIVE_RETURNS)
Using variable "container" as an index to array "imx_header.fhdr".
Reported-by: Coverity
Signed-off-by: Peng Fan
---
tools/imx8image.c | 8
1 file changed, 8 insertions(+)
diff --git a/tools/imx8image.c b/tools/imx8image.c
index 019b875773..ac89c8
If there is no CONTAINER entry, there is no need to flatten container
header.
Signed-off-by: Peng Fan
---
tools/imx8image.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/tools/imx8image.c b/tools/imx8image.c
index ac89c821c9..6e8ac464e7 100644
--- a
On Mon, May 7, 2018 at 2:40 PM Jagan Teki wrote:
>
> kirkwood now support dt along with platform data,
> respective boards need to switch into dm for the same.
>
> Signed-off-by: Jagan Teki
> ---
> Changes for v3:
> - rebased master
> - Move kconfig option if DM_SPI
>
> drivers/spi/Kconfig
config.h is not needed, remove it.
Signed-off-by: Peng Fan
---
board/freescale/imx8qxp_mek/imximage.cfg | 1 -
1 file changed, 1 deletion(-)
diff --git a/board/freescale/imx8qxp_mek/imximage.cfg
b/board/freescale/imx8qxp_mek/imximage.cfg
index 9d39f25bf6..bbffb1a88f 100644
--- a/board/freescal
Build u-boot-dtb.cfgout before checking files, otherwise
u-boot-dtb.cfgout is generated at late stage and cause final image not
generated.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/Makefile b/arch/
On Wed, Sep 19, 2018 at 5:02 PM Vladimir Zapolskiy wrote:
>
> On 09/04/2018 09:33 AM, Jagan Teki wrote:
> > On Wed, May 9, 2018 at 12:37 PM, Akash Gajjar
> > wrote:
> >> From: Akash Gajjar
> >>
> >> This patch adds support for DM to the LPC32xx SSP SPI driver.
> >>
> >> Some TODOs are left over
On Fri, Mar 2, 2018 at 3:17 PM Christophe LEROY wrote:
>
>
> Le 26/02/2018 à 15:43, Jagan Teki a écrit :
> > - Driver not used by any boards
>
> This driver should be used by MCR3000 board. For the time
> being SPI is not activated on that board because we are struggling
> with u-boot size. I'm wo
Add local size_t variable to crypto_comp_decompress as intermediate
storage for destination length to avoid memory corruption and incorrect
results on 64 bit targets.
This is what linux does for the various lz compression implementations.
Signed-off-by: Paul Davey
Cc: Heiko Schocher
---
When a
Hi Jagan,
On 05/11/18 12:40 PM, Jagan Teki wrote:
On 03/11/18 4:58 PM, Akash Gajjar wrote:
Rockpro64 is rk3399 based board from pine64.org. add initial board
support for
Rockpro64. complete board support will be added later in upcoming
patchsets.
Signed-off-by: Akash Gajjar
---
arch/arm/d
On Sun, Nov 04, 2018 at 10:15:07AM +0100, Marek Vasut wrote:
> The following changes since commit fdaccfeb5e03e18c05be386b8a7c6be02be2cf15:
>
> Merge branch 'master' of git://git.denx.de/u-boot-socfpga (2018-10-31
> 17:15:55 -0400)
>
> are available in the Git repository at:
>
> git://git.d
On Sat, Nov 03, 2018 at 11:59:55AM +0100, Daniel Schwierzeck wrote:
> Hi Tom,
>
> please pull an important bugfix for MIPS, thanks.
>
> Travis CI: https://travis-ci.org/danielschwierzeck/u-boot/builds/450057399
>
>
> The following changes since commit 99431c1c21685fe63d46b6eac995b78ce9adce0a:
Hi Peng,
On Mon, Nov 5, 2018 at 7:53 AM Peng Fan wrote:
>
> Check lseek return value.
>
> Fix Coverity CID: 184236 184235 184232
>
> Reported-by: Coverity
> Signed-off-by: Peng Fan
Thanks for the respin.
Reviewed-by: Fabio Estevam
___
U-Boot mailing
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/cpu/mp
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/cpu/mpc8
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 +-
include/confi
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/cpu/mpc8
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/asm/fsl_lbc.
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/asm/arch
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 | 139 ---
We want to unroll several include files, while keeping include
statements consistent.
To make it easier to not break the include statements, move the include
files to the main configs directory. All three include files moved will
be unrolled, so they won't pollute the directory for long.
Signed-o
The kmtegr1, kmvect1, and suvd3 boards all use the same config include
file with lots of #ifdefs in it.
The Kconfig migation will become easier if we get rid of these #ifdefs
first.
Hence, create distinct config include files for these boards, and unwind
the #ifdef logic in these config files to
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/powerpc/cp
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 config c
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 | 296 -
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:
* Combined
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.
Furthermoew, simplify the vme8349 and caddy2 configs by keeping only
The LSDMR_* macros are used to configure the system bus on MPC83xx.
A few of the possible LSDMR_* macros were never defined in the
respective include files. This renders the SDRAM support on the
MPC8349EMDS unusable, because it uses these undefined macros.
To make the SDRAM option work, introduce
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 -
scripts/
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 | 1 -
The ve8313 has the option of either configuring the eLBC (enhanced local system
bus) such that
* NOR flash is the first memory bank, and NAND flash is the second memory bank,
or
* NAND flash is the first memory bank, and NOR flash is the second memory bank,
by using CONFIG_SYS_NOR_{BR,OR}_PRELI
The mpc8315erdb has the option of either configuring the eLBC (enhanced
local system bus) such that
* NOR flash is the first memory bank, and NAND flash is the second
memory bank, or
* NAND flash is the first memory bank, and NOR flash is the second
memory bank,
by using CONFIG_SYS_NOR_{BR,OR
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 -> v2:
* Combi
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, 2 deletion
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| 1 -
config
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/strider.h|
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/pci.c |
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, 2 deletion
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/mpc8308/
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/configs/MPC8313
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, 2 deletion
CONFIG_SYS_CLK_FREQ is the standard way to set the system clock
frequency. On MPC83xx, CONFIG_83XX_CLKIN is used for this purpose.
Hence, the obvious way is to replace CONFIG_83XX_CLKIN with
CONFIG_SYS_CLK_FREQ.
A few MPC83xx boards use the CONFIG_83XX_CLKIN variable for computing
CONFIG_SYS_NS165
MPC83xx uses CONFIG_83XX_CLKIN instead of CONFIG_SYS_CLK_FREQ to set the
system clock. To migrate the architecture, we can replace
CONFIG_83XX_CLKIN with CONFIG_SYS_CLK_FREQ.
To do this
* replace all occurrences of CONFIG_83XX_CLKIN with CONFIG_SYS_CLK_FREQ
* set CONFIG_SYS_CLK_FREQ to the old val
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:
No changes
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 +
configs/MPC8313ERDB_N
The HRCW (hardware reset configuration word) is a constant that must be
hard-coded into the boot loader image. So, it must be available at
compile time, and cannot be migrated to the DT mechanism, but has to be
kept in Kconfig.
Configuration of this crucial variable should still be somewhat
comfor
We want to normalize all BR/OR config lines as much as possible.
The TQM834x board uses CONFIG_SYS_OR_TIMING_FLASH in a OR definition,
which we want to remove. But CONFIG_SYS_OR_TIMING_FLASH is also used
outside of the config file.
Replace these usages with the definition of the variable, so we c
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 | 67
The LBLAW_* values determine the window configuration of the memory
controller. Hence, they must be known at compile time, and cannot be
implemented in the DT mechanism.
Configuration of this crucial variable should still be somewhat
comfortable. Hence, make its fields configurable in Kconfig, and
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
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/arch/power
The MPC8349EMDS configuration was the basis for the sbc8349, so it also
contains its SDRAM option.
Since
* the SDRAM has to be soldered onto the board,
* the sbc8349 never used the support, and
* the support never worked (see previous patch fixing it),
we can assume that the support on the sbc834
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 +
arch/powerpc
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 9318e6252ae..400
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 files ch
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/powerpc/cp
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 | 139 ++
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 -
include/co
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 ++
arch/
ppcDWstore/ppcDWload are hardly used by any board, but since they're
implemented in start.S, they're always present in every U-Boot image,
even if they're not needed.
Re-implement these fuctions in C with inline assembly, so that the
compiler can decide when to actually include them.
Signed-off-b
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/mpc83xx/fdt.c
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/powerpc/cpu
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:
New in v2
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 | 22
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| 4 ++--
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 | 2
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/mpc83xx/initre
Except for one counter example, CONFIG_SYS_LBC_LBCR always has a value
of either 0x0004 or 0x.
CONFIG_SYS_LBC_MRTPR always has the value 0x2000.
CONFIG_SYS_LBC_LSDMR_{1,2,4,5} are not set for any mpc83xx board.
CONFIG_SYS_LBC_LSRT is set by one board (to 0x3200).
To simplify
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/powerpc/cpu/mpc83xx
On Mon, Nov 05, 2018 at 01:20:40PM +0530, Jagan Teki wrote:
> OrangePi Lite2 is Allwinner H6 based open-source SBC,
> which support:
> - Allwinner H6 Quad-core 64-bit ARM Cortex-A53
> - GPU Mali-T720
> - 1GB LPDDR3 RAM
> - AXP805 PMIC
> - AP6356S Wifi/BT
> - USB 2.0, USB 3.0 Host, OTG
> - HDMI port
El sáb, 03-11-2018 a las 17:12 -0700, Vasily Khoruzhick escribió:
> On Sat, Nov 3, 2018 at 2:15 PM André Przywara > wrote:
> > On 11/3/18 8:19 PM, Vasily Khoruzhick wrote:
> > > You need "allwinner" branch from this repo.
> >
> > I deliberately switched the standard branch away, since everything
The commit
484fdf5ba058 ("dm: Add support for all targets which requires MANUAL_RELOC")
introduces subtle typo, i.e. missed semicolon.
Fixes: 484fdf5ba058 ("dm: Add support for all targets which requires
MANUAL_RELOC")
Cc: Michal Simek
Signed-off-by: Andy Shevchenko
---
drivers/serial/seri
Hi Valentin-catalin,
There is a typo in your commit title.
Regards,
Clement
On Tue, 30 Oct 2018 at 11:44, Valentin-catalin Neacsu
wrote:
>
> Print information about Aquantia firmware loaded on the phy
> Signed-off-by: Valentin Catalin Neacsu
> ---
> drivers/net/phy/aquantia.c | 21 +++
1 - 100 of 188 matches
Mail list logo