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 | 2 +-
Migrate the CONFIG_HIGH_BATS variable to Kconfig.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
v1 -> v2:
* Removed config option from whitelist
---
arch/powerpc/Kconfig | 6 ++
configs/MPC8313ERDB_33_defconfig | 1 +
configs/MPC8313ERDB_66_defconfig | 1 +
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
---
v2 -> v3:
No
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.
On Mon, Jan 21, 2019 at 5:32 PM Jagan Teki wrote:
>
> On Sat, Jan 19, 2019 at 7:02 AM Andre Przywara wrote:
> >
> > The A80 handles resets and clock gates for the MMC devices differently,
> > outside of the CCU IP block. Consequently we have a separate clock
> > device with a separate binding
On 02.01.19 17:26, Baruch Siach wrote:
These macros are not used anywhere in the boards code.
Cc: Chris Packham
Cc: Dirk Eibach
Cc: Mario Six
Cc: Dennis Gilmore
Signed-off-by: Baruch Siach
---
board/Marvell/db-88f6820-amc/db-88f6820-amc.c | 4
On 26.12.18 10:37, Heinrich Schuchardt wrote:
An NVME drive may be installed on the MACCHIATObin board using the PCIe
slot or on the Clearfog Pro using mini a PCI-e slot. With the configuration
change it becomes usable.
Signed-off-by: Heinrich Schuchardt
---
configs/clearfog_gt_8k_defconfig
On 21.12.18 17:30, Heinrich Schuchardt wrote:
The memory area [0x400-0x420[ is occupied by the PSCI firmware. Any
attempt to access it from U-Boot leads to an immediate crash.
So let's make the same memory reservation as the vendor device tree.
Signed-off-by: Heinrich Schuchardt
---
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 ++--
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
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
Use the proper CONFIG_TARGET_MPC832XEMDS Kconfig option to replace the
CONFIG_MPC832XEMDS ad-hoc config option.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
v1 -> v2:
* Removed config option from whitelist
---
board/freescale/common/pq-mds-pib.c | 6 +++---
Migrate the arbiter configuration to Kconfig.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
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 |
Migrate the SPCR setting to Kconfig.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
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 +
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
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
---
board/esd/vme8349/vme8349.c | 2 +-
Hi Simon,
Am 20.01.2019 um 21:23 schrieb Simon Glass:
Hi Simon,
On Tue, 8 Jan 2019 at 08:29, Simon Goldschmidt
wrote:
The platdata initialization structs are currently generated into .rwdata.
Make sure the are put into .rodata by generating them as const.
Signed-off-by: Simon Goldschmidt
On Mon, 21 Jan 2019 17:34:25 +0800
Chen-Yu Tsai wrote:
> On Mon, Jan 21, 2019 at 5:32 PM Jagan Teki
> wrote:
> >
> > On Sat, Jan 19, 2019 at 7:02 AM Andre Przywara
> > wrote:
> > >
> > > The A80 handles resets and clock gates for the MMC devices
> > > differently, outside of the CCU IP
From: AKASHI Takahiro
There is a bug in efi variables test.
Fix it with some cosmetic improvements.
Please note that efi variables test still fails at QueryVariableInfo()
and GetVariable(), but this is not due to a change in this patch.
==8<==
Testing EFI API implementation
Selected
In this patch series GetNextVariableName runtime service is implemented.
v3
rebase on efi-next
v2
update variable_name_size in GetNextVariableName
add more comments
change some internal variable names
AKASHI Takahiro (2):
efi_loader: implement
On Mon, Jan 21, 2019 at 5:28 PM Vignesh R wrote:
>
>
>
> On 14/01/19 8:32 PM, Vignesh R wrote:
> > Hi Jagan,
> >
> > Could you please review v2? If we plan to merge this series for
> > v2019.04, we should probably plan to take it a bit early so as to
> > address any regression or fall out in
On Mon, 2019-01-21 at 05:55 +, Anup Patel wrote:
> > -Original Message-
> > From: Auer, Lukas [mailto:lukas.a...@aisec.fraunhofer.de]
> > Sent: Monday, January 21, 2019 1:43 AM
> > To: s...@chromium.org; bmeng...@gmail.com; r...@andestech.com; Anup
> > Patel ; joe.hershber...@ni.com;
>
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 ++-
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 +-
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_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
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
---
arch/powerpc/cpu/mpc83xx/spd_sdram.c | 2 +-
The MPC8308 has two I2C controllers, but no PCI controller.
Fix the register map layout for this SoC.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
---
arch/powerpc/cpu/mpc83xx/Makefile | 2 ++
arch/powerpc/include/asm/immap_83xx.h | 42
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
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
---
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
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
---
The dtoc tests need to be adapted to dtoc being changed to output platdata
structs as const, which has been introduced in commit 7d05d3a8e35f ("dtoc:
make generated platdata structs const").
Fixes: 7d05d3a8e35f ("dtoc: make generated platdata structs const")
Signed-off-by: Simon Goldschmidt
---
On Sat, Jan 19, 2019 at 7:02 AM Andre Przywara wrote:
>
> The A80 handles resets and clock gates for the MMC devices differently,
> outside of the CCU IP block. Consequently we have a separate clock
> device with a separate binding for that.
>
> Implement that with the respective clock gates and
On Mon, 21 Jan 2019 18:02:17 +0800
Chen-Yu Tsai wrote:
> On Mon, Jan 21, 2019 at 5:39 PM Andre Przywara
> wrote:
> >
> > On Mon, 21 Jan 2019 17:34:25 +0800
> > Chen-Yu Tsai wrote:
> >
> > > On Mon, Jan 21, 2019 at 5:32 PM Jagan Teki
> > > wrote:
> > > >
> > > > On Sat, Jan 19, 2019 at
Environment and fastboot MMC devices are configured based number
of mmc slots defined on particular board in sunxi platform.
If number of slots are not more than 1, it assigns 0 which usually mmc
device on SD slot. With DM_MMC it is detected as 0 since mmc0 node always
be an mmc device.
If
Added H5, A64 compatible for mmc and emmc.
Cc: Jaehoon Chung
Signed-off-by: Jagan Teki
---
drivers/mmc/sunxi_mmc.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c
index ec4f227130..1259e627cc 100644
--- a/drivers/mmc/sunxi_mmc.c
+++
Now CLK and RESET driver for Allwinner SoC are available,
so add the relevant operations on mmc sunxi driver.
Cc: Jaehoon Chung
Signed-off-by: Jagan Teki
---
Changes for v3:
- Grab changes for ML
drivers/mmc/sunxi_mmc.c | 52 +
1 file changed, 47
Unlike other Allwinner SoC's, A80 comes with different ahb
gate clock offset values and also has mmc common controller.
So support them via driver data.
Cc: Rask Ingemann Lambertsen
Cc: Jaehoon Chung
Signed-off-by: Jagan Teki
---
drivers/mmc/sunxi_mmc.c | 8
1 file changed, 8
From: Andre Przywara
The A80 handles resets and clock gates for the MMC devices differently,
outside of the CCU IP block. Consequently we have a separate clock
device with a separate binding for that.
Implement that with the respective clock gates and resets to allow the
A80 taking part in the
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 simplification
CONFIG_MPC8315ERDB is unused, and TARGET_MPC8315ERDB could replace it.
Hence, get rid of CONFIG_MPC8315ERDB.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
v1 -> v2:
* Removed config option from whitelist
---
include/configs/MPC8315ERDB.h | 1 -
scripts/config_whitelist.txt | 1 -
2
Am 19.01.2019 um 14:28 schrieb Sam Protsenko:
Hi Simon,
On Fri, Jan 18, 2019 at 10:46 PM Simon Goldschmidt
wrote:
Am Fr., 18. Jan. 2019, 20:20 hat Sam Protsenko
geschrieben:
In case when the environment on some location is malformed (CRC isn't
matching), there is a chance we won't be
Hello Tom,
Am 19.01.2019 um 03:54 schrieb Tom Rini:
On Fri, Jan 18, 2019 at 10:45:56AM +0100, Heiko Schocher wrote:
commit 9a9d66f5eff0 ("env: add spi_flash_read_env function")
breaks Environment functionality, as it reads only
until 2 \0 are found, but fills the buffer with 0x0
instead 0xff
On 15.01.19 12:50, Vladimir Vid wrote:
This adds initial support for micro-DPU (uDPU) board which is based on
Armada-3720 SoC.
micro-DPU is the single-port FTTdp "distribution point unit" made by Methode
Electronics
which offers complete modularity with replaceable SFP modules both for uplink
On 17.12.18 16:10, Marek Behún wrote:
This is the fourth version of patches for Turris Mox.
Changes from previous version:
- changed patch subject prefix from board: turris_mox to arm: mvebu: turris_mox
as requested by Stefan
- added Reviewed-by Stefan
- add description of the changes for
From: AKASHI Takahiro
The current GetNextVariableName() is a placeholder.
With this patch, it works well as expected.
Signed-off-by: AKASHI Takahiro
rebased on efi-next
Reviewed-by: Heinrich Schuchardt
---
v3:
rebase on efi-next
v2:
update variable_name_size in
> Le 21 janv. 2019 à 11:58, Bryan O'Donoghue a
> écrit :
>
>
>
>> On 21/01/2019 10:34, jorisoffouga wrote:
>>> Le 21/01/2019 à 10:52, Bryan O'Donoghue a écrit :
>>>
>>>
On 20/01/2019 21:18, Joris Offouga wrote:
This patch imports the Linux kernel base board imx7d-pico.dtsi and
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
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-common.h |
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.
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 | 2 +-
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_83xx.h
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
v1 ->
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
---
v2 -> v3:
No changes
v1 -> v2:
No changes
---
include/configs/MPC8308RDB.h| 46 ---
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
Migrate the system IO configuration setting to Kconfig.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
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
On Mon, Jan 21, 2019 at 6:32 PM Jagan Teki wrote:
>
> Environment and fastboot MMC devices are configured based number
> of mmc slots defined on particular board in sunxi platform.
>
> If number of slots are not more than 1, it assigns 0 which usually mmc
> device on SD slot. With DM_MMC it is
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 +-
CONFIG_MPC837XEMDS is unused, and TARGET_MPC837XEMDS could replace it.
Hence, get rid of CONFIG_MPC837XEMDS.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
v1 -> v2:
* Removed config option from whitelist
---
include/configs/MPC837XEMDS.h | 1 -
scripts/config_whitelist.txt | 1 -
2
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
---
v2 -> v3:
No changes
v1 -> v2:
No changes
---
arch/powerpc/cpu/mpc83xx/Kconfig| 26 ++
Migrate the CONFIG_LCRR_* settings to Kconfig.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
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
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
Mirate the HID configuration settings to Kconfig.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
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
Hi,
>>> Testing with A10 Gemei G9 Tablet, FEL mode is broken:
>>>
>>> a) With usb-boot via fel:
>>>
>>> I get following error/warning:
>>> Loading Environment from FAT... Card did not respond to voltage select!
>>>
>>> => mmc list
>>> mmc@1c0f000: 0
>>> ### All commands below stalls for a
Don't use the legacy method of initializing the ethernet controller on
MPC83xx when DM is active.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
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
On Mon, Jan 21, 2019 at 08:51:10AM +, Andre Przywara wrote:
> Hi,
>
>
>
> >>> Testing with A10 Gemei G9 Tablet, FEL mode is broken:
> >>>
> >>> a) With usb-boot via fel:
> >>>
> >>> I get following error/warning:
> >>> Loading Environment from FAT... Card did not respond to voltage
Hi Tom,
On 01/19/2019 06:54 AM, Tom Rini wrote:
> Hey,
>
> So I was playing with how to make our linker scripts more re-usable
> and have the kinds of link error on excessive size checks that we find
> really useful to avoid introducing run time failures, and I found
> something. On rk3288 we
Simon,
Thanks for you reply to this mail, and it's surprised that it's a
mail which is more than one years ago at Nov 2017 :)
I have implement re-use kernel dtb in my local branch in 2018, you
can see how I do it here[0] with USING_KERNEL_DTB macro if you have
interest for it.
I'm
Enable DM_MMC for all Allwinner SoCs, this will eventually
enable BLK.
Also removed DM_MMC enablement in few parts of sunxi
configurations.
Signed-off-by: Jagan Teki
---
arch/arm/Kconfig | 1 +
arch/arm/mach-sunxi/Kconfig | 1 -
On 21/01/2019 10:34, jorisoffouga wrote:
Le 21/01/2019 à 10:52, Bryan O'Donoghue a écrit :
On 20/01/2019 21:18, Joris Offouga wrote:
This patch imports the Linux kernel base board imx7d-pico.dtsi and
specific
dts for imx7d-pico-pi
I recommend including the upstream Linux SHA in the
On Mon, Jan 21, 2019 at 12:54:52AM +, André Przywara wrote:
> On 20/01/2019 19:51, Priit Laes wrote:
>
> Hi,
>
> > On Sat, Jan 19, 2019 at 01:30:46AM +, Andre Przywara wrote:
> >> This series enables the Allwinner MMC driver to drive all SoCs with its
> >> DM_MMC variant. We use the
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 +-
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
Hi Stefan,
> This patch series converts PCM052 and BK4 to use Driver Model and
> Device Tree.
>
> Some notable changes:
> - The way how MAC address is read from fuses can now be adjusted
> - DTS improvement/sync with kernel (also extract u-boot specific
> properties)
> - Using generic code
Migrate CONFIG_SYS_IMMR to Kconfig for MPC83xx.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
---
arch/powerpc/cpu/mpc83xx/Kconfig| 7 +++
configs/TQM834x_defconfig | 1 +
configs/ids8313_defconfig | 1 +
include/configs/MPC8308RDB.h
Remove the last instances of the CONFIG_MPC83xx symbol.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
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
CONFIG_SYS_APP1_BASE, CONFIG_SYS_APP2_BASE, CONFIG_SYS_APP1_SIZE, and
CONFIG_SYS_APP2_SIZE are no longer used in the keymile config files
(they were used for setting values, which were converted to Kconfig
earlier in the series).
Remove them from the configs and the whitelist.
Signed-off-by:
On Sat, Jan 19, 2019 at 7:02 AM Andre Przywara wrote:
>
> This series enables the Allwinner MMC driver to drive all SoCs with its
> DM_MMC variant. We use the gates clock and reset support from the new
> clock driver, but keep the actual mod clock in its somewhat hackish
> state. Properly
On 20/01/2019 21:18, Joris Offouga wrote:
This patch imports the Linux kernel base board imx7d-pico.dtsi and specific
dts for imx7d-pico-pi
I recommend including the upstream Linux SHA in the commit log to make
it easier to validate against and also if any changes/bugfixes go in
upstream
From: Andre Przywara
Add the MMC clock gates and reset bits for all the Allwinner SoCs.
This allows them to be used by the MMC driver.
We don't advertise the mod clock yet, as this is still handled by the
MMC driver.
Signed-off-by: Andre Przywara
[jagan: add V3S gates/resets, fix
Unlike other Allwinner SoC's, H6 comes with different
clock and reset control offset values. So support them
via driver data.
Cc: Jaehoon Chung
Signed-off-by: Jagan Teki
---
drivers/mmc/sunxi_mmc.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/mmc/sunxi_mmc.c
Compared to previous version changes[1] this version do manage
ahb clocks/resets via CLK framework.
This version created changes along with Andre patches to support
clock/resets[2]
Tested A64, SD, eMMC and respective changes available at
u-boot-sunxi/next
Changes for v3:
- Handle clock via CLK
Add emmc compatible for A83T SoC.
Cc: Jaehoon Chung
Signed-off-by: Jagan Teki
---
drivers/mmc/sunxi_mmc.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c
index 302332bf97..ec4f227130 100644
--- a/drivers/mmc/sunxi_mmc.c
+++
Hi Tom,
please pull the first Marvell patches in this merge window with the
following changes:
- Sync Armada-38x dts with Linux 4.20 from Chris
- Misc changes and enhancements to Turris Mox (v4) from Marek
- Reserve PSCI area for
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 changes
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
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
---
v2 -> v3:
No
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
---
v2 -> v3:
No changes
v1 -> v2:
* Removed config option from whitelist
---
include/configs/MPC8313ERDB_NAND.h | 1 -
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
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,
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
On Mon, Jan 21, 2019 at 5:39 PM Andre Przywara wrote:
>
> On Mon, 21 Jan 2019 17:34:25 +0800
> Chen-Yu Tsai wrote:
>
> > On Mon, Jan 21, 2019 at 5:32 PM Jagan Teki
> > wrote:
> > >
> > > On Sat, Jan 19, 2019 at 7:02 AM Andre Przywara
> > > wrote:
> > > >
> > > > The A80 handles resets and
On Mon, Jan 21, 2019 at 6:12 PM Andre Przywara wrote:
>
> On Mon, 21 Jan 2019 18:02:17 +0800
> Chen-Yu Tsai wrote:
>
> > On Mon, Jan 21, 2019 at 5:39 PM Andre Przywara
> > wrote:
> > >
> > > On Mon, 21 Jan 2019 17:34:25 +0800
> > > Chen-Yu Tsai wrote:
> > >
> > > > On Mon, Jan 21, 2019 at 5:32
Le 21/01/2019 à 10:52, Bryan O'Donoghue a écrit :
On 20/01/2019 21:18, Joris Offouga wrote:
This patch imports the Linux kernel base board imx7d-pico.dtsi and
specific
dts for imx7d-pico-pi
I recommend including the upstream Linux SHA in the commit log to make
it easier to validate
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.
Furthermore, simplify the vme8349 and caddy2 configs by keeping only
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:
No
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,
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 +-
Use the proper CONFIG_TARGET_HRCON Kconfig option to replace
the CONFIG_HRCON ad-hoc config option.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
v1 -> v2:
* Combined config creation and simplification patches
* Removed config option from whitelist
---
board/gdsys/common/Makefile | 2
CONFIG_MPC837XERDB is unused, and TARGET_MPC837XERDB could replace it.
Hence, get rid of CONFIG_MPC837XERDB.
Signed-off-by: Mario Six
---
v2 -> v3:
No changes
v1 -> v2:
* Removed config option from whitelist
---
include/configs/MPC837XERDB.h | 1 -
scripts/config_whitelist.txt | 1 -
2
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
---
v2 -> v3:
No changes
v1 -> v2:
New in
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
---
v2 -> v3:
No changes
v1 -> v2:
New in v2
---
arch/powerpc/include/asm/arch-mpc83xx/gpio.h | 8
1 file changed, 8 insertions(+)
On 10.12.18 08:07, Chris Packham wrote:
Sync the Armada-38x device tree files with Linux 4.20-rc5. The changes
not taken are new compatible strings for the uart and nand flash
controller. The nand binding is best updated if/when the mtd/nand
infrastructure is updated.
Signed-off-by: Chris
1 - 100 of 270 matches
Mail list logo