[U-Boot] [PATCH 4/4] Fix spelling of "resetting".

2016-10-23 Thread Vagrant Cascadian
Cover-Letter: Fixes several spelling errors for the words "resetting",
  "extended", "occur", and "multiple".

Signed-off-by: Vagrant Cascadian 
---

 arch/arm/mach-exynos/dmc_init_ddr3.c| 2 +-
 arch/arm/mach-socfpga/misc.c| 2 +-
 arch/mips/mach-au1x00/au1x00_usb_ohci.c | 3 ++-
 arch/powerpc/cpu/mpc5xxx/usb_ohci.c | 3 ++-
 arch/powerpc/cpu/ppc4xx/usb_ohci.c  | 3 ++-
 drivers/net/fec_mxc.c   | 2 +-
 drivers/usb/host/ohci-hcd.c | 2 +-
 drivers/usb/host/ohci-s3c24xx.c | 2 +-
 include/vsprintf.h  | 4 ++--
 9 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/arch/arm/mach-exynos/dmc_init_ddr3.c 
b/arch/arm/mach-exynos/dmc_init_ddr3.c
index 25a9df9..6a5d26c 100644
--- a/arch/arm/mach-exynos/dmc_init_ddr3.c
+++ b/arch/arm/mach-exynos/dmc_init_ddr3.c
@@ -618,7 +618,7 @@ int ddr3_mem_ctrl_init(struct mem_timings *mem, int reset)
/*
 * Send NOP, MRS and ZQINIT commands
 * Sending MRS command will reset the DRAM. We should not be
-* reseting the DRAM after resume, this will lead to memory
+* resetting the DRAM after resume, this will lead to memory
 * corruption as DRAM content is lost after DRAM reset
 */
dmc_config_mrs(mem, >directcmd);
diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c
index 5cbd8a4..dd6b53b 100644
--- a/arch/arm/mach-socfpga/misc.c
+++ b/arch/arm/mach-socfpga/misc.c
@@ -362,7 +362,7 @@ int arch_early_init_r(void)
 * issuing warm reset. The ancient kernel code expects this
 * value to be written into the register by the bootloader, so
 * to support that old code, we write it here instead of in the
-* reset_cpu() function just before reseting the CPU.
+* reset_cpu() function just before resetting the CPU.
 */
writel(0xae9efebc, _regs->romcodegrp_warmramgrp_enable);
 
