On Tue, Mar 28, 2017 at 01:45:22AM +0100, Andre Przywara wrote:
> The Pine64 (and all other 64-bit Allwinner boards) need to load an
> ARM Trusted Firmware image beside the actual U-Boot proper.
> This can now be easily achieved by using the just extended SPL FIT
> loading support, so enable it in
On Mon, Mar 27, 2017 at 07:22:31PM +0200, Jernej Skrabec wrote:
> This is needed for HDMI, which will be added later.
>
> Signed-off-by: Jernej Skrabec
> Reviewed-by: Simon Glass
Acked-by: Maxime Ripard
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
ht
On 28.03.2017 18:27, Simon Glass wrote:
At present we misuse print_cpuinfo() do so CPU init on x86. This is done
because it is the next available call after the console is enabled. But
several arches use checkcpu() instead. Despite the horrible name (which
we can fix), it seems a better choice.
On 28.03.2017 18:27, Simon Glass wrote:
We don't need a special hook for sandbox as one of the later ones will do
just as well. We can print error messages about bad options after we
print the banner. In fact, it seems better.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Ste
On 28.03.2017 18:27, Simon Glass wrote:
Move these two function calls into checkcpu(), which is called on this
arch immediately after these two.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
U-Boot mailing list
U-Boot@lis
On 28.03.2017 18:27, Simon Glass wrote:
This function is called just before checkcpu() on MPX83xx. Move it to the
code for that arch.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
U-Boot mailing list
U-Boot@lists.denx.de
On 28.03.2017 18:27, Simon Glass wrote:
Combine the conditions so this appears in the init list only once.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listi
On 28.03.2017 18:27, Simon Glass wrote:
More than half of the architectures use this function so let's make them
all use it.
For those which don't actually define it, we can rely on the weak function
in lib/time.c
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
On 28.03.2017 18:27, Simon Glass wrote:
There is no good reason to use a different name on PowerPC. Change it to
timer_init() like the others.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
U-Boot mailing list
U-Boot@lists
On 28.03.2017 18:27, Simon Glass wrote:
Now that both branches of the #if do the same thing, we can unify them.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/
On 28.03.2017 18:27, Simon Glass wrote:
We can just call this from the only place that needs it.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On 28.03.2017 18:27, Simon Glass wrote:
We can just call this from the only function that needs it.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-b
On 28.03.2017 18:27, Simon Glass wrote:
We really don't need to have a name like this in the generic init
sequence. Use the generic get_clocks() name so that we can merge these
two at some point.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
On 28.03.2017 18:27, Simon Glass wrote:
We have two chunks of code which depend on this CONFIG options. There is
likely no need to keep them apart, so join them.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
U-Boot mailin
On 28.03.2017 18:27, Simon Glass wrote:
While x86 is the only user and this could in principle be moved to
arch_cpu_init() there is some justification for this being a separate
call. It provides a way to handle init which is not CPU-specific, but
must happen before the CPU can be set up.
Rename
On 28.03.2017 18:27, Simon Glass wrote:
There is no need to have this call in the generic init sequence and no
other architecture has needed it in the time it has been there. Move it
into sandbox's private code.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
Using changes in this patch we were able to reduce approx 4k
size of u-boot-spl.bin image. Following is breif description of
changes to reduce SPL size:
1. Changes in board/freescale/ls1046ardb/Makefile to remove
compilation of eth.c and cpld.c in case of SPL build.
2. Changes in board/freescale
Using changes in this patch we were able to reduce approx 10k
size of u-boot-spl.bin image. Following is breif description of
changes to reduce SPL size:
1. Changes in board/freescale/ls1043ardb/Makefile to remove
compilation of eth.c and cpld.c in case of SPL build.
2. Changes in board/freescal
From: "Chee, Tien Fong"
Commit ce62e57fc571 ("ARM: boot0 hook: remove macro, include whole
header file") miss out cleaning macro in this header file, and this
has broken implementation of a boot header capability in socfpga
SPL. Remove the macro in this file, and recovering it back
to proper func
On Rab, 2017-03-29 at 11:28 +0800, tien.fong.c...@intel.com wrote:
> From: "Chee, Tien Fong"
>
> Commit ce62e57fc571 ("ARM: boot0 hook: remove macro, include whole
> header file") miss out cleaning macro in this header file, and this
> has broken implementation of a boot header capability in socf
From: "Chee, Tien Fong"
Commit ce62e57fc571 ("ARM: boot0 hook: remove macro, include whole
header file") miss out cleaning macro in this header file, and this
has broken implementation of a boot header capability in socfpga
SPL. Remove the macro in this file, and recovering it back
to proper func
I started looking into the Aspeed AST2400/2500 Hash and Crypto Engine
(HACE) because I'm annoyed by the slight delay during FIT hash
calculation. HACE is a single device that does hashing, DES/AES, and
RSA in either immediate mode or via a single command queue.
I looked at drivers/crypto/fsl whic
Hi Philipp,
So you got hang in SPL if the DWMMC is no in fifo mode, do you have
any clue for what's the root cause?
+ Ziyuan,
Hi Ziyuan,
Could you double check this issue? Does it also happen at rk3288 dwmmc?
Thanks,
- Kever
On 03/29/2017 01:14 AM, Philipp Tomsich wrote:
The RK3399
On Sel, 2017-03-28 at 11:38 +0200, Marek Vasut wrote:
> On 03/28/2017 11:25 AM, tien.fong.c...@intel.com wrote:
> >
> > From: "Chee, Tien Fong"
> >
> > Fixing the broken implementation caused by the patch
> > commit:ce62e57fc57177352a02b76dace0173bd13404b6, ARM: boot0 hook:
> See section 2) here
Hi,
When I try to compile U-Boot on my Arch Linux system I get the following
error:
LDFLAGS="" python ./lib/libfdt/setup.py \
"-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer-include
./include/libfdt_env.h -idirafterinclude -idirafter./arch/arm/include
-I./lib/libfdt -I./tools -DUS
I2C_EDID currently selects DM_I2C. However, it is not needed. I2C_EDID
is used for building edid.c, which doesn't even use I2C bus, and by I2C
command, which knows how to use DM and old style I2C interface, so it is
not directly affected by this removal.
Furthermore, this selection can generate wa
On 03/28/2017 09:27 AM, Simon Glass wrote:
> Combine the conditions so this appears in the init list only once.
>
> Signed-off-by: Simon Glass
> ---
>
> common/board_f.c | 5 +
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
Reviewed-by: York Sun
On 03/28/2017 09:27 AM, Simon Glass wrote:
> More than half of the architectures use this function so let's make them
> all use it.
>
> For those which don't actually define it, we can rely on the weak function
> in lib/time.c
>
> Signed-off-by: Simon Glass
> ---
>
> common/board_f.c | 4
>
On 03/28/2017 09:27 AM, Simon Glass wrote:
> There is no good reason to use a different name on PowerPC. Change it to
> timer_init() like the others.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/powerpc/cpu/mpc5xx/cpu_init.c| 2 +-
> arch/powerpc/lib/time.c | 2 +-
> bo
On 03/28/2017 09:27 AM, Simon Glass wrote:
> Now that both branches of the #if do the same thing, we can unify them.
>
> Signed-off-by: Simon Glass
> ---
>
> common/board_f.c | 8 ++--
> 1 file changed, 2 insertions(+), 6 deletions(-)
>
Reviewed-by: York Sun
___
On 03/28/2017 09:27 AM, Simon Glass wrote:
> We really don't need to have a name like this in the generic init
> sequence. Use the generic get_clocks() name so that we can merge these
> two at some point.
>
> Signed-off-by: Simon Glass
> ---
>
> arch/powerpc/cpu/mpc8xx/speed.c | 2 +-
> common/bo
This function is called just before checkcpu() on MPX83xx. Move it to the
code for that arch.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc83xx/cpu.c | 5 +
arch/powerpc/cpu/mpc83xx/cpu_init.c | 1 +
arch/powerpc/include/asm/processor.h | 2 ++
common/board_f.c
On 03/21/2017 11:45 PM, Bharat Bhushan wrote:
> This patch fixup iommu-map property on pci node to have
> a valid mapping of requester-id to stream-id.
> The requester-id to stream-id mapping is based on
> PCI-LUT table initialization.
>
> Signed-off-by: Bharat Bhushan
> ---
> v1->v2
> - Typo err
Tom,
The following changes since commit 5cf618ee60a752d058a767372ca1ecb8d9c09b16:
Merge git://git.denx.de/u-boot-arc (2017-03-24 08:19:30 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-fsl-qoriq.git
for you to fetch changes up to 78be6222b01efa12d9267876ad1d1d0da
On 03/24/2017 03:20 AM, Wenbin song wrote:
> Fix the offsets of MTD partitions on Nor flash on ls1043ardb, ls1043aqds
> and ls1046aqds boards.
> Delete the rcw, uboot env and fman partitions.
> Add user partitions for general usage.
>
> Signed-off-by: Wenbin Song
> ---
> Changes for v1:
> De
On 03/21/2017 11:39 PM, Bharat Bhushan wrote:
> Layerscape Chassis-2 have PCIe device, some platform devices and
> DPAA1 devices which will use stream-ids for iommu level isolation as
> they lies behind SMMU.
>
> This patch defines the stream-ids for Chassis-2 devices.
> stream-ids for DPAA1 are re
On 03/21/2017 11:39 PM, Bharat Bhushan wrote:
> As ls1046a is Chassis-2 type SOC and shares same streamid
> definition, this patch adds using streamids for ls1046
>
> Signed-off-by: Bharat Bhushan
> ---
Minor adjustment to commit message. Applied to fsl-qoriq master,
awaiting upstream. Thanks.
On 03/06/2017 09:48 PM, Santan Kumar wrote:
> Enable PPA on LS2080A, LS2088A boards:
> -LS2080ARDB, LS2080AQDS
> -LS2088ARDB, LS2088AQDS
>
> Signed-off-by: Santan Kumar
> Signed-off-by: Abhimanyu Saini
> Signed-off-by: Priyanka Jain
> ---
> Changes for v2:
> Changed the subject
> Made changes
On 03/17/2017 01:27 AM, Zhiqiang Hou wrote:
> From: Hou Zhiqiang
>
> Signed-off-by: Hou Zhiqiang
> ---
> V3:
> - no change
>
Applied to fsl-qoriq master, awaiting upstream. Thanks.
York
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx
On 03/17/2017 01:27 AM, Zhiqiang Hou wrote:
> From: Hou Zhiqiang
>
> Signed-off-by: Hou Zhiqiang
> ---
> V3:
> - Added checking for return value of mmc initialization.
> - Added checking the fdt header before getting the size of PPA image.
>
> arch/arm/cpu/armv8/fsl-layerscape/ppa.c | 143
> +
On 03/16/2017 12:32 AM, Yingxi Yu wrote:
> USB requires 100MHz clock. On ls1012, sysclk(125MHz) is not for USB.
> Another 100MHz clock is for USB. So For USB, check if sysclk is 100MHz
> is failed on ls1012, sysclk is not for USB. Don't check sysclk for
> USB on ls1012.
>
> Signed-off-by: Yingxi Yu
On 02/25/2017 04:38 PM, yuan linyu wrote:
> From: yuan linyu
>
> some system will not generate pbl format u-boot, but require rcw.
>
> Signed-off-by: yuan linyu
> ---
Applied to fsl-qoriq master, awaiting upstream. Thanks.
York
___
U-Boot mailing lis
On 03/02/2017 08:49 PM, Zhiqiang Hou wrote:
> From: Hou Zhiqiang
>
> There isn't LS2088A DT file, actually it reuse LS2080A DT file
> under u-boot, while under kernel there are DT files for LS2080A
> and LS2088A respectively with different PCIe node compatible
> string.
>
> Signed-off-by: Hou Zhiq
On 03/17/2017 01:27 AM, Zhiqiang Hou wrote:
> From: Hou Zhiqiang
>
> Add initialization flag to avoid initializing NAND Flash multiple
> times, otherwise it will calculate a wrong total size.
>
> Signed-off-by: Hou Zhiqiang
> ---
> V3:
> - no change
Applied to fsl-qoriq master, awaiting upstrea
On 03/21/2017 11:38 PM, Bharat Bhushan wrote:
> From: Bharat Bhushan
>
> Layerscape Chasis-2 also uses same PCIe controller
> as used in Chasis-3 and have similar PCI-Lut.
>
> We need to initialize the pcie-lut for Chasis-2 also
> as in Chasis-3.
>
> Signed-off-by: Bharat Bhushan
> ---
Minor adj
On 02/15/2017 07:03 AM, Ashish Kumar wrote:
> From: Prabhakar Kushwaha
>
> MAC number used per QSGMII is not fixed. It may wary from SoC to SoC.
>
> So move QSGMII wriop_init_dpmac() to SoC file.
>
> Signed-off-by: Prabhakar Kushwaha
> Signed-off-by: Ashish Kumar
> ---
> v2:
> Incorporate York's
On 03/21/2017 11:39 PM, Bharat Bhushan wrote:
> As ls1012a is Chassis-2 type SOC and shares same streamid
> definition, this patch adds using streamids for ls1012a
>
> Signed-off-by: Bharat Bhushan
> ---
Applied to fsl-qoriq master, awaiting upstream. Thanks.
York
__
On 03/21/2017 11:38 PM, Bharat Bhushan wrote:
> The stream ID allocation for Chasis3.0 devices,
> LS1088, LS2088 and LS2080, can be shared.
>
> This patch renames this accordingly.
>
> Signed-off-by: Bharat Bhushan
> ---
Rewrote commit message. Applied to fsl-qoriq master, awaiting upstream.
Tha
On 03/21/2017 11:38 PM, Bharat Bhushan wrote:
> LS2080a, LS1088a and LS2088a SOCs are based on Chassis-3
> and shared same stream-id partitioning. This patch
> rewords the definition to support all these SOCs.
>
> Also have changes in description about iommu-map property
> updates in PCI node.
>
>
On 02/06/2017 12:45 AM, Santan Kumar wrote:
> Initialize mcmemsize to 0x4000
>
> Signed-off-by: Santan Kumar
> Signed-off-by: Priyanka Jain
> ---
Applied to fsl-qoriq master, awaiting upstream. Thanks.
York
___
U-Boot mailing list
U-Boot@lists.d
On 03/17/2017 01:27 AM, Zhiqiang Hou wrote:
> From: Hou Zhiqiang
>
> Signed-off-by: Hou Zhiqiang
> ---
> V3:
> - no change
Applied to fsl-qoriq master, awaiting upstream. Thanks.
York
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.d
On 02/15/2017 07:04 AM, Ashish Kumar wrote:
> From: Prabhakar Kushwaha
>
> SerDes information is not necessary to be present in RCWSR29 register.
> It may vary from SoC to SoC.
>
> So Avoid RCWSR28 register hard-coding.
>
> Signed-off-by: Prabhakar Kushwaha
> Signed-off-by: Ashish Kumar
> ---
>
On 03/17/2017 01:27 AM, Zhiqiang Hou wrote:
> From: Hou Zhiqiang
>
> Add nand_size() function to move the nand size print into initr_nand().
> Remove nand size print from nand_init() to allow other function to call
> nand_init() without printing nand size.
>
> Signed-off-by: Hou Zhiqiang
> ---
>
On 03/02/2017 08:49 PM, Zhiqiang Hou wrote:
> From: Hou Zhiqiang
>
> The LS2088A series SoCs has different physical memory map address and
> CCSR registers address against LS2080A series SoCs.
>
> Signed-off-by: Hou Zhiqiang
> ---
> V3:
> - no change
>
Applied to fsl-qoriq master, awaiting upst
On 02/23/2017 02:27 AM, Ashish Kumar wrote:
> This i2c errata is only valid for LS2080A and its variants,
> namely LS2080A, LS2085A and LS2088A
>
> Signed-off-by: Ashish Kumar
> ---
> v2:
> Change Descristion to make it more specific about impacted SoC
Minor adjustment to subject and commit me
On 02/13/2017 09:04 PM, Priyanka Jain wrote:
> Erratum A009635 is valid only for LS2080A SoC and its
> personality.
> Add SoC svr check for execution
>
> Signed-off-by: Priyanka Jain
> ---
Minor change to commit message. Applied to fsl-qoriq master, awaiting
upstream. Thanks.
York
On 02/09/2017 02:08 AM, Udit Agarwal wrote:
> For validating images from uboot (Such as Kernel Image), either keys
> from SoC fuses can be used or keys from a verified table of public keys
> can be used. The latter feature is called IE Key Extension Feature.
>
> For Layerscape Chasis 3 based platfo
On 02/21/2017 12:55 AM, Suresh Gupta wrote:
> SOC’s like LS1012A has only one chip select signal
> out to connect with flash. So at one time only one
> flash is active and it is not possible to scan other
> flash at run time.
>
> Signed-off-by: Suresh Gupta
> ---
Reformatted commit message. Appli
On 02/21/2017 12:55 AM, Suresh Gupta wrote:
> LS1012A has only one chip select signal out to
> connect with flash
>
> Signed-off-by: Suresh Gupta
> ---
Minor adjustment to commit message. Applied to fsl-qoriq master,
awaiting upstream.
York
___
U-Boo
On 02/09/2017 11:55 PM, Zhiqiang Hou wrote:
> From: Hou Zhiqiang
>
> In EP mode, to enable accesses from the Root Complex, the
> CONFIG_READY bit must be set, otherwise any config attempts
> from the Root Complex will be returned with config retry
> status (CRS).
>
> Signed-off-by: Hou Zhiqiang
>
On 02/03/2017 03:26 AM, Udit Agarwal wrote:
> Moves sec_init to board_init rather than in misc_init function beacuse
> PPA will be initialised in board_init function and for PPA validation
> sec_init has to be done prior to PPA init.
>
> Signed-off-by: Sumit Garg
> Signed-off-by: Udit Agarwal
> -
On 02/05/2017 07:41 PM, Zhiqiang Hou wrote:
> From: Hou Zhiqiang
>
> Moved the ifdef into ppa.h and removed the duplicated macros.
>
> Signed-off-by: Hou Zhiqiang
> ---
Applied to fsl-qoriq master, awaiting upstream. Thanks.
York
___
U-Boot mailing
On 02/03/2017 03:26 AM, Udit Agarwal wrote:
> Add header address for PPA to be validated during ESBC phase for LS2080A
> platform based on Layescape Chasis 3.
>
> Signed-off-by: Sumit Garg
> Signed-off-by: Udit Agarwal
> ---
Applied to fsl-qoriq master, awaiting upstream.
Thanks.
York
___
On Thu, 2017-03-23 at 18:02 +0100, Joakim Tjernlund wrote:
> ft_cpu_setup() already calls fdt_fixup_ethernet(), calling it
> in image_setup_libfdt() is both redundant and breaks any modifications
> done by ft_board_setup(). Restore the old behavior by removing
> the call in image_setup_libfdt()
>
The RK3399 hangs during DMA of the Designware MMC controller, when
performing DMA-based transactions in SPL. To work around this issue,
we disable DMA-based access modes in the SPL stage.
With this fix in place, we can now drop 'fifo-mode' in the DTS for the
RK3399-Q7 (Puma).
Signed-off-by: Phil
On 03/28/2017 09:27 AM, Simon Glass wrote:
> Combine the conditions so this appears in the init list only once.
>
> Signed-off-by: Simon Glass
> ---
>
> common/board_f.c | 5 +
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/common/board_f.c b/common/board_f.c
> index 9ba316
The RK3399 hangs during DMA of the Designware MMC controller, when
performing DMA-based transctions in SPL.
To work around this issue, we disable DMA-based access modes in the
SPL stage. Note that this affects full OF_CONTROL (i.e. OF_PLATDATA
not being defined) only and aligns the behaviour with
For the initial validation of the RK3399-Q7 (Puma), the DDR3 has been
clocked at 666MHz (i.e. DDR3-1333) using the same (safe) settings as
used in Rockchip's MiniLoader.
Signed-off-by: Philipp Tomsich
---
arch/arm/dts/rk3399-sdram-ddr3-1333.dtsi | 1537 ++
1 file cha
The RK3399-Q7 is a system-on-module featuring a Rockchip RK3399 SoC
in a Qseven-compatible form-factor.
This changeset adds basic support for the following features (validated
against the Hainan baseboard):
* Gigabit Ethernet (incl. the KSZ9031 GbE PHY)
* SPI on SPI1 (on-module) and SPI5 (edge-
The RK3399-Q7 is a system-on-module featuring the Rockchip RK3399
in a Qseven-compatible form-factor.
These changes add a device-tree describing the board and its
interfaces for basic functionality (e.g. GbE, SPI, eMMC, SD-card).
This includes the following changes from the original development:
This commit adds the baseline defconfig for the RK3399-Q7 (Puma) SoM
(under the name 'puma-rk3399_defconfig') featuring the Rockchip RK3399
in a Qseven compatible module.
This subsumes the following changes:
* defconfig: rk3399: migrate
CONFIG_SPL_LIBCOMMON_SUPPORT/CONFIG_SPL_LIBGENERIC_SUPPORT
On Tue, Mar 28, 2017 at 9:34 PM, Fabio Estevam wrote:
> On Tue, Mar 28, 2017 at 1:02 PM, Jagan Teki wrote:
>
>> I still not able to boot from SD with mx6qpsabreauto_defconfig, did
>> you able to boot from SD?
>
> Could you try bisect it?
Started with v2015.10-rc1 which is added this config, but
At present we misuse print_cpuinfo() do so CPU init on x86. This is done
because it is the next available call after the console is enabled. But
several arches use checkcpu() instead. Despite the horrible name (which
we can fix), it seems a better choice.
Adjust the various x86 CPU implementations
We can just call this from the only place that needs it.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc8xx/speed.c | 63 +
common/board_f.c| 4 ---
include/common.h| 1 -
3 files changed, 33 insertions(+), 35 deletio
We really don't need to have a name like this in the generic init
sequence. Use the generic get_clocks() name so that we can merge these
two at some point.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc8xx/speed.c | 2 +-
common/board_f.c| 2 +-
include/common.h
We don't need a special hook for sandbox as one of the later ones will do
just as well. We can print error messages about bad options after we
print the banner. In fact, it seems better.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/start.c | 5 +
common/board_f.c | 3 ---
inclu
We can just call this from the only function that needs it.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc8xx/speed.c | 32
common/board_f.c| 2 --
include/common.h| 1 -
3 files changed, 16 insertions(+), 19 deletions(-)
This is not used by any board. Drop it.
Signed-off-by: Simon Glass
Clean up board_f sequence a little
This series tries to remove #ifdefs from the board_f init sequence. It
gets as far as I2C and then we need to discuss whether we can start to
remove the old I2C framework.
I think that ideally e
There is no good reason to use a different name on PowerPC. Change it to
timer_init() like the others.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc5xx/cpu_init.c| 2 +-
arch/powerpc/lib/time.c | 2 +-
board/freescale/mpc8313erdb/mpc8313erdb.c | 2 +-
board/frees
Now that both branches of the #if do the same thing, we can unify them.
Signed-off-by: Simon Glass
---
common/board_f.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index 7feffa4939..e387ca2233 100644
--- a/common/board_f.c
+++
These are not used in U-Boot. Manual relocation fixup is used by blackfin
but that is being removed.
Signed-off-by: Simon Glass
---
drivers/i2c/i2c_core.c | 44
include/i2c.h | 15 ---
2 files changed, 59 deletions(-)
diff --git
More than half of the architectures use this function so let's make them
all use it.
For those which don't actually define it, we can rely on the weak function
in lib/time.c
Signed-off-by: Simon Glass
---
common/board_f.c | 4
1 file changed, 4 deletions(-)
diff --git a/common/board_f.c
Move these two function calls into checkcpu(), which is called on this
arch immediately after these two.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc8260/cpu.c | 9 -
arch/powerpc/include/asm/processor.h | 2 ++
common/board_f.c | 4
include/common.
Combine the conditions so this appears in the init list only once.
Signed-off-by: Simon Glass
---
common/board_f.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index 9ba3163e0f..cbd9f67709 100644
--- a/common/board_f.c
+++ b/common/
We have two chunks of code which depend on this CONFIG options. There is
likely no need to keep them apart, so join them.
Signed-off-by: Simon Glass
---
common/board_f.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
ind
While x86 is the only user and this could in principle be moved to
arch_cpu_init() there is some justification for this being a separate
call. It provides a way to handle init which is not CPU-specific, but
must happen before the CPU can be set up.
Rename the function to be more generic.
Signed-o
This file is missing the usual header guard. Add it.
Signed-off-by: Simon Glass
---
include/initcall.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/initcall.h b/include/initcall.h
index 65f67dca83..fe7e90388e 100644
--- a/include/initcall.h
+++ b/include/initcall.h
@@ -4,6 +
There is no need to have this call in the generic init sequence and no
other architecture has needed it in the time it has been there. Move it
into sandbox's private code.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/start.c | 7 +++
common/board_f.c | 18 --
2 f
An early version of this is available upstream. Bring it in as a starting
point.
Signed-off-by: Simon Glass
---
lib/libfdt/pylibfdt/libfdt.swig | 433
lib/libfdt/pylibfdt/setup.py| 33 +++
2 files changed, 466 insertions(+)
create mode 100644 lib/l
This a few minor changes down from upstream since the last sync.
Signed-off-by: Simon Glass
---
lib/libfdt/fdt_overlay.c | 23 ---
lib/libfdt/fdt_rw.c | 3 ++-
lib/libfdt/fdt_strerror.c | 3 +++
3 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/lib/li
From: Patrice Chotard
This is the generic phy driver for the picoPHY ports
used by USB2/1.1 controllers. It is found on STiH407 SoC
family from STMicroelectronics.
Signed-off-by: Patrice Chotard
---
v3: _ convert driver to USB PHY uclass
v2: _ replace bitfield_replace() by clrsetbits_
From: Patrice Chotard
Add usb_gadget_handle_interrupts(), board_usb_init(),
board_usb_cleanup() and g_dnl_board_usb_cable_connected()
callbacks needed for FASTBOOT support
Signed-off-by: Patrice Chotard
---
board/st/stih410-b2260/board.c | 44 ++
1 file
From: Patrice Chotard
Add support for on-chip ohci controller available
on STMicrolectronics SoCs.
Ohci support will be then available on both type A
USB 2.0 connectors.
Signed-off-by: Patrice Chotard
---
v3: _ update to use new USB PHY uclass
v2: _ put board specific defines in a sep
From: Patrice Chotard
Add support for on-chip DWC3 controller available
on STMicrolectronics STiH407 family SoCs.
On B2260 board, the type AB USB connector is managed
by a DWC3 IP. As USB3 signals are not wired, only USB2
is supported.
Signed-off-by: Patrice Chotard
---
v3: _ update to use
From: Patrice Chotard
This patch adds the ST glue logic to manage the DWC3 HC
on STiH407 SoC family. It configures the internal glue
logic and syscfg registers.
Part of this code been extracted from kernel.org driver
(drivers/usb/dwc3/dwc3-st.c)
Signed-off-by: Patrice Chotard
---
v3: _ ren
On Tue, Mar 28, 2017 at 1:02 PM, Jagan Teki wrote:
> I still not able to boot from SD with mx6qpsabreauto_defconfig, did
> you able to boot from SD?
Could you try bisect it?
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-
From: Patrice Chotard
Signed-off-by: Patrice Chotard
---
v3: _ squas patches 8 and 10
include/configs/stih410-b2260.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h
index 6f4070f..3df0e04 100644
--- a/include/confi
From: Patrice Chotard
Signed-off-by: Patrice Chotard
Reviewed-by: Jaehoon Chung
---
drivers/mmc/sti_sdhci.c | 31 ++-
1 file changed, 22 insertions(+), 9 deletions(-)
diff --git a/drivers/mmc/sti_sdhci.c b/drivers/mmc/sti_sdhci.c
index d6c4d67..8b1b2c0 100644
--- a
From: Patrice Chotard
Signed-off-by: Patrice Chotard
---
include/configs/stih410-b2260.h | 12
1 file changed, 12 insertions(+)
diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h
index 3df0e04..6c84e9b 100644
--- a/include/configs/stih410-b2260.h
+++ b/
From: Patrice Chotard
Add support for on-chip ehci controller available
on STMicrolectronics SoCs.
ehci support will be then available on both type A
USB 2.0 connectors.
Signed-off-by: Patrice Chotard
---
v3: _ update to use new USB PHY uclass
v2: _ update error messages
_ add
1 - 100 of 144 matches
Mail list logo