Add driver model support while retaining the existing legacy code.
This allows the driver to support boards that have converted to
driver model as well as those that have not.
Signed-off-by: Wenyou Yang
Reviewed-by: Simon Glass
Acked-by: Stephen Warren
---
Changes in v10:
- Add Acked-by tag.
Hi Jagan,
On Sat, Sep 17, 2016 at 02:18:33AM +0530, Jagan Teki wrote:
>snvs base is added only for i.MX6ULL but the code is
>added for common, so firing build error while compiling
>other i.MX6 SOC's
>
>Issue observed with the below patch
>"imx: mx6ull: Update memory map address"
>(sha1: e8eac1b5b3
Hi Peng,
On 18/09/2016 08:50, Peng Fan wrote:
> Hi,
>
> On Sat, Sep 10, 2016 at 04:40:47PM -0700, Eric Nelson wrote:
>> Hi Tom,
>>
>> On 09/06/2016 07:15 AM, Tom Rini wrote:
>>> On Tue, Sep 06, 2016 at 07:00:56AM -0700, Eric Nelson wrote:
On 09/06/2016 06:40 AM, Tom Rini wrote:
> On Fri,
Fix the warning from dtc like,
---8<
Warning (unit_address_vs_reg): Node
/ahb/apb/pmc@f0014000/periph64ck/sdmmc0_hclk has a reg or ranges property, but
no unit name
--->8
Signed-off-by: Wenyou Yang
---
arch/arm/dts/sama5d2.dtsi | 140 +++---
1 f
To avoid to compile all AT91 SoCs' board dts files, use the board
to decide to build its corresponding dts, instead of
CONFIG_AT91FAMILY.
Signed-off-by: Wenyou Yang
---
arch/arm/dts/Makefile | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/dts/Makefile b/arch
From: Peng Fan
For i.MX6, the mux width is 4, not 3. So enlarge the width.
IOMUX_CONFIG_LPSR is changed from 0x8 to 0x20 to not use bit 3 of mux.
Signed-off-by: Peng Fan
Cc: Stefano Babic
---
arch/arm/include/asm/imx-common/iomux-v3.h | 15 +++
1 file changed, 7 insertions(+), 8 d
From: Peng Fan
>From TO1.1, SNVS adds internal pull up control for POR_B,
the register filed is GPBIT[1:0], after system boot up,
it can be set to 2b'01 to disable internal pull up.
It can save about 30uA power in SNVS mode.
Signed-off-by: Peng Fan
Cc: Stefano Babic
---
arch/arm/cpu/armv7/mx6
On 09/17/2016 05:42 AM, Jonathan Gray wrote:
> On Fri, Sep 16, 2016 at 10:21:43PM +0100, Paul Burton wrote:
>> Commit bac17b78dace ("image-fit: switch ENOLINK to ENOENT") changed
>> fit_get_node_from_config to return -ENOENT when a property doesn't
>> exist, but didn't change any of its callers whi
This patch broke booting of any fitImage-wrapped kernel images due
to replacement of ENOLINK with ENOENT without checking where the
ENOLINK return value is being tested for. Adjust the tests as well
to repair the breakage.
Signed-off-by: Marek Vasut
Cc: Jonathan Gray
Cc: Paul Burton
Cc: Tom Rin
On 09/16/2016 03:09 PM, Stefan Roese wrote:
> This patch adds DM based support for the xHCI USB 3.0 controller
> integrated in the Armada 3700 SoC. It may be extended to be used
> by other MVEBU SoCs as well.
>
> Signed-off-by: Stefan Roese
> Cc: Nadav Haklai
> Cc: Kostya Porotchkin
> Cc: Wilso
On 09/16/2016 03:09 PM, Stefan Roese wrote:
> This patch adds DM based support for the Armada 3700 EHCI controller.
> The address windows don't need to get configured in this case. The
> difference here is detected via DT compatible property at runtime.
>
> With this support and the DM xHCI driver
On 09/16/2016 01:42 PM, Sriram Dash wrote:
> The function fdt_fixup_dr_usb is specific to fsl/nxp. So,
> make the function name explicit and rename fdt_fixup_dr_usb
> into fsl_fdt_fixup_dr_usb.
>
> Signed-off-by: Sriram Dash
> ---
> board/Arcturus/ucp1020/ucp1020.c| 2 +-
> board/fre
Make sure that when we're telling bootm to boot an image, and we expect
the image to boot we get the output from sandbox that we attempted to
run Linux and that U-Boot completed its job.
Cc: Simon Glass
Cc: Stephen Warren
Signed-off-by: Tom Rini
---
test/py/tests/test_vboot.py | 16 ++-
With sunxi-musb musb_lowlevel_init() can fail when a charger; or no cable
is plugged into the otg port.
To avoid leaking the struct musb allocated by musb_init_controller()
on repeated musb_usb_probe() calls, we were caching its result.
But musb_init_controller() does more, such as calling sunxi_m
Hi Tom,
Here is the first sunxi pull-req for v2016.11.
This consists of a couple of small bug-fixes /
defconfig improvements + 1 new board.
The following changes since commit 8cbb389bb3da80cbf8911f8386cbff92c6a78afe:
Prepare v2016.09 (2016-09-12 10:05:51 -0400)
are available in the git repo
On Sun, 2016-09-18 at 16:53 +0200, Hans de Goede wrote:
> With sunxi-musb musb_lowlevel_init() can fail when a charger; or no
> cable
> is plugged into the otg port.
>
> To avoid leaking the struct musb allocated by musb_init_controller()
> on repeated musb_usb_probe() calls, we were caching its r
2016-09-17 3:32 GMT+09:00 Masahiro Yamada :
>
> - Add pinctrl driver for sLD3 SoC
> - Do away with legacy pin-mux code
> - refactoring of clock/PLL init code
> - Add PLL init code for LD20 SoC
> - Improvement of DRAM init code for LD20 SoC
> - Misc cleanups
>
>
>
> Masahiro Yamada (15):
> p
Hi Tom,
Here is the revised version of my pull request
for the v2016.11 development cycle.
The following UniPhier updates are included:
- DM migration
* remove legacy xHCI driver
* convert MMC driver to CONFIG_BLOCK
- Pinctrl driver improvements
* New pin-group
* Macr
Hi,
On 18-09-16 17:00, Ian Campbell wrote:
On Sun, 2016-09-18 at 16:53 +0200, Hans de Goede wrote:
With sunxi-musb musb_lowlevel_init() can fail when a charger; or no
cable
is plugged into the otg port.
To avoid leaking the struct musb allocated by musb_init_controller()
on repeated musb_usb_p
On Mon, Sep 12, 2016 at 11:18:18PM -0600, Simon Glass wrote:
> This series moves all the CONFIG_SPL_..._SUPPORT options to Kconfig and
> fixes up existing boards to continue to build.
>
> It also adds a few small but useful features to moveconfig.
>
> There is existing work going on in this area
On Tue, Sep 13, 2016 at 08:36:52AM +0200, Heiko Schocher wrote:
> Hello Tom,
>
> please pull from u-boot-i2c.git master
>
> The following changes since commit 8cbb389bb3da80cbf8911f8386cbff92c6a78afe:
>
> Prepare v2016.09 (2016-09-12 10:05:51 -0400)
>
> are available in the git repository at
On Mon, Sep 12, 2016 at 11:18:20PM -0600, Simon Glass wrote:
> At present it is not easy to use moveconfig from a script since it asks
> for user input a few times. Add a -y option to skip this and assume that
> 'y' was entered.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
On Mon, Sep 12, 2016 at 11:18:19PM -0600, Simon Glass wrote:
> Update the defconfig files to match their canonical form, as produced by
> 'make safedefconfig'.
>
> This is the result of running 'tools/moveconfig.py -s' on the tree.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thank
On Mon, Sep 12, 2016 at 11:18:24PM -0600, Simon Glass wrote:
> This option does not exist in U-Boot. Drop it.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot mailing l
On Mon, Sep 12, 2016 at 11:18:22PM -0600, Simon Glass wrote:
> Move the SPL settings into common/spl where most of the SPL code is kept.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
_
On Mon, Sep 12, 2016 at 11:18:21PM -0600, Simon Glass wrote:
> The moveconfig tool is quite clever and generally produces results that
> are suitable for sending as a patch without further work. The main required
> step is to add the changes to a commit.
>
> Add an option to do this automatically
On Mon, Sep 12, 2016 at 11:18:23PM -0600, Simon Glass wrote:
> The secure boot header files incorrectly define SPL options only if
> CONFIG_SPL_BUILD is defined. This means that the options are only enabled
> in an SPL build, and not with a normal 'make xxx_defconfig'. This means
> that moveconfig
On Mon, Sep 12, 2016 at 11:18:25PM -0600, Simon Glass wrote:
> At present TPL uses the same options as SPL support. In a few cases the board
> config enables or disables the SPL options depending on whether
> CONFIG_TPL_BUILD is defined.
>
> With the move to Kconfig, options are determined for th
On Tue, Sep 13, 2016 at 07:05:23AM -0600, Simon Glass wrote:
> There are a lot of SPL options in U-Boot to enable various features and
> drivers. Currently these do not use Kconfig. Add them to Kconfig along
> with suitable help, and drop them from the README.
>
> Signed-off-by: Simon Glass
App
On Mon, Sep 12, 2016 at 11:18:27PM -0600, Simon Glass wrote:
> Some of the SPL options have TPL equivalents. Add these to Kconfig so that
> we can convert these options over to work from Kconfig.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Descripti
On Mon, Sep 12, 2016 at 11:18:28PM -0600, Simon Glass wrote:
> A few boards define this in a header file which is incorrect. It means that
> Kconfig options that rely on this cannot be used. Move it.
>
> Note that quite a few boards defined this options but do not appear to
> actually use SPL:
>
On Mon, Sep 12, 2016 at 11:18:31PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:29PM -0600, Simon Glass wrote:
> A few boards define this in a header file which is incorrect. It means that
> Kconfig options that rely on this cannot be used. Move it.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Descr
On Mon, Sep 12, 2016 at 11:18:30PM -0600, Simon Glass wrote:
> There are a few options which use lower case. We should use upper case for
> all CONFIG options.
>
> Signed-off-by: Simon Glass
After adding in:
diff --git a/include/configs/spear3xx_evb.h b/include/configs/spear3xx_evb.h
index 5ce
On Mon, Sep 12, 2016 at 11:18:32PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:33PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:34PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:37PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:36PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:35PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:38PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:40PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:39PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:41PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:42PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:44PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:43PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:45PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:48PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:46PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:47PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:49PM -0600, Simon Glass wrote:
> This converts the following to Kconfig:
>CONFIG_SPL_NET_VCI_STRING
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
On Mon, Sep 12, 2016 at 11:18:50PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:51PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Tue, Sep 13, 2016 at 07:05:50AM -0600, Simon Glass wrote:
> This option is not used. Drop it.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@li
On Mon, Sep 12, 2016 at 11:18:52PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:54PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:55PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:56PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:58PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:57PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:18:59PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:19:00PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Mon, Sep 12, 2016 at 11:19:01PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Tue, Sep 13, 2016 at 09:44:06PM -0600, Simon Glass wrote:
> Add a list of ad-hoc CONFIG options that don't use Kconfig. This can be used
> to check that new ones are not being added.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digita
On Mon, Sep 12, 2016 at 11:19:02PM -0600, Simon Glass wrote:
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
___
U-Boot m
On Tue, Sep 13, 2016 at 09:44:07PM -0600, Simon Glass wrote:
> New CONFIG options should be added via Kconfig. To help prevent new ad-hoc
> CONFIGs from being added, give a build error when these are detected.
>
> Signed-off-by: Simon Glass
> Acked-by: Stephen Warren
> Tested-by: Stephen Warren
On Mon, Sep 12, 2016 at 11:19:03PM -0600, Simon Glass wrote:
> Convert CONFIG_SPL_YMODEM_SUPPORT to Kconfig
>
> Move this option to Kconfig and tidy up existing uses.
>
> Signed-off-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: Digital signature
__
On Sun, Sep 18, 2016 at 03:27:31PM +0200, Marek Vasut wrote:
> This patch broke booting of any fitImage-wrapped kernel images due
> to replacement of ENOLINK with ENOENT without checking where the
> ENOLINK return value is being tested for. Adjust the tests as well
> to repair the breakage.
>
> S
On Tue, Sep 13, 2016 at 04:27:57PM +0800, Haibo Chen wrote:
> Suspicious implicit sign extension exist. ext_csd[] is defined
> as "u8", capacity is defined as u64, so u8 is promoted to signed
> int first int the "|" expersion, then the sign extended to u64.
> if the tmp sign value is largeer than
On Fri, Sep 16, 2016 at 10:43:51AM +0200, Lukasz Majewski wrote:
> This define gives the possibility to copy entire image (including header)
> from NOR parallel memory to e.g. SDRAM.
>
> The legacy behavior is preserved, since other board don't enabled this option.
What's the use case?
> Signed
On Wed, Sep 14, 2016 at 01:14:37PM +0200, Michal Simek wrote:
> Hi Tom,
>
> here are patches I have collected for improving Xilinx support.
> I have also patches regarding moving IDENT_STRING to Kconfig
> but they need to be rework because simple adding it to Kconfig
> won't work. All boards need
On Sat, Sep 17, 2016 at 02:18:36AM +0530, Jagan Teki wrote:
> Add kconfig entry for CONFIG_DEFAULT_FDT_FILE
>
> Cc: Tom Rini
> Cc: Simon Glass
> Cc: Michael Trimarchi
> Signed-off-by: Jagan Teki
> ---
> common/Kconfig | 6 ++
> 1 file changed, 6 insertions(+)
>
> diff --git a/common/Kco
Hi Tom,
> On Fri, Sep 16, 2016 at 10:43:51AM +0200, Lukasz Majewski wrote:
>
> > This define gives the possibility to copy entire image (including
> > header) from NOR parallel memory to e.g. SDRAM.
> >
> > The legacy behavior is preserved, since other board don't enabled
> > this option.
>
> W
On Sun, Sep 18, 2016 at 09:10:34PM +0200, Lukasz Majewski wrote:
> Hi Tom,
>
> > On Fri, Sep 16, 2016 at 10:43:51AM +0200, Lukasz Majewski wrote:
> >
> > > This define gives the possibility to copy entire image (including
> > > header) from NOR parallel memory to e.g. SDRAM.
> > >
> > > The lega
On 2016-09-15, Sandy Patterson wrote:
> An alternative for you might be to disable OF_PLATDATA for firefly and
> enable BACK_TO_BROM.
I wasn't able to successfully build with OF_PLATDATA disabled; sounds
like there are more patches needed for firefly for that to work.
> You may not be getting an
Add some comments to describe this function.
Signed-off-by: Simon Glass
---
include/spl.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/spl.h b/include/spl.h
index aebafa3..742e6c2 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -110,7 +110,18 @@ int spl_board_ubi_l
At present this is only used on ARM and sandbox, but it is just as
applicable to other architectures. Move the function prototype into the
generic SPL header.
Signed-off-by: Simon Glass
---
arch/arm/include/asm/spl.h | 9 -
arch/sandbox/include/asm/spl.h | 8
include/spl.h
Rather than act on the global variable, pass the required struct in as a
parameter.
Signed-off-by: Simon Glass
---
common/spl/spl.c | 14 +++---
common/spl/spl_nand.c | 2 +-
include/spl.h | 13 -
3 files changed, 20 insertions(+), 9 deletions(-)
diff --git a/
Move this option to Kconfig and tidy up existing uses. Also add a function
comment to the header file.
Signed-off-by: Simon Glass
---
arch/arm/cpu/armv7/omap4/Kconfig | 3 +++
arch/arm/cpu/armv7/omap5/Kconfig | 3 +++
common/spl/Kconfig| 9 +
include/configs/ti_omap4_c
Instead of using the global spl_image variable, pass the required struct in
as an argument.
Signed-off-by: Simon Glass
---
arch/arm/lib/spl.c| 4 ++--
arch/microblaze/cpu/spl.c | 4 ++--
arch/powerpc/lib/spl.c| 4 ++--
common/spl/spl.c | 3 ++-
include/spl.h
Add a linker list macro which can be used to declare an SPL image loader.
Update spl_load_image() to search available loaders for the correct one.
Signed-off-by: Simon Glass
---
common/spl/spl.c | 20
include/spl.h| 32
2 files changed,
Instead of using the global spl_image variable, pass the required struct in
as an argument.
Signed-off-by: Simon Glass
---
arch/arm/mach-uniphier/boot-mode/spl_board.c | 2 +-
common/spl/spl.c | 41 ++--
common/spl/spl_ext.c
Add a linker list declaration for this method and remove the explicit
switch() code.
Signed-off-by: Simon Glass
---
common/spl/spl.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/common/spl/spl.c b/common/spl/spl.c
index 719ae6e..4fe5d98 100644
--- a/common/spl/spl.c
+
Add a linker list declaration for this method and remove the explicit
switch() code.
Signed-off-by: Simon Glass
---
common/spl/spl.c | 6 --
common/spl/spl_mmc.c | 6 +-
include/spl.h| 3 ---
3 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/common/spl/spl.c b/
Add a linker list declaration for this method and remove the explicit
switch() code.
Signed-off-by: Simon Glass
---
common/spl/spl.c| 4
common/spl/spl_ymodem.c | 3 ++-
include/spl.h | 3 ---
3 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/common/spl/spl.c
Add a linker list declaration for this method and remove the explicit
switch() code.
Signed-off-by: Simon Glass
---
common/spl/spl.c | 4
common/spl/spl_onenand.c | 4 +++-
include/spl.h| 3 ---
3 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/common/spl/s
Add a linker list declaration for this method and remove the explicit
switch() code.
Signed-off-by: Simon Glass
---
common/spl/spl.c | 4
common/spl/spl_nor.c | 3 ++-
include/spl.h| 3 ---
3 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/common/spl/spl.c b/common
Add a linker list declaration for this method and remove the explicit
switch() code.
Signed-off-by: Simon Glass
---
common/spl/spl.c | 4
common/spl/spl_nand.c | 4 +++-
include/spl.h | 3 ---
3 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/common/spl/spl.c b/co
Add a linker list declaration for this method and remove the explicit
switch() code.
Signed-off-by: Simon Glass
---
common/spl/spl.c | 6 --
common/spl/spl_ubi.c | 3 +++
include/spl.h| 3 ---
3 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/common/spl/spl.c b/comm
Add a linker list declaration for this method and remove the explicit
switch() code.
Signed-off-by: Simon Glass
---
common/spl/spl.c | 4
common/spl/spl_usb.c | 3 ++-
include/spl.h| 3 ---
3 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/common/spl/spl.c b/common
All the other SPL loaders are in this directory, so move the SPI one in
there too.
There are two board-specific SPI loaders (fsl and sunxi). These remain in
the drivers/mtd/spi directory, since they do not contain generic code.
Signed-off-by: Simon Glass
---
common/spl/Makefile
Upda the SPL FIT code to use the spl_image parameter.
Signed-off-by: Simon Glass
---
common/spl/spl.c| 2 +-
common/spl/spl_fat.c| 2 +-
common/spl/spl_fit.c| 9 +
common/spl/spl_mmc.c| 2 +-
common/spl/spl_nand.c | 2 +-
common/spl/spl_spi.c| 2 +-
common/spl/
Add a linker list declaration for this method and remove the explicit
switch() code. Update existing users.
Signed-off-by: Simon Glass
---
arch/arm/mach-sunxi/board.c | 5 -
arch/arm/mach-uniphier/boot-mode/spl_board.c | 3 ++-
arch/sandbox/cpu/spl.c
Add a linker list declaration for this method and remove the explicit
switch() code.
Signed-off-by: Simon Glass
---
common/spl/spl.c | 4
common/spl/spl_sata.c | 3 ++-
include/spl.h | 3 ---
3 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/common/spl/spl.c b/com
On Sun, Sep 18, 2016 at 12:33 PM, Peng Fan wrote:
> Hi Jagan,
> On Sat, Sep 17, 2016 at 02:18:33AM +0530, Jagan Teki wrote:
>>snvs base is added only for i.MX6ULL but the code is
>>added for common, so firing build error while compiling
>>other i.MX6 SOC's
>>
>>Issue observed with the below patch
At present the SPL code uses a global spl_image variable which is shared
amongst lots of files, some in common/spl and some elsewhere. There is no
need for this to be global, and in fact a parameter makes it easier to
understand what information the functions act on. It also reduces the BSS
use in
SPL_PAYLOAD should be .img in case of ARM architecture and .bin in
case of other architectures. This patch takes care of the same by choosing
the SPL_PAYLOAD as u-boot.img for ARM architecture and u-boot.bin for others.
Signed-off-by: Raghav Dogra
---
Makefile | 4
1 file changed, 4 inserti
At present some spl_xxx_load_image() functions take a parameter and some
don't. Of those that do, most take an integer but one takes a string.
Convert this parameter into a struct so that we can pass all functions the
same thing. This will allow us to use a common function signature.
Signed-off-b
Update the fat loader to avoid using the spl_image global variable.
Signed-off-by: Simon Glass
---
common/spl/spl_fat.c | 21 -
common/spl/spl_mmc.c | 4 ++--
common/spl/spl_sata.c | 11 +++
common/spl/spl_usb.c | 13 -
include/spl.h | 6
1 - 100 of 220 matches
Mail list logo