diff --git a/arch/mips/mach-au1x00/au1x00_usb_ohci.c 
b/arch/mips/mach-au1x00/au1x00_usb_ohci.c
index 42484e5..088e612 100644
--- a/arch/mips/mach-au1x00/au1x00_usb_ohci.c
+++ b/arch/mips/mach-au1x00/au1x00_usb_ohci.c
@@ -671,7 +671,8 @@ static void td_submit_job (struct usb_device *dev, unsigned 
long pipe, void *buf
__u32 info = 0;
unsigned int toggle = 0;
 
-   /* OHCI handles the DATA-toggles itself, we just use the USB-toggle 
bits for reseting */
+   /* OHCI handles the DATA-toggles itself, we just use the
+  USB-toggle bits for resetting */
if(usb_gettoggle(dev, usb_pipeendpoint(pipe), usb_pipeout(pipe))) {
toggle = TD_T_TOGGLE;
} else {
diff --git a/arch/powerpc/cpu/mpc5xxx/usb_ohci.c 
b/arch/powerpc/cpu/mpc5xxx/usb_ohci.c
index b7c1b55..cf36954 100644
--- a/arch/powerpc/cpu/mpc5xxx/usb_ohci.c
+++ b/arch/powerpc/cpu/mpc5xxx/usb_ohci.c
@@ -670,7 +670,8 @@ static void td_submit_job (struct usb_device *dev, unsigned 
long pipe, void *buf
__u32 info = 0;
unsigned int toggle = 0;
 
-   /* OHCI handles the DATA-toggles itself, we just use the USB-toggle 
bits for reseting */
+   /* OHCI handles the DATA-toggles itself, we just use the
+  USB-toggle bits for resetting */
if(usb_gettoggle(dev, usb_pipeendpoint(pipe), usb_pipeout(pipe))) {
toggle = TD_T_TOGGLE;
} else {
diff --git a/arch/powerpc/cpu/ppc4xx/usb_ohci.c 
b/arch/powerpc/cpu/ppc4xx/usb_ohci.c
index 65a0675..27423e3 100644
--- a/arch/powerpc/cpu/ppc4xx/usb_ohci.c
+++ b/arch/powerpc/cpu/ppc4xx/usb_ohci.c
@@ -673,7 +673,8 @@ static void td_submit_job (struct usb_device *dev, unsigned 
long pipe, void *buf
__u32 info = 0;
unsigned int toggle = 0;
 
-   /* OHCI handles the DATA-toggles itself, we just use the USB-toggle 
bits for reseting */
+   /* OHCI handles the DATA-toggles itself, we just use the
+  USB-toggle bits for resetting */
if(usb_gettoggle(dev, usb_pipeendpoint(pipe), usb_pipeout(pipe))) {
toggle = TD_T_TOGGLE;
} else {
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c
index 8e3b839..84021ea 100644
--- a/drivers/net/fec_mxc.c
+++ b/drivers/net/fec_mxc.c
@@ -1024,7 +1024,7 @@ static int fec_probe(bd_t *bd, int dev_id, uint32_t 
base_addr,
start = get_timer(0);
while (readl(>eth->ecntrl) & FEC_ECNTRL_RESET) {
if (get_timer(start) > (CONFIG_SYS_HZ * 5)) {
-   printf("FEC MXC: Timeout reseting chip\n");
+   printf("FEC MXC: Timeout resetting chip\n");
goto err4;
}
udelay(10);
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
index ccbfc02..bd2d9c3 100644
--- a/drivers/usb/host/ohci-hcd.c
+++ b/drivers/usb/host/ohci-hcd.c
@@ -963,7 +963,7 @@ static void td_submit_job(ohci_t *ohci, struct usb_device 
*dev,

[U-Boot] [PATCH 1/4] Fix spelling of "multiple".

2016-10-23 Thread Vagrant Cascadian
Signed-off-by: Vagrant Cascadian 
---

 fs/ubifs/ubifs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c
index cdc04c6..cc397d6 100644
--- a/fs/ubifs/ubifs.c
+++ b/fs/ubifs/ubifs.c
@@ -854,7 +854,7 @@ int ubifs_read(const char *filename, void *buf, loff_t 
offset,
*actread = 0;
 
if (offset & (PAGE_SIZE - 1)) {
-   printf("ubifs: Error offset must be a multple of %d\n",
+   printf("ubifs: Error offset must be a multiple of %d\n",
   PAGE_SIZE);
return -1;
}
-- 
2.9.3

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 3/4] Fix spelling of "extended".

2016-10-23 Thread Vagrant Cascadian
Signed-off-by: Vagrant Cascadian 
---

 cmd/bootm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/bootm.c b/cmd/bootm.c
index e02a1c5..083f3d1 100644
--- a/cmd/bootm.c
+++ b/cmd/bootm.c
@@ -162,7 +162,7 @@ static char bootm_help_text[] =
 #endif
 #if defined(CONFIG_FIT)
"\t\nFor the new multi component uImage format (FIT) addresses\n"
-   "\tmust be extened to include component or configuration unit name:\n"
+   "\tmust be extended to include component or configuration unit name:\n"
"\taddr: - direct component image specification\n"
"\taddr#   - configuration specification\n"
"\tUse iminfo command to get the list of existing component\n"
-- 
2.9.3

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 2/4] Fix spelling of "occur".

2016-10-23 Thread Vagrant Cascadian
Signed-off-by: Vagrant Cascadian 
---

 board/sysam/amcore/amcore.c | 2 +-
 tools/mkimage.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/sysam/amcore/amcore.c b/board/sysam/amcore/amcore.c
index b7217c5..77b5000 100644
--- a/board/sysam/amcore/amcore.c
+++ b/board/sysam/amcore/amcore.c
@@ -93,7 +93,7 @@ phys_size_t initdram(int board_type)
out_be32((u32 *)0x0004, 0xbeaddeed);
/* issue AUTOREFRESH */
out_be32(>dacr0, 0xb304);
-   /* let refresh occour */
+   /* let refresh occur */
fudelay(1);
 
out_be32(>dacr0, 0xb344);
diff --git a/tools/mkimage.c b/tools/mkimage.c
index 3c594a0..02f88bb 100644
--- a/tools/mkimage.c
+++ b/tools/mkimage.c
@@ -88,7 +88,7 @@ static void usage(const char *msg)
params.cmdname);
fprintf(stderr,
"   %s [-D dtc_options] [-f fit-image.its|-f auto|-F] [-b 
 [-b ]] fit-image\n"
-   "file is used with -f auto, it may occour 
multiple times.\n",
+   "file is used with -f auto, it may occur 
multiple times.\n",
params.cmdname);
fprintf(stderr,
"  -D => set all options for device tree compiler\n"
-- 
2.9.3

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] libfdt: Sync overlay with upstream

2016-10-23 Thread Simon Glass
On 19 October 2016 at 01:36, Maxime Ripard
 wrote:
> Hi Simon,
>
> On Tue, Oct 18, 2016 at 10:23:54AM -0600, Simon Glass wrote:
>> Hi Maxime,
>>
>> On 18 October 2016 at 01:26, Maxime Ripard
>>  wrote:
>> > Hi Simon,
>> >
>> > On Mon, Oct 17, 2016 at 04:17:33PM -0600, Simon Glass wrote:
>> >> On 17 October 2016 at 14:50, Maxime Ripard
>> >>  wrote:
>> >> > Now that the overlay code has been merge upstream, update our copy to
>> >> > what's been merged, since a significant number of issues have been fixed
>> >> > during the merge process.
>> >> >
>> >> > Signed-off-by: Maxime Ripard 
>> >> > ---
>> >> >  include/libfdt.h  |  24 --
>> >> >  lib/libfdt/fdt_overlay.c  | 199 
>> >> > +-
>> >> >  lib/libfdt/fdt_strerror.c |   3 +
>> >> >  3 files changed, 147 insertions(+), 79 deletions(-)
>> >>
>> >> Acked-by: Simon Glass 
>> >
>> > Sorry for the dumb question, but shouldn't that go through your tree ?
>>
>> Yes. Since we are at RC2 I was thinking of waiting until next cycle
>> though. Or do you think this is urgent?
>
> I'd be enclined to say yes. It really contains a significant number of
> fixes for some cases that might definitely be used in real life, so
> it totally counts as a fix for me.
>
> And since the changes are well contained, and it passes the tests both
> in dtc and in U-Boot, I'd say that it's pretty safe to merge.

Applied to u-boot-fdt, thanks!
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH v2] libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORY

2016-10-23 Thread Simon Glass
On 21 October 2016 at 01:12, Alexey Brodkin  wrote:
> Hello Masahiro-san,
>
> On Fri, 2016-10-21 at 10:58 +0900, Masahiro Yamada wrote:
>> Hi Alexey,
>>
>> 2016-10-20 20:55 GMT+09:00 Alexey Brodkin :
>> >
>> > Hello Masahiro-san,
>> >
>> > On Thu, 2016-10-20 at 09:15 +0900, Masahiro Yamada wrote:
>> > >
>> > > Commit e2f88dfd2d96 ("libfdt: Introduce new ARCH_FIXUP_FDT option")
>> > > allows us to skip memory setup of DTB, but a problem for ARM is that
>> > > spin_table_update_dt() and psci_update_dt() are skipped as well if
>> > > CONFIG_ARCH_FIXUP_FDT is disabled.
>> > >
>> > > This commit allows us to skip only fdt_fixup_memory_banks() instead
>> > > of the whole of arch_fixup_fdt().  It will be useful when we want to
>> > > use a memory node from a kernel DTB as is, but need some fixups for
>> > > Spin-Table/PSCI.
>> > >
>> > > Signed-off-by: Masahiro Yamada 
>> > > ---
>> > >
>> > > Changes in v2:
>> > >  - Add empty stub to ARC, PowerPC, Microblaze instead of
>> > >a weak function common/image-fdt.c
>> >
>> > [snip]
>> >
>> > >
>> > > diff --git a/arch/arc/lib/bootm.c b/arch/arc/lib/bootm.c
>> > > index 04d9d9c..5798149 100644
>> > > --- a/arch/arc/lib/bootm.c
>> > > +++ b/arch/arc/lib/bootm.c
>> > > @@ -37,6 +37,11 @@ void arch_lmb_reserve(struct lmb *lmb)
>> > >   lmb_reserve(lmb, sp, (CONFIG_SYS_SDRAM_BASE + gd->ram_size - sp));
>> > >  }
>> > >
>> > > +int arch_fixup_fdt(void *blob)
>> > > +{
>> > > + return 0;
>> > > +}
>> > > +
>> >
>> > I'm wondering why don't we add weak implementation of arch_fixup_fdt()
>> > right in say common/image-fdt.c? This will allow us to not add dummy stubs
>> > for those arches that don't really use it.
>>
>>
>> I fully agree with you.
>>
>>
>> I used a weak function in v1:
>> http://patchwork.ozlabs.org/patch/678049/
>>
>> But, it was change-request'ed by Simon.
>
> Ok, thanks for the reference.
> Indeed Simon's comments make sense.
>
> So for ARC changes
>
> Acked-by: Alexey Brodkin 

Acked-by: Simon Glass 
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Please pull u-boot-fdt

2016-10-23 Thread Simon Glass
Hi Tom,

Here's another patch syncing up with libfdt upstream. Maxime suggest
that this should go in now.


The following changes since commit 3431b392ad50ff37fa3d6e7715c6a99c74d692dc:

  Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
(2016-10-19 07:48:16 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-fdt.git

for you to fetch changes up to 610db7058f1d9ed668aef7692f8f90f05e0923f8:

  libfdt: Sync overlay with upstream (2016-10-23 12:08:48 -0700)


Maxime Ripard (1):
  libfdt: Sync overlay with upstream

 include/libfdt.h  |  24 ++---
 lib/libfdt/fdt_overlay.c  | 199
+++-
 lib/libfdt/fdt_strerror.c |   3 ++
 3 files changed, 147 insertions(+), 79 deletions(-)

Regards,
Simon
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 28/29] Convert CONFIG_USB_KEYBOARD to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:13:01PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_USB_KEYBOARD
> 
> Signed-off-by: Simon Glass 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 29/29] Convert CONFIG_SYS_STDIO_DEREGISTER to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:13:02PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_SYS_STDIO_DEREGISTER
> 
> This option should never be enabled in SPL, so use
> CONFIG_IS_ENABLED(SYS_STDIO_DEREGISTER) when checking the option.
> 
> Signed-off-by: Simon Glass 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 27/29] Convert CONFIG_SYS_CONSOLE_INFO_QUIET to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:13:00PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_SYS_CONSOLE_INFO_QUIET
> 
> Signed-off-by: Simon Glass 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 24/29] Convert CONFIG_CONSOLE_SCROLL_LINES to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:57PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_CONSOLE_SCROLL_LINES
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 25/29] Convert CONFIG_SYS_CONSOLE_ENV_OVERWRITE to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:58PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_SYS_CONSOLE_ENV_OVERWRITE
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 26/29] Convert CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:59PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot,v4,23/29] Convert CONFIG_LCD to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:56PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_LCD
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 
> Reviewed-by: Jagan Teki 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 22/29] video: Drop CONFIG_CONSOLE_INFO_QUIET

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:55PM -0600, Simon Glass wrote:

