Hi,
On Tue, Dec 12, 2017 at 12:28:16PM +0530, Jagan Teki wrote:
> AXP803 another PMIC produced by x-powers and paired with
> A64 via RSB bus.
>
> unlike other axp chip's support in SPL this is only added
> for U-Boot proper since SPL on A64 has no space to add anything.
How do you setup the CPU
Hi jagan,
> -Original Message-
> From: Jagan Teki [mailto:jagannadh.t...@gmail.com]
> Sent: Thursday, December 07, 2017 10:56 AM
> To: Siva Durga Prasad Paladugu
> Cc: u-boot@lists.denx.de; Liam Beguin
> Subject: Re: [UBOOT PATCH 1/2] spi: zynqmp_qspi: Add support for
> ZynqMP qspi drive
On 12/11/2017 07:22 PM, Emmanuel Vadot wrote:
When adding a partition, set the logical_partition member in the media
structure as mandated by the UEFI spec.
Signed-off-by: Emmanuel Vadot
---
lib/efi_loader/efi_disk.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/efi_loader/efi_di
On Tue, Dec 12, 2017 at 11:44 AM, Prabhakar Kushwaha
wrote:
> Hi Marek,
>
>> -Original Message-
>> From: Marek Vasut [mailto:marek.va...@gmail.com]
>> Sent: Monday, December 11, 2017 3:04 PM
>> To: Prabhakar Kushwaha ; u-
>> b...@lists.denx.de
>> Cc: jagannadh.t...@gmail.com; Poonam Aggrwa
From: Tien Fong Chee
This is file system generic loader which can be used to load
the file image from the storage into target such as memory.
The consumer driver would then use this loader to program whatever,
ie. the FPGA device.
Signed-off-by: Tien Fong Chee
---
common/Makefile | 1 +
From: Tien Fong Chee
This patch removes the static declation on spl_mmc_find_device_function
so this function is accessible by the caller from other file. This patch
is required for later patch.
Signed-off-by: Tien Fong Chee
---
common/spl/spl_mmc.c | 2 +-
include/spl.h| 2 ++
2 files
From: Tien Fong Chee
This patchset contains generic firmware loader which is very close to Linux
firmware loader but for U-Boot framework. Generic firmware loader can be used
load whatever into target location, and then consumer driver would use it to
program whatever, ie. the FPGA. This version
On Tue, Dec 12, 2017 at 2:58 PM, Jagan Teki wrote:
> MUSB sunxi driver base not always USB0_BASE, on a64
> USB0_BASE is USB-OTG-EHCI/OHCI base so add SUNXI_MUSB_BASE
> and adjust the proper msub base for all sunxi families.
>
> Signed-off-by: Jagan Teki
> ---
> arch/arm/include/asm/arch-sunxi/cp
Now that the musb sunxi glue driver is completely device model / device
tree driven, we should use the base address from the device tree,
instead of hard-coding it in the source code.
Fixes: 3a61b080acee ("musb: sunxi: switch to the device model")
Signed-off-by: Chen-Yu Tsai
---
drivers/usb/musb
USB-OTG require MUSB driver along with PHY#0 id(PH9) and/or
vbus pin(PH6) through AXP_GPIO driver.
This patch add support for it.
Signed-off-by: Jagan Teki
---
configs/a64-olinuxino_defconfig | 4
1 file changed, 4 insertions(+)
diff --git a/configs/a64-olinuxino_defconfig b/configs/a64-o
Sync USB-OTG and USB-OTG-HCI nodes from Linux.
Signed-off-by: Jagan Teki
---
arch/arm/dts/sun50i-a64-bananapi-m64.dts | 27 +++
1 file changed, 27 insertions(+)
diff --git a/arch/arm/dts/sun50i-a64-bananapi-m64.dts
b/arch/arm/dts/sun50i-a64-bananapi-m64.dts
index 02db11
A64 doesn't have USB2 and USB3 so defined them only
for H3_H5
Signed-off-by: Jagan Teki
---
arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
b/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
index 2419062..
From: Philipp Tomsich
sunxi_usb_phy_passby will deal PHY's other than 0 and it not
require to use it for MUSB so use directly for HCI.
Also update the function proto type for with index and bool enable
for better usability.
Signed-off-by: Philipp Tomsich
[jagan: reowrked on entire patch]
Signe
a64-olinuxino has 8GiB eMMC, enable it.
Signed-off-by: Jagan Teki
---
configs/a64-olinuxino_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/a64-olinuxino_defconfig b/configs/a64-olinuxino_defconfig
index c1408bd..6f26e9e 100644
--- a/configs/a64-olinuxino_defconfig
+++ b/co
MUSB sunxi driver base not always USB0_BASE, on a64
USB0_BASE is USB-OTG-EHCI/OHCI base so add SUNXI_MUSB_BASE
and adjust the proper msub base for all sunxi families.
Signed-off-by: Jagan Teki
---
arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 4
drivers/usb/musb-new/sunxi.c|
From: Philipp Tomsich
Allwinner a64 needs to clear the SIDDP bit from PHYCTL
register once the phy_init done.
Signed-off-by: Philipp Tomsich
[jagan: reworked to fix multi-line comments]
Signed-off-by: Jagan Teki
---
arch/arm/include/asm/arch-sunxi/usb_phy.h | 1 +
arch/arm/mach-sunxi/usb_phy
This patch enable ums through CMD_USB_MASS_STORAGE.
Signed-off-by: Jagan Teki
---
configs/a64-olinuxino_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/a64-olinuxino_defconfig b/configs/a64-olinuxino_defconfig
index 4c3fe75..c1408bd 100644
--- a/configs/a64-olinuxino_defcon
Sync USB-OTG and USB-OTG-HCI nodes from Linux.
Signed-off-by: Jagan Teki
---
arch/arm/dts/sun50i-a64-olinuxino.dts | 19 +++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/dts/sun50i-a64-olinuxino.dts
b/arch/arm/dts/sun50i-a64-olinuxino.dts
index 7bd4730..bd56355 100644
a64 has shared PHY#0(for OTG and USB-OTG-HCI) which start at
0x01C19000 which different than other allwinner SOC, so
update the same for sunxi_usb_phy[0] base.
Signed-off-by: Jagan Teki
---
arch/arm/mach-sunxi/usb_phy.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-sunxi/
USB-OTG require MUSB driver along with PHY#0 id(PH9) and/or
vbus pin through AXP_GPIO driver.
This patch add support for it.
Signed-off-by: Jagan Teki
---
configs/bananapi_m64_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/bananapi_m64_defconfig b/configs/bananapi_m64_
This patch enable ums through CMD_USB_MASS_STORAGE.
Signed-off-by: Jagan Teki
---
configs/bananapi_m64_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/bananapi_m64_defconfig b/configs/bananapi_m64_defconfig
index 55feafe..d4aade5 100644
--- a/configs/bananapi_m64_defconfig
From: Philipp Tomsich
clock gating and module reset bits on a64 are different than H3_H5
and other allwinner family SOCs, add them on clock_sun6i.h
Signed-off-by: Philipp Tomsich
[jagan: reowrked on entire patch]
Signed-off-by: Jagan Teki
---
arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 16
From: Philipp Tomsich
Allwinner a64 has a shared PHY for MUSB and USB-OTG-HCI,
so add function to select the PHY route.
Signed-off-by: Philipp Tomsich
[jagan: reworked for remove func support]
Signed-off-by: Jagan Teki
---
drivers/usb/musb-new/sunxi.c | 19 +++
1 file changed,
AXP803 another PMIC produced by x-powers and paired with
A64 via RSB bus.
unlike other axp chip's support in SPL this is only added
for U-Boot proper since SPL on A64 has no space to add anything.
Signed-off-by: Jagan Teki
---
arch/arm/mach-sunxi/Makefile | 9 ++
arch/arm/mach-sunxi/pmic_bu
From: Philipp Tomsich
The sun50i platform (e.g. the A64/sun50iw1p1) integrates 2 USB PHYs
which are connected as follows:
PHY#0 is shared between the OTG controller (MUSB) [at 01C19000]
and the USB-OTG-HCI [at 01C1A000]
PHY#1 is dedicated to USB-HCI0 [at 01C1B000] and can be bypassed
This series deals axp803, musb and related improvements on a64
- axp803 PMIC support used by a64
- a64 musb improvements (rework by Philipp [1])
- musb support for bananapi-m64, a64-olinuxino
[1] https://patchwork.ozlabs.org/patch/729246/
Jagan Teki (11):
power: sunxi: add AXP803 PMIC support
Hi Marek,
> -Original Message-
> From: Marek Vasut [mailto:marek.va...@gmail.com]
> Sent: Monday, December 11, 2017 3:04 PM
> To: Prabhakar Kushwaha ; u-
> b...@lists.denx.de
> Cc: jagannadh.t...@gmail.com; Poonam Aggrwal
> ; Suresh Gupta ;
> cyrille.pitc...@atmel.com
> Subject: Re: [RFC 0
Hi Simon,
2017-12-12 13:38 GMT+09:00 Simon Glass :
> Hi Andre,
>
> On 3 December 2017 at 19:05, Andre Przywara wrote:
>> The DT spec[1] demands a unit-address in a node name (name@address) to
>> match the "reg" property inside that node:
>> uart0: serial@1c28000 {
>> reg
On Isn, 2017-12-11 at 13:16 +0100, Lothar Waßmann wrote:
> Hi,
>
> On Mon, 11 Dec 2017 18:53:46 +0800 tien.fong.c...@intel.com wrote:
> >
> > From: Tien Fong Chee
> >
> [...}
> >
> > +/*
> > + * Prepare firmware struct;
> > + * return -ve if fail.
> > + */
> > +static int _request_firmware_pre
On Isn, 2017-12-11 at 12:03 +0100, Marek Vasut wrote:
> On 12/11/2017 11:53 AM, tien.fong.c...@intel.com wrote:
> >
> > From: Tien Fong Chee
> So the tags would imply this has a lot to do with SoCFPGA, but this
> is
> not touching any file in the SoCFPGA. The tags are thus completely
> bogus.
>
On 3 December 2017 at 20:37, Masahiro Yamada
wrote:
> No more users of assert() except host tools. Remove.
>
> Signed-off-by: Masahiro Yamada
> ---
>
> Changes in v2: None
>
> include/common.h | 15 ---
> lib/tiny-printf.c | 9 -
> lib/vsprintf.c| 9 -
> 3 fil
On 10 December 2017 at 10:55, Alexey Brodkin
wrote:
> This driver really is DM GPIO one and so we need to have a correct
> dependency, because DM alone doesn't provide required for CMD_GPIO
> call and we're seeing build failures like this:
> -->8-
> cmd/buil
On 3 December 2017 at 20:37, Masahiro Yamada
wrote:
> BUG() and BUG_ON() are generally used to test a condition that should
> never happen. If it does, it is a bug.
>
> Linux always enables them, but doing so in U-Boot causes image size
> problems on some platforms. Introduce CONFIG_ENABLE_BUG_C
On 3 December 2017 at 20:37, Masahiro Yamada
wrote:
> Calling panic() for these boards causes build error:
> undefined reference to `do_reset'
>
> They must compile do_reset(), or define CONFIG_PANIC_HANG.
>
> Signed-off-by: Masahiro Yamada
> ---
>
> Changes in v2: None
>
> configs/cl-som-imx7
Hi Andre,
On 3 December 2017 at 19:05, Andre Przywara wrote:
> The DT spec[1] demands a unit-address in a node name (name@address) to
> match the "reg" property inside that node:
> uart0: serial@1c28000 {
> reg = <0x01c28000 0x400>;
>
> If there is no
On Tue, Dec 12, 2017 at 12:45:29AM +0900, Masahiro Yamada wrote:
> Hi Tom,
>
> Please pull some more fixes and trivial changes.
> Thanks!
>
>
>
> The following changes since commit 335f7b1290ce24a729a9689a1db834c743226ca8:
>
> Merge git://git.denx.de/u-boot-mpc85xx (2017-12-08 12:02:01 -050
On Mon, Dec 11, 2017 at 08:43:12AM +, Alexey Brodkin wrote:
> Hi Tom,
>
> Seems like I'm a little bit late as RC1 was already cut but anyways
> I think most if not all the mentioned below changes could be safely pulled.
>
> That's because 5 of 6 patches are really just very trivial fixes
> (
On Fri, Dec 08, 2017 at 04:16:41PM -0800, Sergey Kubushyn wrote:
> On Fri, 8 Dec 2017, Simon Glass wrote:
>
> >Hi Stephen,
> >
> >On 8 December 2017 at 16:28, Stephen Warren wrote:
> >>Simon,
> >>
> >>Is it expected that the latest u-boot-dm.git master branch now requires
> >>swig? All the non-sa
From 0d0ea4a15605080f0418d601e6539d6555266475 Mon Sep 17 00:00:00 2001
From: Stefan Berzl
Date: Mon, 11 Dec 2017 23:41:04 +0100
Subject: [PATCH] stm32f4: Support over-drive mode in standard code path
The datasheet for the stm32f429-discovery says that the clock rate of
180 Mhz is only attainable
- Support DPAA1 QBMan device tree fixups in a shared location for both
arm and ppc architectures
- cleanup a define from header files and add as Kconfig with auto
selection based on SOC
Changes in v3:
- Add freescale old copyright in new file since it is a modified copy
- Add ifdef QBMAN guard
This patch adds changes necessary to move functionality present in
PowerPC folders with ARM architectures that have DPAA1 QBMan hardware
- Create new board/freescale/common/fsl_portals.c to house shared
device tree fixups for DPAA1 devices with ARM and PowerPC cores
- Add new header file to top
The CONFIG_SYS_DPAA_QBMAN define is used by DPAA1 freescale SOCs to
add device tree fixups that allow deep sleep in Linux. The define was
placed in header files included by a number of boards, but was not
explicitly documented in any of the Kconfigs. A description was added
to the drivers/networkin
When adding a partition, set the logical_partition member in the media
structure as mandated by the UEFI spec.
Signed-off-by: Emmanuel Vadot
---
lib/efi_loader/efi_disk.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c
index 4e457a841b.
On Mon, Dec 11, 2017 at 10:09 AM, wrote:
> From: Patrick Bruenn
>
> Since commit 999a78d5cf00 ("scripts/dtc: Update to upstream version
> v1.4.5-3-gb1a60033c110")
> dtc warns about:
> arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing
> interrupt-parent for /soc/aips@500
Hi Vagrant,
On Wed, Dec 6, 2017 at 10:31 PM, Vagrant Cascadian wrote:
> In commit 6e6cf015e7cdd7ca83a933320a81201972bd5e5e ("Merge
> git://www.denx.de/git/u-boot-imx") the line defining spl_sd
> configuration for wandboard was removed, which resulted in no SPL
> target being built.
>
> Add it bac
On 2017-12-09, Heinrich Schuchardt wrote:
> The last merge from the u-boot-imx tree deleted a
> necessary line from wandboard_defconfig by mistake.
>
> This caused an error when running
>
> make wandboard_defconfig
> make SPL
>
> Fixes: 6e6cf015e7cd Merge git://www.denx.de/git/u-boot-im
As the U-Boot is compiled with -fshort-wchar we can define
the firmware vendor constant as wide string.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_boottime.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_bo
On 12/11/2017 12:45 AM, Alexander Graf wrote:
> Commit bbf75dd9345d0b ("efi_loader: output load options in helloworld")
> introduced a const variable in efi_main() called loaded_image_guid which
> got populated from a constant struct.
>
> While you would usually expect a compiler to realize that
On 11/30/2017 03:14 AM, Rajesh Bhagat wrote:
> --- a/include/configs/ls1012ardb.h
> +++ b/include/configs/ls1012ardb.h
> @@ -60,6 +60,49 @@
> #define CONFIG_SYS_MEMTEST_START 0x8000
> #define CONFIG_SYS_MEMTEST_END 0x9fff
>
> +#undef CONFIG_EXTRA_ENV_SETTINGS
> +#de
From: Patrick Bruenn
Since commit 999a78d5cf00 ("scripts/dtc: Update to upstream version
v1.4.5-3-gb1a60033c110")
dtc warns about:
arch/arm/dts/imx53-cx9020.dtb: Warning (interrupts_property): Missing
interrupt-parent for /soc/aips@5000/serial@53fc
arch/arm/dts/imx53-cx9020.dtb: Warning
On 12/11/2017 09:55 AM, Stephen Warren wrote:
Simon, the latest commits in u-boot-dm/git master branch (2b64d049a061
"power: pmic/regulator: Add basic support for TPS65910") crash on at
least Beaver and Jetson TK1. On TK1, I added debug spew to
lib/initcall.c, and the last function called befor
These settings are not not user visible via a menuconfig prompt. This is
necessary to have the possibility to select new default values if
CONFIG_IS_IN_* is changed (interactively or with oldconfig). Otherwise it
will always be set to a previous value if used with a prompt.
As an example if we do a
Simon, the latest commits in u-boot-dm/git master branch (2b64d049a061
"power: pmic/regulator: Add basic support for TPS65910") crash on at
least Beaver and Jetson TK1. On TK1, I added debug spew to
lib/initcall.c, and the last function called before the crash is
initr_serial():
U-Boot SPL 2
On Sat, Dec 9, 2017 at 4:59 PM, Florian Fainelli wrote:
> Make sure that we pad small packets to a minimum length of 60 bytes
> (without FCS). This is necessary to interface with Ethernet switches
> that will reject RUNT frames unless padded correctly.
>
> Signed-off-by: Florian Fainelli
Acked-b
On 12/11/2017 05:37 PM, Eugeniy Paltsev wrote:
> On Mon, 2017-12-11 at 17:21 +0100, Marek Vasut wrote:
>> On 12/11/2017 05:18 PM, Eugeniy Paltsev wrote:
>>> Add option to set spi controller clock frequency via device tree
>>> using standard clock bindings.
>>>
>>> Define dw_spi_get_clk function as
On Mon, 2017-12-11 at 17:21 +0100, Marek Vasut wrote:
> On 12/11/2017 05:18 PM, Eugeniy Paltsev wrote:
> > Add option to set spi controller clock frequency via device tree
> > using standard clock bindings.
> >
> > Define dw_spi_get_clk function as 'weak' as some targets
> > (like SOCFPGA_GEN5 and
Am 08.12.2017 um 14:52 schrieb Anatolij Gustschin:
Hi,
On Wed, 6 Dec 2017 17:02:07 +
Siegmund, Jan jan.siegmu...@hm.edu wrote:
Hi all,
does anybody have an idea for the following problem.
* FPGA is programmed using an overlay
* FPGA writes to SDRAM via the FPGA2SDRAM-bridge
* Linux hangs
On 12/11/2017 05:18 PM, Eugeniy Paltsev wrote:
> Add option to set spi controller clock frequency via device tree
> using standard clock bindings.
>
> Define dw_spi_get_clk function as 'weak' as some targets
> (like SOCFPGA_GEN5 and SOCFPGA_ARRIA10) fon't use standard clock API
> and implement dw_
Add option to set spi controller clock frequency via device tree
using standard clock bindings.
Define dw_spi_get_clk function as 'weak' as some targets
(like SOCFPGA_GEN5 and SOCFPGA_ARRIA10) fon't use standard clock API
and implement dw_spi_get_clk their own way in their clock manager.
Get rid
Implement dw_spi_get_clk function to override its weak
implementation in designware_spi.c driver.
We need this change to get rid of cm_get_spi_controller_clk_hz
function and clock_manager.h include in designware_spi.c driver.
Signed-off-by: Eugeniy Paltsev
---
arch/arm/mach-socfpga/clock_manage
As discussed with Marek during the LINUX-PITER here is v4 patch:
Add option to set spi controller clock frequency via device tree
using standard clock bindings.
Define dw_spi_get_clk function as 'weak' as some targets
(like SOCFPGA_GEN5 and SOCFPGA_ARRIA10) fon't use standard clock API
and implem
From: Eric Nelson
This is a virtual "board" that uses configuration files and
Kconfig to define the memory layout used by a real board during
the board bring-up process.
It generates an SPL image that can be loaded using imx_usb or
SB_LOADER.exe.
When run, it will generate a set of calibration
Hi Tom,
Please pull some more fixes and trivial changes.
Thanks!
The following changes since commit 335f7b1290ce24a729a9689a1db834c743226ca8:
Merge git://git.denx.de/u-boot-mpc85xx (2017-12-08 12:02:01 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-uniphier.git m
On 12/11/2017 04:23 PM, Fabio Estevam wrote:
> Hi Marek,
Hi!
> On Mon, Dec 11, 2017 at 1:19 PM, Marek Vasut wrote:
>> The DDR DRAM calibration doesn't work on T-topology sometimes, so disable it.
>>
>> Signed-off-by: Marek Vasut
>> Cc: Stefano Babic
>> ---
>> board/dhelectronics/dh_imx6/dh_im
Hi Marek,
On Mon, Dec 11, 2017 at 1:19 PM, Marek Vasut wrote:
> The DDR DRAM calibration doesn't work on T-topology sometimes, so disable it.
>
> Signed-off-by: Marek Vasut
> Cc: Stefano Babic
> ---
> board/dhelectronics/dh_imx6/dh_imx6_spl.c | 4
> 1 file changed, 4 deletions(-)
>
> diff
The DDR DRAM calibration doesn't work on T-topology sometimes, so disable it.
Signed-off-by: Marek Vasut
Cc: Stefano Babic
---
board/dhelectronics/dh_imx6/dh_imx6_spl.c | 4
1 file changed, 4 deletions(-)
diff --git a/board/dhelectronics/dh_imx6/dh_imx6_spl.c
b/board/dhelectronics/dh_imx
On 3 December 2017 at 02:17, Beniamino Galvani wrote:
> Use the clk framework to initialize clocks from drivers that need them
> instead of having hardcoded frequencies and initializations from board
> code.
>
> Signed-off-by: Beniamino Galvani
> ---
> arch/arm/include/asm/arch-meson/gxbb.h | 10
Hi Benjamin,
On 3 December 2017 at 02:17, Beniamino Galvani wrote:
> Introduce a basic clock driver for Amlogic Meson SoCs which supports
> enabling/disabling clock gates and getting their frequency.
>
> Signed-off-by: Beniamino Galvani
> ---
> arch/arm/mach-meson/Kconfig | 2 +
> drivers/clk
Hi Benjamin,
On 3 December 2017 at 02:17, Beniamino Galvani wrote:
> Add add a function to measure the current clock rate.
>
> Signed-off-by: Beniamino Galvani
> ---
> arch/arm/include/asm/arch-meson/clock.h | 34 +
> arch/arm/mach-meson/Makefile| 2 +-
> ar
Hi,
On Mon, 11 Dec 2017 18:53:46 +0800 tien.fong.c...@intel.com wrote:
> From: Tien Fong Chee
>
[...}
> +/*
> + * Prepare firmware struct;
> + * return -ve if fail.
> + */
> +static int _request_firmware_prepare(struct firmware **firmware_p,
> + const char *name,
On 12/11/2017 09:45 AM, Alexander Graf wrote:
Commit bbf75dd9345d0b ("efi_loader: output load options in helloworld")
introduced a const variable in efi_main() called loaded_image_guid which
got populated from a constant struct.
While you would usually expect a compiler to realize that this vari
For each disk we need partition device path with partion number 0.
The device node texts should match the UEFI spec.
v3:
Add support for IDE and SCSI disks.
Avoid an unaligned memory access.
v2:
Do not generate optional device path with partion number
0 for the whol
Add a description for dp_part_fill().
Reword a comment in the function.
Signed-off-by: Heinrich Schuchardt
---
v3
new patch
---
lib/efi_loader/efi_device_path.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/lib/efi_loader/efi_device_path.c b/lib/efi_loader/e
Correctly create the device path for IDE and SCSI disks.
Support for SATA remains to be done in a future patch.
Signed-off-by: Heinrich Schuchardt
---
v3
new patch
---
include/efi_api.h| 15
lib/efi_loader/efi_device_path.c | 64 +
The SD cards and eMMC devices have different device nodes.
The current coding interpretes all MMC devices as eMMC.
Signed-off-by: Heinrich Schuchardt
---
v3
no change
v2
no change
---
lib/efi_loader/efi_device_path.c | 24 +---
1 file changed, 21 insertions(+)
When converting device nodes and paths to text we should
stick to the UEFI spec.
Signed-off-by: Heinrich Schuchardt
---
v3
Copy from packed structure to aligned memory to avoid unaligned
memory access.
v2
no change
---
lib/efi_loader/efi_device_path_to_text.c | 43 +++
When creating the device path of a block device it has to
comprise the block device itself and should not end at
its parent.
Signed-off-by: Heinrich Schuchardt
---
v3
new patch
---
lib/efi_loader/efi_device_path.c | 18 --
1 file changed, 16 insertions(+), 2 deletions(-)
According to the UEFI spec the numbering of partitions has to
start with 1.
Partion number 0 is reserved for the optional device path for
the complete block device.
Signed-off-by: Heinrich Schuchardt
---
v3
no change
v2
Do not generate optional device path with partion number 0.
On 12/11/2017 11:53 AM, tien.fong.c...@intel.com wrote:
> From: Tien Fong Chee
So the tags would imply this has a lot to do with SoCFPGA, but this is
not touching any file in the SoCFPGA. The tags are thus completely bogus.
> This patch removes the static declation on spl_mmc_find_device_functio
From: Tien Fong Chee
This is file system generic loader which can be used to load
the file image from the storage into target such as memory.
The consumer driver would then use this loader to program whatever,
ie. the FPGA device.
Signed-off-by: Tien Fong Chee
---
common/Makefile | 1 +
From: Tien Fong Chee
This patchset contains generic firmware loader which is very close to Linux
firmware loader but for U-Boot framework. Generic firmware loader can be used
load whatever into target location, and then consumer driver would use it to
program whatever, ie. the FPGA.
This series
From: Tien Fong Chee
This patch removes the static declation on spl_mmc_find_device_function
so this function is accessible by the caller from other file. This patch
is required for later patch.
Signed-off-by: Tien Fong Chee
---
common/spl/spl_mmc.c | 2 +-
include/spl.h| 2 ++
2 files
On Isn, 2017-12-11 at 11:15 +0100, Marek Vasut wrote:
> On 12/11/2017 11:08 AM, Chee, Tien Fong wrote:
> >
> > On Isn, 2017-12-11 at 18:06 +0800, tien.fong.c...@intel.com wrote:
> > >
> > > From: Tien Fong Chee
> > >
> > > This is file system generic loader which can be used to load
> > > the f
On 12/11/2017 11:08 AM, Chee, Tien Fong wrote:
> On Isn, 2017-12-11 at 18:06 +0800, tien.fong.c...@intel.com wrote:
>> From: Tien Fong Chee
>>
>> This is file system generic loader which can be used to load
>> the file image from the storage into target such as memory.
>> The consumer driver would
From: Tien Fong Chee
Add DDR driver support for Arria 10.
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/include/mach/sdram.h | 2 +
arch/arm/mach-socfpga/include/mach/sdram_arria10.h | 2 +
drivers/ddr/altera/Makefile| 1 +
drivers/ddr/altera/sdr
From: Tien Fong Chee
SoC FPGA info is required in both SPL and U-Boot.
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/board.c| 4
arch/arm/mach-socfpga/misc_arria10.c | 5 -
arch/arm/mach-socfpga/spl.c | 6 ++
3 files changed, 10 insertions(+), 5 deletion
From: Tien Fong Chee
Enhance preloader header with both additional program length and program
entry offset attributes, which offset is relative to the start of program
header.
Signed-off-by: Tien Fong Chee
Reviewed-by: Dinh Nguyen
---
arch/arm/mach-socfpga/include/mach/boot0.h | 7 +++
1
From: Tien Fong Chee
Current sdram driver is only applied to gen5 device, hence it is better
to rename sdram driver to more specific name which is related to gen5
device.
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/include/mach/sdram.h | 432 +
.../inclu
From: Tien Fong Chee
Adding some details about size in bytes to each section.
Signed-off-by: Tien Fong Chee
Reviewed-by: Dinh Nguyen
---
arch/arm/mach-socfpga/include/mach/boot0.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-socfpga/include/mach/boot0.
From: Tien Fong Chee
This patch removes the static declation on spl_mmc_find_device_function
so this function is accessible by the caller from other file. This patch
is required for later patch.
Signed-off-by: Tien Fong Chee
---
common/spl/spl_mmc.c | 2 +-
include/spl.h| 2 ++
2 files
From: Tien Fong Chee
Add code necessary into the FPGA driver framework in U-Boot
so it can be used via the 'fpga' command for programing Arria 10
SoCFPGA.
Signed-off-by: Tien Fong Chee
---
cmd/fpga.c| 2 +-
drivers/fpga/altera.c | 40
drive
From: Tien Fong Chee
Enable SPL successfully boot to U-boot.
Signed-off-by: Tien Fong Chee
---
configs/socfpga_arria10_defconfig | 41 ++-
1 file changed, 36 insertions(+), 5 deletions(-)
diff --git a/configs/socfpga_arria10_defconfig
b/configs/socfpga_arr
On Isn, 2017-12-11 at 18:06 +0800, tien.fong.c...@intel.com wrote:
> From: Tien Fong Chee
>
> This is file system generic loader which can be used to load
> the file image from the storage into target such as memory.
> The consumer driver would then use this loader to program whatever,
> ie. the
From: Tien Fong Chee
SPL configures DDR by programming peripheral raw binary file
and calibrating DDR.
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/spl.c | 43 +++
configs/socfpga_arria10_defconfig | 17 +---
2 files changed, 57
From: Tien Fong Chee
This patch enables DDR Kconfig support for Arria 10.
Signed-off-by: Tien Fong Chee
Reviewed-by: Dinh Nguyen
---
arch/arm/mach-socfpga/Kconfig | 1 +
drivers/ddr/altera/Kconfig| 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-socfpga/K
From: Tien Fong Chee
Add FPGA drivers to support FPGA loadfs to program FPGA.
The drivers are designed based on generic firmware loader framework,
specific firmware loader handling is defined in fpga_manager_arria10.c.
These drivers can handle FPGA program operation from
loading RBF image in flas
From: Tien Fong Chee
Add function for both multiple DRAM bank and single DRAM bank size
initialization. This common functionality could be used by every single
SOCFPGA board.
Signed-off-by: Tien Fong Chee
Tested-by: Ley Foon Tan
---
arch/arm/mach-socfpga/board.c| 7 +++
include/config
From: Tien Fong Chee
Clock frequency info is required in U-Boot because info would be erased
when transition from SPL to U-Boot.
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/board.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/m
From: Tien Fong Chee
Enable memory allocation in SPL for preparation to enable FAT
in SPL. Memory allocation is needed by FAT to work properly.
Signed-off-by: Tien Fong Chee
Reviewed-by: Dinh Nguyen
---
include/configs/socfpga_common.h | 22 +-
1 file changed, 21 insertion
From: Tien Fong Chee
This is file system generic loader which can be used to load
the file image from the storage into target such as memory.
The consumer driver would then use this loader to program whatever,
ie. the FPGA device.
Signed-off-by: Tien Fong Chee
---
common/Makefile | 1 +
1 - 100 of 115 matches
Mail list logo