Dear Ben,
In message <1451399667-32519-1-git-send-email-ben.whit...@gmail.com> you wrote:
> From: Ben Whitten
>
> With format-security errors turned on, GCC picks up the use of sprintf without
> a format parameter.
Thanks for detecting this, but...
> -
Am 29.12.2015 um 12:17 schrieb Wills Wang:
> U-boot just use the no MMU virtual address segment(KSEG0/1), this
> patch enable access the uncached memory range(KSEG1) by flag
> "MAP_NOCACHE", other flag for KSEG0 access.
>
> Signed-off-by: Wills Wang
> ---
>
> Changes in
The arch/arm/lib/cache-cp15.c checks for CONFIG_ARMV7 and if this macro is
set, it configures TTBR0 register. This register must be configured for the
cache on ARMv7 to operate correctly.
The problem is that noone actually sets the CONFIG_ARMV7 macro and thus the
TTBR0 is not configured at all.
Restore the old behavior of the MMU section entries configuration,
which is without the S-bit.
Signed-off-by: Marek Vasut
Cc: Tom Rini
Cc: Albert Aribaud
Cc: Simon Glass
---
arch/arm/include/asm/system.h | 3 +--
Am 29.12.2015 um 12:17 schrieb Wills Wang:
> This patch enable work for ar933x SOC, tested on ar9331 board.
>
> Signed-off-by: Wills Wang
> ---
>
> Changes in v5:
> - Add independent Kconfig
> - Use SRAM for initial stack
> - Move DDR initialization into
On Tuesday, December 22, 2015 at 02:19:10 AM, Marek Vasut wrote:
> On Monday, December 14, 2015 at 12:24:33 PM, Stefano Babic wrote:
> > Hi Vagrant,
> >
> > On 13/12/2015 00:16, Vagrant Cascadian wrote:
> > > On 2015-11-24, Marek Vasut wrote:
> > >> From: Vagrant Cascadian
On Wednesday, December 30, 2015 at 02:35:01 AM, Wills Wang wrote:
> On 12/29/2015 09:25 PM, Marek Vasut wrote:
> > On Tuesday, December 29, 2015 at 02:00:27 PM, Thomas Chou wrote:
> >> Hi Wills,
> >>
> >> On 2015年12月29日 19:17, Wills Wang wrote:
> >>> diff --git a/arch/mips/mach-ath79/Kconfig
>
Hi Marek,
On 2015年12月29日 21:25, Marek Vasut wrote:
On Tuesday, December 29, 2015 at 02:00:27 PM, Thomas Chou wrote:
Hi Wills,
On 2015年12月29日 19:17, Wills Wang wrote:
diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig
index 1d92a5b..b5668e9 100644
---
On Wednesday, December 30, 2015 at 12:46:23 AM, Thomas Chou wrote:
> Hi Marek,
>
> On 2015年12月29日 21:25, Marek Vasut wrote:
> > On Tuesday, December 29, 2015 at 02:00:27 PM, Thomas Chou wrote:
> >> Hi Wills,
> >>
> >> On 2015年12月29日 19:17, Wills Wang wrote:
> >>> diff --git
On 12/29/2015 08:49 PM, Antony Pavlov wrote:
On Tue, 29 Dec 2015 19:17:09 +0800
Wills Wang wrote:
U-boot just use the no MMU virtual address segment(KSEG0/1), this
patch enable access the uncached memory range(KSEG1) by flag
"MAP_NOCACHE", other flag for KSEG0 access.
On 12/29/2015 08:26 PM, Thomas Chou wrote:
Hi Wills,
On 2015年12月29日 19:17, Wills Wang wrote:
> +DECLARE_GLOBAL_DATA_PTR;
The gd is not used in this patch. It can be removed.
+static int ar933x_serial_putc(struct udevice *dev, const char c)
+{
+u32 data;
+
+do {
+data =
On 12/29/2015 09:00 PM, Thomas Chou wrote:
Hi Wills,
On 2015年12月29日 19:17, Wills Wang wrote:
diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig
index 1d92a5b..b5668e9 100644
--- a/arch/mips/mach-ath79/Kconfig
+++ b/arch/mips/mach-ath79/Kconfig
@@ -15,6 +15,7 @@ config
Move chip reset to separate function, use CONFIG_SMC911X_BASE instead
of hardcoded value, remove unneeded local variable from board_eth_init.
Signed-off-by: Ladislav Michl
---
board/isee/igep00x0/igep00x0.c | 33 +++--
1 file changed, 19
From: Thomas Gleixner
This is an update of Thomas's patch:
https://patchwork.ozlabs.org/patch/367306/
patch still depends on spl_nand_simple implementation:
https://patchwork.ozlabs.org/patch/367305/
Changes from original version:
- fixes ubi_calc_fm_size to include also
On 12/29/2015 09:25 PM, Marek Vasut wrote:
On Tuesday, December 29, 2015 at 02:00:27 PM, Thomas Chou wrote:
Hi Wills,
On 2015年12月29日 19:17, Wills Wang wrote:
diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig
index 1d92a5b..b5668e9 100644
---
Signed-off-by: Ladislav Michl
---
drivers/mtd/ubi/io.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c
index d1bdec3..0be9c5a 100644
--- a/drivers/mtd/ubi/io.c
+++ b/drivers/mtd/ubi/io.c
@@ -1351,7 +1351,6 @@ static int
File is already included:
omap3_igep00x0.h -> ti_omap3_common.h -> ti_armv7_omap.h ->
ti_armv7_common.h -> config_distro_defaults.h
Signed-off-by: Ladislav Michl
---
include/configs/omap3_igep00x0.h | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff
Symbol is already defined in ti_armv7_common.h which is included
via ti_armv7_omap.h
Signed-off-by: Ladislav Michl
---
include/configs/ti_omap3_common.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/configs/ti_omap3_common.h
This patch converts IGEP board to use UBI volumes for environment, u-boot,
kernel... With exception of first four sectors with SPL loaded by SoC boot
ROM whole NAND is UBI managed. I misused BOOT_DEVICE_BOARD, which is probably
not briliant idea, but works well enough. Also code it too big, so I
On Mon, 2015-12-28 at 13:39 +0100, Marek Vasut wrote:
> On Monday, December 28, 2015 at 09:51:44 AM, Chin Liang See wrote:
> > On Thu, 2015-12-24 at 02:30 +0100, Marek Vasut wrote:
> > > On Thursday, December 24, 2015 at 12:36:45 AM, Chin Liang See
> > > wrote:
> > > > On Thu, 2015-12-24 at 00:16
On Tue, 2015-12-29 at 09:38 +0100, Marek Vasut wrote:
> Init the rule ID, otherwise the debug code will always dump the
> protection settings entry 0.
>
> Signed-off-by: Marek Vasut
> Cc: Chin Liang See
> Cc: Dinh Nguyen
> Cc:
Am 29.12.2015 um 12:17 schrieb Wills Wang:
> Signed-off-by: Wills Wang
> ---
>
> Changes in v5:
> - Move CONFIG_SYS_TEXT_BASE into ap121.h, and remove config.mk
> - Remove useless README file
> - Remove useless checkboard function
>
> Changes in v4: None
> Changes in v3:
On Tuesday, December 29, 2015 at 10:06:06 PM, Chin Liang See wrote:
> On Mon, 2015-12-28 at 13:39 +0100, Marek Vasut wrote:
> > On Monday, December 28, 2015 at 09:51:44 AM, Chin Liang See wrote:
> > > On Thu, 2015-12-24 at 02:30 +0100, Marek Vasut wrote:
> > > > On Thursday, December 24, 2015 at
On Tuesday, December 29, 2015 at 10:04:55 PM, Chin Liang See wrote:
> On Tue, 2015-12-29 at 09:38 +0100, Marek Vasut wrote:
> > Init the rule ID, otherwise the debug code will always dump the
> > protection settings entry 0.
> >
> > Signed-off-by: Marek Vasut
> > Cc: Chin Liang
Hi Miao,
On Tue, Dec 29, 2015 at 6:35 PM, Miao Yan wrote:
> The QEMU fw_cfg interface allows the guest to retrieve various
> data information from QEMU. For example, APCI/SMBios tables, number
> of online cpus, kernel data and command line, etc.
>
> This patch adds support
On Tue, Dec 29, 2015 at 6:35 PM, Miao Yan wrote:
> Add a cpu uclass driver for qemu. Previously, the qemu
> target gets cpu number from board dts files, which are
> manually created at compile time. This does not scale
> when more cpus are assigned to guest as the dts files
On Mon, Dec 14, 2015 at 5:29 PM, Michal Simek wrote:
> On 14.12.2015 07:26, Stefan Roese wrote:
>> On 12.12.2015 15:08, Nathan Rossi wrote:
>>> On Sat, Dec 12, 2015 at 10:05 PM, Stefan Roese wrote:
On 11.12.2015 18:32, Marek Vasut wrote:
>
> On
On 12/30/2015 03:09 AM, Daniel Schwierzeck wrote:
diff --git a/arch/mips/include/asm/global_data.h
b/arch/mips/include/asm/global_data.h
index 2d9a0c9..3799e98 100644
--- a/arch/mips/include/asm/global_data.h
+++ b/arch/mips/include/asm/global_data.h
@@ -20,6 +20,12 @@ struct arch_global_data
The MMC spec says "It is strongly recommended for hosts to implement
more than 500ms timeout value even if the card indicates the 250ms
maximum busy length." Even the previous value of 300ms is known to
be insufficient for some cards. So, increase the timeout to 500ms.
Signed-off-by: Yangbo Lu
Hi Marek and Wills,
On 2015年12月30日 08:51, Marek Vasut wrote:
Just skimming through the code, it seems like bitbanging the SPI using the
generic soft-spi driver might be easier ;-/
I read the data sheet and Linux driver. Now I have clearer picture of
this device. In serial flash mode, it
Hi Jagan,
On Tue, Dec 29, 2015 at 5:49 PM, Jagan Teki wrote:
> This series handle flash_ids stuff inside spi_flash core.
>
> Changes for v2:
> - Remove SECT_4K flag for s25fl128s
>
> Jagan Teki (8):
> sf: Add spi_flash_ids local to core
> sf: Rename SST_WR to
On Monday 28 December 2015 08:19 PM, Jagan Teki wrote:
> On 23 December 2015 at 20:39, Mugunthan V N wrote:
>> spi bus can support dual and quad wire data transfers for tx and
>> rx. So defining dual and quad modes for both tx and rx. Also add
>> support to parse bus width
Hi Miao,
On Tue, Dec 29, 2015 at 6:35 PM, Miao Yan wrote:
> Reserve more spaces for x86 dtb files. Otherwise when booting
> on qemu targets, fixing 'cpu' node may fail due to lack
> of space left in dtb.
>
> Signed-off-by: Miao Yan
> ---
>
On Tue, Dec 29, 2015 at 6:35 PM, Miao Yan wrote:
> Rename 'find_cpu_by_apid_id' to 'find_cpu_by_apic_id'. This
> should be a typo.
>
> Signed-off-by: Miao Yan
> ---
> arch/x86/cpu/mp_init.c | 6 +++---
> 1 file changed, 3 insertions(+), 3
Hi Miao,
On Tue, Dec 29, 2015 at 6:35 PM, Miao Yan wrote:
> Document the usage of 'fw' command
>
> Signed-off-by: Miao Yan
> ---
> Changes in v2:
> - various cleanup
>
> doc/README.x86 | 36 +---
> 1 file changed,
On Tue, Dec 29, 2015 at 6:35 PM, Miao Yan wrote:
> Add a function to fixup 'cpus' node in dts files for qemu target.
>
> Signed-off-by: Miao Yan
> ---
> Changes in v2:
> - various cleanups
>
> arch/x86/cpu/qemu/fw_cfg.c | 65
>
On Tue, Dec 29, 2015 at 6:35 PM, Miao Yan wrote:
> Use actual CPU number, instead of maximum cpu configured,
> to allocate stack memory in 'load_sipi_vector'
>
> Signed-off-by: Miao Yan
> ---
> Changes in v2:
> - fix commit message
>
>
On Tue, Dec 29, 2015 at 6:35 PM, Miao Yan wrote:
> Remove 'cpus' node in dts files for QEMU targets,
> retrieve cpu number through 'fw_cfg' interface and
> fix up device tree blob at runtime.
>
> Signed-off-by: Miao Yan
> ---
> Changes in v2:
> -
On Tue, Dec 29, 2015 at 6:35 PM, Miao Yan wrote:
> Add a function to fixup 'cpus' node in dts files for qemu target.
>
fixup -> fix up
> Signed-off-by: Miao Yan
> ---
> Changes in v2:
> - various cleanups
>
> arch/x86/cpu/qemu/fw_cfg.c | 65
>
On Monday 28 December 2015 11:08 PM, Jagan Teki wrote:
> From: Mugunthan V N
>
> spi bus can support dual and quad wire data transfers for tx and
> rx. So defining dual and quad modes for both tx and rx. Also add
> support to parse bus width used for spi tx and rx transfers.
On 12/30/2015 03:27 AM, Daniel Schwierzeck wrote:
diff --git a/include/configs/ap121.h b/include/configs/ap121.h
new file mode 100644
index 000..21fb04e
--- /dev/null
+++ b/include/configs/ap121.h
@@ -0,0 +1,86 @@
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#include
+
+#define
Hi Simon,
On 22.12.2015 05:21, Simon Glass wrote:
> Hi Michal,
>
> On 22 January 2014 at 04:02, Michal Simek wrote:
>> Command provides just dump subcommand for showing clock
>> frequencies in a soc.
>>
>> Signed-off-by: Michal Simek
>> ---
>>
On 22.12.2015 03:10, Joe Hershberger wrote:
> Hi Michal,
>
> On Fri, Oct 30, 2015 at 10:00 AM, Michal Simek
> wrote:
>> Cast pointers to unsigned long instead of a sized 32-bit type to avoid
>> pointer to integer cast size mismatch warnings.
>>
>> Signed-off-by: Michal
Init the rule ID, otherwise the debug code will always dump the
protection settings entry 0.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
Cc: Dinh Nguyen
---
drivers/ddr/altera/sdram.c | 1
Hello Stephen,
On 12/16/2015 07:53 PM, Stephen Warren wrote:
On 12/15/2015 09:32 AM, Przemyslaw Marczak wrote:
commit: dm: core: Enable optional use of fdt_translate_address()
enables device's bus/child address translation method, depending
on bus 'ranges' property and including child 'reg'
Hello Stephen,
On 12/16/2015 08:07 PM, Stephen Warren wrote:
On 12/16/2015 11:53 AM, Stephen Warren wrote:
On 12/15/2015 09:32 AM, Przemyslaw Marczak wrote:
commit: dm: core: Enable optional use of fdt_translate_address()
enables device's bus/child address translation method, depending
on
The fw_cfg interface provided by QEMU allow guests to retrieve various
information
about the system, e.g. cpu number, variaous firmware data, kernel setup, etc.
The
fw_cfg interface can be accessed through 3 IO ports (on x86), using x86 in/out
instructions.
- 0x510: select configuration items
Add a cpu uclass driver for qemu. Previously, the qemu
target gets cpu number from board dts files, which are
manually created at compile time. This does not scale
when more cpus are assigned to guest as the dts files
must be modified as well.
This patch adds a cpu uclass driver for qemu targets
Reserve more spaces for x86 dtb files. Otherwise when booting
on qemu targets, fixing 'cpu' node may fail due to lack
of space left in dtb.
Signed-off-by: Miao Yan
---
arch/x86/dts/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
The QEMU fw_cfg interface allows the guest to retrieve various
data information from QEMU. For example, APCI/SMBios tables, number
of online cpus, kernel data and command line, etc.
This patch adds support for QEMU fw_cfg interface.
Signed-off-by: Miao Yan
---
Changes in
Add a function to fixup 'cpus' node in dts files for qemu target.
Signed-off-by: Miao Yan
---
Changes in v2:
- various cleanups
arch/x86/cpu/qemu/fw_cfg.c | 65 ++
arch/x86/cpu/qemu/fw_cfg.h | 11
2 files changed, 76
Remove 'cpus' node in dts files for QEMU targets,
retrieve cpu number through 'fw_cfg' interface and
fix up device tree blob at runtime.
Signed-off-by: Miao Yan
---
Changes in v2:
- rebase to u-boot-x86/next
arch/x86/cpu/qemu/qemu.c | 4
Use actual CPU number, instead of maximum cpu configured,
to allocate stack memory in 'load_sipi_vector'
Signed-off-by: Miao Yan
---
Changes in v2:
- fix commit message
arch/x86/cpu/mp_init.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
Document the usage of 'fw' command
Signed-off-by: Miao Yan
---
Changes in v2:
- various cleanup
doc/README.x86 | 36 +---
1 file changed, 33 insertions(+), 3 deletions(-)
diff --git a/doc/README.x86 b/doc/README.x86
index
Rename 'find_cpu_by_apid_id' to 'find_cpu_by_apic_id'. This
should be a typo.
Signed-off-by: Miao Yan
---
arch/x86/cpu/mp_init.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/cpu/mp_init.c b/arch/x86/cpu/mp_init.c
index
This series handle flash_ids stuff inside spi_flash core.
Changes for v2:
- Remove SECT_4K flag for s25fl128s
Jagan Teki (8):
sf: Add spi_flash_ids local to core
sf: Rename SST_WR to SST_WRITE
sf: Remove SPI_NOR_DUAL|QUAD_READ
sf: Use sf_params in sandbox
sf: Remove SECT_32K
Since flash_info hadle all read modes through e_rd_cmd
there is no explicit flags for these, hence removed the
same.
Cc: Simon Glass
Cc: Bin Meng
CC: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad
This patch add's spi_flash_ids handling into core, instead
of maintaining it into separate file like sf_params.c
Code taken from the Linux spi-nor core and added missing
part id's and also added extra flash_info member as e_rd_cmd
for computing fastest read command.
Cc: Simon Glass
SST_WR => SST_WRITE
Cc: Simon Glass
Cc: Bin Meng
CC: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad Paladugu
Signed-off-by: Jagan Teki
---
sandbox.c is using sf_params, so move sf_params.o
to sandbox build.
Cc: Simon Glass
Cc: Bin Meng
Signed-off-by: Jagan Teki
---
drivers/mtd/spi/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
The fw_cfg interface provided by QEMU allow guests to retrieve various
information
about the system, e.g. cpu number, variaous firmware data, kernel setup, etc.
The
fw_cfg interface can be accessed through 3 IO ports (on x86), using x86 in/out
instructions.
- 0x510: select configuration items
Rename 'find_cpu_by_apid_id' to 'find_cpu_by_apic_id'. This
should be a typo.
Signed-off-by: Miao Yan
---
arch/x86/cpu/mp_init.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/cpu/mp_init.c b/arch/x86/cpu/mp_init.c
index
Add a cpu uclass driver for qemu. Previously, the qemu
target gets cpu number from board dts files, which are
manually created at compile time. This does not scale
when more cpus are assigned to guest as the dts files
must be modified as well.
This patch adds a cpu uclass driver for qemu targets
The QEMU fw_cfg interface allows the guest to retrieve various
data information from QEMU. For example, APCI/SMBios tables, number
of online cpus, kernel data and command line, etc.
This patch adds support for QEMU fw_cfg interface.
Signed-off-by: Miao Yan
---
Changes in
Document the usage of 'fw' command
Signed-off-by: Miao Yan
---
Changes in v2:
- various cleanup
doc/README.x86 | 36 +---
1 file changed, 33 insertions(+), 3 deletions(-)
diff --git a/doc/README.x86 b/doc/README.x86
index
Add a function to fixup 'cpus' node in dts files for qemu target.
Signed-off-by: Miao Yan
---
Changes in v2:
- various cleanups
arch/x86/cpu/qemu/fw_cfg.c | 65 ++
arch/x86/cpu/qemu/fw_cfg.h | 11
2 files changed, 76
Use actual CPU number, instead of maximum cpu configured,
to allocate stack memory in 'load_sipi_vector'
Signed-off-by: Miao Yan
---
Changes in v2:
- fix commit message
arch/x86/cpu/mp_init.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
Reserve more spaces for x86 dtb files. Otherwise when booting
on qemu targets, fixing 'cpu' node may fail due to lack
of space left in dtb.
Signed-off-by: Miao Yan
---
arch/x86/dts/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
This patch enable work for ar933x SOC, tested on ar9331 board.
Signed-off-by: Wills Wang
---
Changes in v5:
- Add independent Kconfig
- Use SRAM for initial stack
- Move DDR initialization into board_early_init_f
- Convert DDR tap tunning code to C
- Save SOC's version into
Signed-off-by: Wills Wang
---
Changes in v5:
- remove ar933x_serial_platdata
- Import document "qca,ar9330-uart.txt" from kernel
- Add support for debug UART
Changes in v4:
- Auto calculate baudrate for serial driver
- Move pinctrl code in serial driver into
Signed-off-by: Wills Wang
---
Changes in v5:
- Move CONFIG_SYS_TEXT_BASE into ap121.h, and remove config.mk
- Remove useless README file
- Remove useless checkboard function
Changes in v4: None
Changes in v3:
- Add support for device tree
Changes in v2:
- Add a reference
Signed-off-by: Wills Wang
---
Changes in v5:
- remove ar933x_spi_platdata
- Import document "spi-ath79.txt" from kernel
- Add delay for bitbang operation
Changes in v4:
- Use get_bus_freq instead of hardcode in SPI driver
Changes in v3:
- Convert spi driver to driver model
Hi Wills,
On 2015年12月29日 19:17, Wills Wang wrote:
> +DECLARE_GLOBAL_DATA_PTR;
The gd is not used in this patch. It can be removed.
+static int ar933x_serial_putc(struct udevice *dev, const char c)
+{
+ u32 data;
+
+ do {
+ data = ar933x_serial_read(dev,
This is an uncommon but annoying case. Normal error handling will ensure it
is reported, but it is useful to have a message which provides a little more
detail.
Signed-off-by: Simon Glass
---
common/malloc_simple.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
We should not return a -ve error code from command functions. Instead,
return CMD_RET_FAILURE. This avoids the "exit not allowed from main input
shell" error messages from the hush shell.
Signed-off-by: Simon Glass
---
common/cmd_i2c.c | 6 --
1 file changed, 4
On Tue, 29 Dec 2015 19:17:09 +0800
Wills Wang wrote:
> U-boot just use the no MMU virtual address segment(KSEG0/1), this
> patch enable access the uncached memory range(KSEG1) by flag
> "MAP_NOCACHE", other flag for KSEG0 access.
>
> Signed-off-by: Wills Wang
This can create a large number of pinctrl devices. It chews up early
malloc() memory and takes time. Only bind those which are marked as needed
before relocation.
Signed-off-by: Simon Glass
---
drivers/pinctrl/pinctrl-uclass.c | 4
1 file changed, 4 insertions(+)
diff
On Mon, Dec 28, 2015 at 09:02:02PM -0600, Joe Hershberger wrote:
> Hi Tom,
>
> On Wed, Dec 23, 2015 at 9:47 PM, Tom Rini wrote:
> > On Tue, Dec 22, 2015 at 11:58:01AM -0600, Joe Hershberger wrote:
> >
> >> A few patches that came in during the merge window and appear
For SPL we don't really need sprintf() and with tiny-printf this is not
available. Allow this to be dropped in SPL when using tiny-printf.
Signed-off-by: Simon Glass
---
drivers/mtd/spi/sf-uclass.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git
Add a check for NULL strings to avoid printing junk to the console.
Signed-off-by: Simon Glass
---
lib/tiny-printf.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/tiny-printf.c b/lib/tiny-printf.c
index 403b134..efe5c25 100644
---
At present we add driver-model MMC devices in the order we find them. The
'alias' order is not honoured.
It is difficult to fix this for the case where we have holes in the
sequence. But for the common case where the devices are numbered from 0
without any gaps, we can add the devices to the
For SPL we don't really need sprintf() and with tiny-printf this is not
available. Allow this to be dropped in SPL when using tiny-printf.
Signed-off-by: Simon Glass
---
drivers/gpio/gpio-uclass.c | 8
1 file changed, 8 insertions(+)
diff --git
spi_read_cmds => read_mode
e_rd_cmd => flash_read
spi_read_cmds_array => flash_read_cmd
All these are flash specific notation used in spi_flash
core hence renamed to proper naming convensions related
to flash.
Cc: Simon Glass
Cc: Bin Meng
CC: Mugunthan V
This feature was dropped at some point. Restore it.
Signed-off-by: Simon Glass
---
tools/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/Makefile b/tools/Makefile
index 9cfd80b..d49e40d 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@
Hi Michal,
On 29 December 2015 at 01:33, Michal Simek wrote:
> Hi Simon,
>
> On 22.12.2015 05:21, Simon Glass wrote:
>> Hi Michal,
>>
>> On 22 January 2014 at 04:02, Michal Simek wrote:
>>> Command provides just dump subcommand for showing clock
Various updates did not make it through to this board. Also the instructions
for building a SPI image are no-longer correct. Fix these so that Jerry can
boot to a prompt again.
Signed-off-by: Simon Glass
---
configs/chromebook_jerry_defconfig | 4
doc/README.rockchip
There is an unnecessary sector count displayed. Drop it.
Signed-off-by: Simon Glass
---
tools/rkspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/rkspi.c b/tools/rkspi.c
index 800e235..a0b0051 100644
--- a/tools/rkspi.c
+++ b/tools/rkspi.c
@@
Dear Simon,
In message
you wrote:
>
> >>> create mode 100644 common/cmd_clk.c
> >>> create mode 100644 include/clk.h
...
> Sorry, I only just noticed it. I'll see if I can create a patch to get
> the clock info from an API
On 29.12.2015 13:22, Simon Glass wrote:
Add a check for NULL strings to avoid printing junk to the console.
Signed-off-by: Simon Glass
---
lib/tiny-printf.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/tiny-printf.c b/lib/tiny-printf.c
Used CONFIG_SPI_FLASH_USE_4K_SECTORS core itself for
usage of 4K_SECTORS.
Cc: Simon Glass
Cc: Bin Meng
CC: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad Paladugu
Signed-off-by:
These series of patch add support for atheros ath79 based SOCs in u-boot,
at the present moment it's just available for ar933x chip.
Changes in v5:
- Add independent Kconfig
- Use SRAM for initial stack
- Move DDR initialization into board_early_init_f
- Convert DDR tap tunning code to C
- Save
U-boot just use the no MMU virtual address segment(KSEG0/1), this
patch enable access the uncached memory range(KSEG1) by flag
"MAP_NOCACHE", other flag for KSEG0 access.
Signed-off-by: Wills Wang
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in
Hi Wills,
On 2015年12月29日 19:17, Wills Wang wrote:
diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig
index 1d92a5b..b5668e9 100644
--- a/arch/mips/mach-ath79/Kconfig
+++ b/arch/mips/mach-ath79/Kconfig
@@ -15,6 +15,7 @@ config SOC_AR933X
select
On Tuesday, December 29, 2015 at 02:00:27 PM, Thomas Chou wrote:
> Hi Wills,
>
> On 2015年12月29日 19:17, Wills Wang wrote:
> > diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig
> > index 1d92a5b..b5668e9 100644
> > --- a/arch/mips/mach-ath79/Kconfig
> > +++
From: Ben Whitten
With format-security errors turned on, GCC picks up the use of sprintf without
a format parameter.
Signed-off-by: Ben Whitten
---
common/cmd_elf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
None of the flash part is using SECT_32K in spi_flash_ids
hence removed the same.
Cc: Simon Glass
Cc: Bin Meng
CC: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad Paladugu
Add SECT_4K_PMC for erase 4KiB block on PMC chips.
Cc: Simon Glass
Cc: Bin Meng
CC: Mugunthan V N
Cc: Michal Simek
Cc: Siva Durga Prasad Paladugu
Signed-off-by: Jagan Teki
2015-12-29 17:45 GMT+08:00 Miao Yan :
> The QEMU fw_cfg interface allows the guest to retrieve various
> data information from QEMU. For example, APCI/SMBios tables, number
> of online cpus, kernel data and command line, etc.
>
> This patch adds support for QEMU fw_cfg
At present chromebook_jerry does not boot due to a configuration error and
a missing Makefile piece. This series fixes that and also adds a few more
adjustments mostly related to SPL and pinctrl.
The first three patches could perhaps be applied for this release - the
rest are for later.
Simon
> -Original Message-
> From: Scott Wood [mailto:scottw...@freescale.com]
> Sent: Tuesday, December 29, 2015 5:52 AM
> To: Qianyu Gong ; u-boot@lists.denx.de
> Cc: Mingkai Hu ; r58...@freescale.com;
> b48...@freescale.com; shaohui@freescale.com;
1 - 100 of 101 matches
Mail list logo