> This is not used in U-Boot. Drop it.
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 18/29] Convert CONFIG_VIDEO_SW_CURSOR to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:51PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_VIDEO_SW_CURSOR
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 21/29] video: Move video_get_info_str() prototype to a header file

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:54PM -0600, Simon Glass wrote:

> This should be defined in a header file so that arguments are checked.
> Move it to video.h.
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 20/29] Convert CONFIG_CONSOLE_EXTRA_INFO to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:53PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_CONSOLE_EXTRA_INFO
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot,v4,17/29] video: Drop CONFIG_VIDEO_HW_CURSOR

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:50PM -0600, Simon Glass wrote:

> This is not used in U-Boot.
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 16/29] Convert CONFIG_VGA_AS_SINGLE_DEVICE to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:49PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_VGA_AS_SINGLE_DEVICE
> 
> Once we migrate to driver model for video, we should be able to drop this
> option.
> 
> Signed-off-by: Simon Glass 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot,v4,15/29] video: Drop the sed13806 driver

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:48PM -0600, Simon Glass wrote:

> This is not used in U-Boot.
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot,v4,13/29] video: Drop the imx25lcdc driver

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:46PM -0600, Simon Glass wrote:

> This is not used anywhere in U-Boot.
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot,v4,12/29] video: Drop the smiLynxEM driver

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:45PM -0600, Simon Glass wrote:

> This is not used in U-Boot anymore.
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot,v4,14/29] video: Drop the s3c-fb driver

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:47PM -0600, Simon Glass wrote:

> This is not used in U-Boot.
> 
> Signed-off-by: Simon Glass 
> Acked-by: Minkyu Kang 
> Reviewed-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 11/29] Convert CONFIG_SYS_CONSOLE_BG_COL et al to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:44PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_SYS_CONSOLE_BG_COL
>CONFIG_SYS_CONSOLE_FG_COL
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 09/29] Convert CONFIG_CFB_CONSOLE_ANSI to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:42PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_CFB_CONSOLE_ANSI
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot,v4,07/29] Convert CONFIG_VIDEO to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:40PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_VIDEO
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 
> Reviewed-by: Jagan Teki 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 10/29] Convert CONFIG_VIDEO_CT69000 to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:43PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_VIDEO_CT69000
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 03/29] Convert CONSOLE_PRE_CONSOLE_BUFFER options to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:36PM -0600, Simon Glass wrote:

> Move these option to Kconfig and tidy up existing uses.
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Jagan Teki 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 08/29] Convert CONFIG_CFB_CONSOLE to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:41PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_CFB_CONSOLE
> 
> Signed-off-by: Simon Glass 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot,v4,06/29] config: Drop CONFIG_CONSOLE_DEV

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:39PM -0600, Simon Glass wrote:

> This is not really a config. Rename it to avoid confusion.
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 
> Reviewed-by: Jagan Teki 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot,v4,05/29] config: Drop CONFIG_CONSOLE

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:38PM -0600, Simon Glass wrote:

> This is not really a config. Rename it to avoid confusion.
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 
> Reviewed-by: Jagan Teki 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 04/29] Convert CONFIG_SYS_CONSOLE_IS_IN_ENV et al to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:37PM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>CONFIG_SYS_CONSOLE_IS_IN_ENV
>CONFIG_CONSOLE_MUX
> 
> Signed-off-by: Simon Glass 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot,v4,01/29] Remove some merge markers

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:34PM -0600, Simon Glass wrote:

> These two files have patch merge markers in them, within comments or
> strings. Remove then, so that a search for merge markers does not show up
> matches in these files.
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 
> Reviewed-by: Jagan Teki 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 02/29] Convert SILENT_CONSOLE options to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:35PM -0600, Simon Glass wrote:

> Move these option to Kconfig and tidy up existing uses.
> 
> The Power PC boards don't have a suitable common element: the common header
> files don't appear to line up with the Kconfig files as far as I can tell.
> This results in a lot of defconfig changes.
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Jagan Teki 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] test/py: ensure a log section exists for skipped tests

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 05:25:52PM -0600, Stephen Warren wrote:

> From: Stephen Warren 
> 
> In pytest 3, runtestprotocol() may not call pytest_runtest_setup() if
> the test is skipped. That call is required to create a section for the
> test in the log file. If this is skipped, the call to log.end_section()
> at the tail of pytest_runtest_protocol() will throw an exception. This
> patch ensures that a log section always exists, both to avoid the
> exception and to ensure that a consistently structured log file is
> always created.
> 
> Cc: Stefan Brüns 
> Reported-by: Stefan Brüns 
> Signed-off-by: Stephen Warren 
> Tested-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [U-Boot,v4,19/29] video: Drop CONFIG_VIDEO_SW_CURSOR

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:52PM -0600, Simon Glass wrote:

> Since all boards enable this, we may as well drop the option.
> 
> This is a separate patch from the previous one, so it can be skipped if
> someone identifies a need.
> 
> Signed-off-by: Simon Glass 
> Reviewed-by: Tom Rini 

In size testing this series there are a few boards that do disable this
option so I've dropped this patch.  Thanks!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] omap3logic: Fix Auto detect Logic PD Models

2016-10-23 Thread Tom Rini
On Sun, Oct 23, 2016 at 07:39:01AM -0500, Adam Ford wrote:

> The autodetect feature doesn't allow users to specify the device tree.
> This fix will make it only autodetect if 'fdtimage' is not defined.
> 
> Signed-off-by: Adam Ford 
> 
> diff --git a/board/logicpd/omap3som/omap3logic.c 
> b/board/logicpd/omap3som/omap3logic.c
> index 3ddeb46..de6a060 100644

Reviewed-by: Tom Rini 

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH v4 00/29] Kconfig: Move console options to Kconfig

2016-10-23 Thread Tom Rini
On Mon, Oct 17, 2016 at 08:12:33PM -0600, Simon Glass wrote:

> This series moves a number of console-related CONFIG options to Kconfig.
> Those that are not currently used are removed.
> 
> A few unused video drivers are also removed and there are a few minor
> adjustments to improve the code. But mostly this follows the output of
> the moveconfig tool.

So I've merged this now, and while I got almost everything correct with
some re-ordering of patches and a few re-runnings of moveconfig.py,
there's a few changes I want to make everyone aware of.

A number of PowerPC Freescale boards have a small SPL size increase
because they used to do:
#ifndef CONFIG_SPL_BUILD
#define CONFIG_CONSOLE_MUX
#define CONFIG_CONSOLE_IS_IN_ENV
#endif

And now they do not.

Finally, sandbox_spl has a small size increase too that comes in at the
stdio deregister patch but I don't see _why_.

Thanks for doing the conversion Simon!

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] Kconfig: ifc: Moving IFC_BANK_COUNT from Kconfig to config.h

2016-10-23 Thread Prabhakar Kushwaha
Hi York,

> -Original Message-
> From: york sun
> Sent: Friday, October 21, 2016 7:55 PM
> To: Prabhakar Kushwaha ; u-
> b...@lists.denx.de
> Cc: o...@buserror.net
> Subject: Re: [PATCH] Kconfig: ifc: Moving IFC_BANK_COUNT from Kconfig to
> config.h
> 
> On 10/20/2016 11:37 PM, Prabhakar Kushwaha wrote:
> > Migration of IFC_BANK_COUNT from Kconfig to config.h avoids adding
> > SoC name in Kconfig as Dependencies. It will help in having
> > all SoC related defines in config.h - easy to maintain.
> >
> 
> Prabhakar,
> 
> Why do you want to go back to config.h? I think we are going with
> Kconfig. Having everything in one config file conflicts with Kconfig.
> The former has centralized config per SoC, the latter has centralized
> config per feature.
> 

There are 2 reason for this

1) in File arch/arm/cpu/armv8/fsl-layerscape/Kconfig, "depends" row will keep 
on increasing with SoC.  
And if I add new field CONFIG_SYS_FSL_IFC_CLK_DIV, similar entry will be done 
and it will also keep on increasing with SoC.
I want to avoid it.

config SYS_FSL_IFC_BANK_COUNT
int "Maximum banks of Integrated flash controller"
depends on ARCH_LS1043A || ARCH_LS1046A || ARCH_LS2080A
default 4 if ARCH_LS1043A
default 4 if ARCH_LS1046A
default 8 if ARCH_LS2080A

2) There is no file similar to  " arch/arm/cpu/armv8/fsl-layerscape/Kconfig" 
for powerpc platform. So how to add new " CONFIG SYS_FSL_IFC_CLK_DIV" with 
different values per SoC.
   This problem will come for defining other clocks for " armv8/fsl-lsch3: 
consolidate the clock system initialization"

--prabhakar


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-23 Thread Prabhakar Kushwaha
Hi York,


> -Original Message-
> From: york sun
> Sent: Saturday, October 22, 2016 1:39 AM
> To: Prabhakar Kushwaha ; Pratiyush Srivastava
> ; u-boot@lists.denx.de; Mingkai Hu
> 
> Cc: Hou Zhiqiang 
> Subject: Re: [PATCH] armv8/ls1043a: Add the OCRAM initialization
> 
> On 10/16/2016 10:35 PM, Prabhakar Kushwaha wrote:
> > Hi Mingkai,
> >
> >> -Original Message-
> >> From: Pratiyush Srivastava [mailto:pratiyush.srivast...@nxp.com]
> >> Sent: Wednesday, October 12, 2016 5:46 PM
> >> To: u-boot@lists.denx.de
> >> Cc: york sun ; Prabhakar Kushwaha
> >> ; Pratiyush Srivastava
> >> ; Hou Zhiqiang
> 
> >> Subject: [PATCH] armv8/ls1043a: Add the OCRAM initialization
> >>
> >> Clear the content to zero and the ECC error bit of OCRAM1/2.
> >>
> >> The OCRAM must be initialized to ZERO by the unit of 8-Byte before
> >> accessing it, or else it will generate ECC error. And the IBR has
> >> accessed the OCRAM before this initialization, so the ECC error
> >> status bit should to be cleared.
> >>
> >> Signed-off-by: Pratiyush Srivastava 
> >> Signed-off-by: Hou Zhiqiang 
> >> Signed-off-by: Prabhakar Kushwaha 
> >> ---
> >
> > This requirement is for both ls1043 and ls1088a.  was this patch taken care
> during ls1043a upstreaming
> > If not, how it is being taken care for ls1043a.  Same approach can be used 
> > for
> ls1088a
> >
> 
> I wonder why we don't see ECC errors before this patch. We have LS1043A
> boots on NAND, SD.
> 

OCRAM has a requirement of initializing before first time "read". 
If user reads OCRAM before **initializing**; ECC error will come.  (u-boot is 
not handling this error for now).

I can only guess the reason of not seeing this error as OCRAM never read before 
any write.
Even in case of Stack, data is first written and then read.

--prabhakar


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] omap3logic: Fix Auto detect Logic PD Models

2016-10-23 Thread Adam Ford
The autodetect feature doesn't allow users to specify the device tree.
This fix will make it only autodetect if 'fdtimage' is not defined.

Signed-off-by: Adam Ford 

diff --git a/board/logicpd/omap3som/omap3logic.c 
b/board/logicpd/omap3som/omap3logic.c
index 3ddeb46..de6a060 100644
--- a/board/logicpd/omap3som/omap3logic.c
+++ b/board/logicpd/omap3som/omap3logic.c
@@ -219,6 +219,10 @@ int board_init(void)
 #ifdef CONFIG_BOARD_LATE_INIT
 int board_late_init(void)
 {
+   /* If we do not have an fdtimage, let's autodetect it*/
+   if (getenv("fdtimage"))
+   return 0;
+
switch (gd->bd->bi_arch_number) {
case MACH_TYPE_DM3730_TORPEDO:
setenv("fdtimage", "logicpd-torpedo-37xx-devkit.dtb");
-- 
2.7.4

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot