Fixes: 2ccc6a0946d7 ("ddr: imx: Cleanup debug messages")
Signed-off-by: Marc Kleine-Budde
---
drivers/ddr/imx8m/ddr_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ddr/imx8m/ddr_init.c b/drivers/ddr/imx8m/ddr_init.c
index 164536800615..944cc3873e0c 10
Cc: Ahmad Fatoum
Fixes: dbbe6037f5ca ("pbl: generalize fsl i2c_early API into pbl_i2c")
Signed-off-by: Marc Kleine-Budde
---
include/pbl/i2c.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/pbl/i2c.h b/include/pbl/i2c.h
index 32e456d46b6d..ea2ae447a39f 10
Replace i.MX8MQ with i.MX8MM define.
Cc: Ahmad Fatoum
Fixes: e190e932b918 ("ARM: i.MX8MM: add InnoComm WB15 support")
Signed-off-by: Marc Kleine-Budde
---
arch/arm/boards/innocomm-imx8mm-wb15/lowlevel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/
Hello,
here are some non critical fixes on top of v2023.05.0.
regards,
Marc
Fixes: e190e932b918 ("ARM: i.MX8MM: add InnoComm WB15 support")
Cc: Ahmad Fatoum
Signed-off-by: Marc Kleine-Budde
---
arch/arm/dts/imx8mm-innocomm-wb15-evk.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/imx8mm-innocomm-wb15-evk.dts
b/ar
Add a small helper to read a single page of EEPROM data.
Signed-off-by: Marc Kleine-Budde
---
include/pbl/eeprom.h | 34 ++
1 file changed, 34 insertions(+)
diff --git a/include/pbl/eeprom.h b/include/pbl/eeprom.h
new file mode 100644
index
-Budde
---
Marc Kleine-Budde (3):
i2c: add for PBL use
common: board: phytec: import SoM detection for imx8m based SoM from
u-boot
ARM: i.MX8MM: add Phytec i.MX8 SoM support
arch/arm/boards/Makefile |1 +
arch/arm/boards/phytec-som-imx8mm/Makefile
This patch imports and cleans up the SoM detection for imx8n based SoM
from u-boot.
Signed-off-by: Marc Kleine-Budde
---
common/boards/Kconfig | 7 +
common/boards/Makefile| 1 +
common/boards/phytec/Makefile | 4
Signed-off-by: Marc Kleine-Budde
---
arch/arm/boards/Makefile |1 +
arch/arm/boards/phytec-som-imx8mm/Makefile |4 +
arch/arm/boards/phytec-som-imx8mm/board.c | 40 +
.../flash-header-imx8mm-phyboard-polis-rdk.imxcfg |7 +
arch/arm/boards
On 06.06.2023 13:21:48, Sascha Hauer wrote:
> On Tue, Jun 06, 2023 at 12:50:02PM +0200, Marc Kleine-Budde wrote:
> > Add a small helper to read a single page of EEPROM data.
> >
> > Signed-off-by: Marc Kleine-Budde
> > ---
> > include/pbl/eeprom.h | 34
On 06.06.2023 14:51:05, Ahmad Fatoum wrote:
> On 06.06.23 12:50, Marc Kleine-Budde wrote:
> > This patch imports and cleans up the SoM detection for imx8n based SoM
> > from u-boot.
> >
> > Signed-off-by: Marc Kleine-Budde
> > ---
> > common/boards/Kc
Add a small helper to read a single page of EEPROM data.
Signed-off-by: Marc Kleine-Budde
---
include/pbl/eeprom.h | 34 ++
1 file changed, 34 insertions(+)
diff --git a/include/pbl/eeprom.h b/include/pbl/eeprom.h
new file mode 100644
index
pad
- move include/phytec-som-* to include/boards/phytec
- Link to v1:
https://lore.barebox.org/20230606-phytec-som-imx8mm-v1-0-b9c2bf70b...@pengutronix.de
---
Marc Kleine-Budde (3):
i2c: add for PBL use
common: board: phytec: import SoM detection for imx8m based SoM from
u-boot
This patch imports and cleans up the SoM detection for imx8m based SoM
from u-boot.
Signed-off-by: Marc Kleine-Budde
---
common/boards/Kconfig | 7 +
common/boards/Makefile | 1 +
common/boards/phytec/Makefile
Signed-off-by: Marc Kleine-Budde
---
arch/arm/boards/Makefile |1 +
arch/arm/boards/phytec-som-imx8mm/Makefile |4 +
arch/arm/boards/phytec-som-imx8mm/board.c | 40 +
.../flash-header-imx8mm-phyboard-polis-rdk.imxcfg |7 +
arch/arm/boards
This patch imports and cleans up the SoM detection for imx8m based SoM
from u-boot.
Signed-off-by: Marc Kleine-Budde
---
common/boards/Kconfig | 7 +
common/boards/Makefile | 1 +
common/boards/phytec/Makefile
ec-som-imx8mm-v1-0-b9c2bf70b...@pengutronix.de
---
Marc Kleine-Budde (3):
i2c: add for PBL use
common: board: phytec: import SoM detection for imx8m based SoM from
u-boot
ARM: i.MX8MM: add Phytec i.MX8MM SoM support
arch/arm/boards/Makefile |1 +
arch/arm
Add a small helper to read a single page of EEPROM data.
Signed-off-by: Marc Kleine-Budde
---
include/pbl/eeprom.h | 34 ++
1 file changed, 34 insertions(+)
diff --git a/include/pbl/eeprom.h b/include/pbl/eeprom.h
new file mode 100644
index
Signed-off-by: Marc Kleine-Budde
---
arch/arm/boards/Makefile |1 +
arch/arm/boards/phytec-som-imx8mm/Makefile |4 +
arch/arm/boards/phytec-som-imx8mm/board.c | 40 +
.../flash-header-imx8mm-phyboard-polis-rdk.imxcfg |7 +
arch/arm/boards
vent if it is the known RNG self-test failure.
Fixes: 655e085e3a22 ("crypto: caam - Always do rng selftest")
Reported-by: Roland Hieber
Signed-off-by: Marc Kleine-Budde
---
drivers/hab/habv4.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/hab/habv4.c b
Fixes: 128ad3cbe043 ("scripts: Add rsatoc tool")
Signed-off-by: Marc Kleine-Budde
---
scripts/rsatoc.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/scripts/rsatoc.c b/scripts/rsatoc.c
index 647380214092..9410f33a654f 100644
--- a/scripts/rsatoc.c
+++
ively a license change and so needs confirmation by all
> copyright holders.
>
> Cc: Ahmad Fatoum
> Cc: Alexander Kurz
> Cc: Andrey Smirnov
> Cc: Bastian Krause
> Cc: Eric Bénard
> Cc: Lucas Stach
> Cc: Marcin Niestroj
> Cc: Marc Kleine-Budde
Acked-by: Marc Kleine-
ively a license change and so needs confirmation by all
> copyright holders.
>
> Cc: Sascha Hauer
> Signed-off-by: Uwe Kleine-König
Acked-by: Marc Kleine-Budde
> ---
> scripts/rsatoc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/s
index in key store (0, 2...4) */
> hab Verification index = 0
> --
> 2.30.2
>
>
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmun
On 25.02.2022 11:46:04, Bastian Krause wrote:
> On 2/25/22 11:25, Marc Kleine-Budde wrote:
> > On 25.02.2022 11:03:44, Bastian Krause wrote:
> > > Activating the field return configuration returns a locked-down board
> > > (nearly) to its open state. In order to burn
Signed-off-by: Marc Kleine-Budde
---
common/2048/2048.c| 357 ++
common/2048/LICENSE | 21 +++
common/2048/Makefile | 1 +
common/2048/README.md | 32 +
common/Makefile | 1 +
5 files changed, 412 insertions(+)
create mode
t;> promotion.
>>
>> Please see http://www.coreboot.org/Payloads
>>
>> --
>
> Amused: http://www.coreboot.org/File:Coreboot_libpayload_tint.png
> This is a really missing feature in barebox :)
What about 2048?
Marc
--
Pengutronix e.K. | Marc Kle
usb_gadget_poll();
> -}
> -static struct poller_struct poller = {
> - .func = pxa27x_udc_poller
> -};
> -
> static int __init pxa27x_udc_init(void)
> {
> register_driver(&udc_driver);
> - poller_register(&poller);
> return 0;
> }
>
The next limit with the current code will probably 2GiB.
Signed-off-by: Marc Kleine-Budde
---
lib/show_progress.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/show_progress.c b/lib/show_progress.c
index 333f498..39808d2 100644
--- a/lib/show_progress.c
Hey,
this patch series updates mx35_3ds support in barebox. In my current project
the rootfs is bigger than 32 MiB, so that it cannot be flashed with tftp with
the current blocksize of 512 bytes. So flash via nfs is added to the update
script.
Marc
__
eiver itself is activated by the CAN_PWDN
signal, too.
Signed-off-by: Marc Kleine-Budde
---
arch/arm/boards/freescale-mx35-3-stack/3stack.c |7 +++
arch/arm/mach-imx/Kconfig |4
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/arch/arm/board
e
NFS timeout to 15 to work around the problem.
Signed-off-by: Marc Kleine-Budde
---
net/nfs.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/nfs.c b/net/nfs.c
index 0a4b787..f6cbc7c 100644
--- a/net/nfs.c
+++ b/net/nfs.c
@@ -124,7 +124,7 @@ struct rpc_t {
Signed-off-by: Marc Kleine-Budde
---
arch/arm/boards/freescale-mx35-3-stack/env/config |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/freescale-mx35-3-stack/env/config
b/arch/arm/boards/freescale-mx35-3-stack/env/config
index fa45812..9f37348 100644
Signed-off-by: Marc Kleine-Budde
---
defaultenv/bin/_update | 11 ---
defaultenv/bin/_update_help | 10 +-
defaultenv/bin/update |2 +-
3 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/defaultenv/bin/_update b/defaultenv/bin/_update
index
Otherwise the kernel would not register the nand partitions.
Signed-off-by: Marc Kleine-Budde
---
arch/arm/boards/freescale-mx35-3-stack/env/config |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boards/freescale-mx35-3-stack/env/config
b/arch/arm/boards
uot;, IMX_SDRAM_CS0, 124 * 1024 * 1024,
^^^
What happened to the upper 4 MiByte?
> +IORESOURCE_MEM_WRITEABLE);
> + armlinux_add_dram(sdram_dev);
> imx35_add_fb(&ipu_fb_data);
>
On 01/27/2012 01:38 PM, Sascha Hauer wrote:
> On Fri, Jan 27, 2012 at 01:35:29PM +0100, Marc Kleine-Budde wrote:
>>>
>>> - register_device(&sdram_dev);
>>> + sdram_dev = add_mem_device("
ossible.
Not yet, but we can port the CAN stack to barebox. However, if you have
the space, I suggest to boot into a minimal Linux-System to run the
update there.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions| Phone: +49-231-2826-924
y we have all components (Kernel, CAN-Stack,
minimal Userspace).
regards, Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions| Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917- |
Amtsgericht Hildesh
Signed-off-by: Marc Kleine-Budde
---
common/memory.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/memory.c b/common/memory.c
index faff33b..3b4a5ef 100644
--- a/common/memory.c
+++ b/common/memory.c
@@ -58,7 +58,7 @@ void mem_malloc_init(void *start, void *end
Some drivers call dma_inv_range() on buffers, on arm these buffers must
be cache line aligned. This patch add dma_alloc, dma_free to existing
dma-mapping.h. On nios the mem is aligned to DCACHE_LINE_SIZE.
Signed-off-by: Marc Kleine-Budde
---
arch/nios2/include/asm/dma-mapping.h | 10
dma_alloc() allocates memory aligned to cache lines. We have to use
cache line aligned buffers if a driver calls dma_inv_range on the
buffer. Add dma_free() for documentation reasons, too.
Signed-off-by: Marc Kleine-Budde
---
arch/arm/include/asm/dma.h |8
arch/arm/include/asm
dma_inv_range can
corrupt other memory around the buffer.
Signed-off-by: Sascha Hauer
[mkl: use dma_alloc]
Signed-off-by: Marc Kleine-Budde
---
drivers/usb/gadget/composite.c |5 +++--
drivers/usb/gadget/dfu.c |5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a
: Marc Kleine-Budde
---
arch/blackfin/include/asm/dma.h | 21 +
arch/mips/include/asm/dma.h | 21 +
arch/openrisc/include/asm/dma.h | 21 +
arch/ppc/include/asm/dma.h | 21 +
arch/sandbox/include/asm
dma_alloc]
Signed-off-by: Marc Kleine-Budde
---
drivers/usb/gadget/fsl_udc.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/fsl_udc.c b/drivers/usb/gadget/fsl_udc.c
index 5b64ec2..2765b41 100644
--- a/drivers/usb/gadget/fsl_udc.c
+++ b/drivers/usb/gadget
Signed-off-by: Marc Kleine-Budde
---
arch/arm/cpu/mmu.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/arch/arm/cpu/mmu.c b/arch/arm/cpu/mmu.c
index c19f931..55b07a4 100644
--- a/arch/arm/cpu/mmu.c
+++ b/arch/arm/cpu/mmu.c
@@ -299,11 +299,9 @@ void
Hello,
on ARM using dfu mode we've seen problems with dma memory allocations.
Some drivers use dma_inv_range on allocated buffers, which corrupts memory
around the buffer, it it's not aligned to cache lines. This series
introduces: dma_alloc() and dma_free() that allocate memory aligned to
cache l
On 06/19/2012 02:36 PM, Marc Kleine-Budde wrote:
> on ARM using dfu mode we've seen problems with dma memory allocations.
> Some drivers use dma_inv_range on allocated buffers, which corrupts memory
> around the buffer, it it's not aligned to cache lines. This series
> intro
This patch add dma_alloc to existing dma-mapping.h. On nios the mem is
aligned to D_ACHE_LINE_SIZE.
Signed-off-by: Marc Kleine-Budde
---
arch/nios2/include/asm/dma-mapping.h | 10 ++
arch/nios2/include/asm/dma.h |8
2 files changed, 18 insertions(+)
create mode
Signed-off-by: Marc Kleine-Budde
---
arch/arm/cpu/mmu.c |4
1 file changed, 4 deletions(-)
diff --git a/arch/arm/cpu/mmu.c b/arch/arm/cpu/mmu.c
index c19f931..55b07a4 100644
--- a/arch/arm/cpu/mmu.c
+++ b/arch/arm/cpu/mmu.c
@@ -299,11 +299,9 @@ void *dma_alloc_coherent(size_t size
on ARM using dfu mode we've seen problems with dma memory allocations.
Some drivers use dma_inv_range on allocated buffers, which corrupts memory
around the buffer, it it's not aligned to cache lines. This series
introduces: dma_alloc() and dma_free() that allocate memory aligned to
cache lines. Th
dma_alloc]
Signed-off-by: Marc Kleine-Budde
---
drivers/usb/gadget/fsl_udc.c |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/fsl_udc.c b/drivers/usb/gadget/fsl_udc.c
index 5b64ec2..627e417 100644
--- a/drivers/usb/gadget/fsl_udc.c
+++ b/drivers/usb/gadget
ee
On all other archs the generic versions, which translate into xmalloc
and free are used.
Signed-off-by: Marc Kleine-Budde
---
arch/blackfin/include/asm/dma.h | 13 +
arch/mips/include/asm/dma.h | 13 +
arch/openrisc/include/asm/dma.h | 13 +
arch/p
dma_alloc() allocates memory aligned to cache lines. We have to use
cache line aligned buffers if a driver calls dma_inv_range on the
buffer.
Signed-off-by: Marc Kleine-Budde
---
arch/arm/include/asm/dma.h |8
arch/arm/include/asm/mmu.h | 13 +++--
2 files changed, 19
dma_inv_range can
corrupt other memory around the buffer.
Signed-off-by: Sascha Hauer
[mkl: use dma_alloc]
Signed-off-by: Marc Kleine-Budde
---
drivers/usb/gadget/composite.c |5 +++--
drivers/usb/gadget/dfu.c |5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a
CLUDE_RESET_SOURCE_H
> +# define __INCLUDE_RESET_SOURCE_H
> +
> +/* possible parameters to set_reset_source() */
> +#define RESET_UKWN 0
> +#define RESET_POR 1 /* Power On Reset */
> +#define RESET_RST 2 /* generic ReST */
> +#define RESET_WDG 3 /* watchdog */
> +#define RESET
}
That "writel(S3C2440_GSTATUS2_WDRST...)" is the same in each line, isn't it?
What about this:
if (reg & S3C2440_GSTATUS2_PWRST)
set_reset_source(RESET_POR);
else if (...)
else if (..)
else
return 0;
writel(S3C2440_
On 06/20/2012 05:05 PM, Juergen Beisert wrote:
> Marc Kleine-Budde wrote:
>> [...]
>>> +static int s3c_detect_reset_source(void)
>>> +{
>>> + u32 reg = readl(S3C_GPIO_BASE + S3C2440_GSTATUS2);
>>> +
>>> + if (reg & S3C2440_GS
This patch fixes this warning:
drivers/mtd/nand/nand_mxs.c: In function 'mxs_nand_scan_bbt':
drivers/mtd/nand/nand_mxs.c:1043:2: warning:
implicit declaration of function 'mxs_reset_block'
[-Wimplicit-function-declaration]
Signed-off-by: Marc Kleine-Budde
---
...applied to
tained from the imx code signing tool (imx-cst).
>
> Signed-off-by: Stefan Kerkmann
What's the size of a size_t on imx6? We don't want to break the 32 bit
platforms.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux |
Hello,
while rebasing an internal branch, I found some style fixes for the
habv4 and ocotp driver.
regards,
Marc
Signed-off-by: Marc Kleine-Budde
---
drivers/hab/habv4.c | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/drivers/hab/habv4.c b/drivers/hab/habv4.c
index c60a658b89af..6440ef7f5196 100644
--- a/drivers/hab/habv4.c
+++ b/drivers/hab/habv4.c
@@ -147,9 +147,11
Mark values obtained from "priv->data->ctrl" as const.
Signed-off-by: Marc Kleine-Budde
---
drivers/nvmem/ocotp.c | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/nvmem/ocotp.c b/drivers/nvmem/ocotp.c
index 16d2a6be9fce..c28
Replace space+tabs by tabs only for indention.
Fixes: 1c2d1d4e5985 ("ARM: i.MX8MP: enhance support for ocotp driver")
Signed-off-by: Marc Kleine-Budde
---
drivers/nvmem/ocotp.c | 50 ++-
1 file changed, 26 insertions(+), 24 deletions(-)
di
message
for more details:
29abc10d44c2 habv4: add High Assurance Boot v4
Albeit giving an incorrect error message, it showed that there were
warnings events on the new mx6 silicon revisions that were not handled
before 81e2b508e785.
Marc
--
Pengutronix e.K. | Marc Kleine-Bud
On 12/2/19 2:33 PM, Roland Hieber wrote:
> On Mon, Dec 02, 2019 at 02:24:54PM +0100, Marc Kleine-Budde wrote:
>> On 12/2/19 2:07 PM, Roland Hieber wrote:
>>> On Mon, Dec 02, 2019 at 11:24:48AM +0100, Juergen Borleis wrote:
>>>> This change removes the stupid e
On 12/2/19 3:30 PM, Juergen Borleis wrote:
> Am Montag, den 02.12.2019, 14:24 +0100 schrieb Marc Kleine-Budde:
>> On 12/2/19 2:07 PM, Roland Hieber wrote:
>>> On Mon, Dec 02, 2019 at 11:24:48AM +0100, Juergen Borleis wrote:
>>>> This change removes the stupid e
k reason for stopping */
> + /* Check if we've handled every event */
> len = sizeof(data);
> - index = 0;
> - if (rvt->report_event(HAB_STATUS_ANY, index, NULL, &len) ==
> HAB_STATUS_SUCCESS)
> - pr_err("ERROR: Recompile with larger e
NULL
>>> instead of returning ERR_PTR(-ENOSYS).
>>
>> initially I came to the same result. But previous commits to param.h went in
>> the opposite direction:
>>
>>> 03b59bdb64 ("paramter: The dev_add_param_*() return ERR_PTR(), change
>>> no-ops&q
| 57 ++
what about making this a common bootmode helper, which can be used on
other platforms too?
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions| Phone: +49-231-2826-924 |
Vertretung West/Dortmund |
gt; + start[offset] = anti_pattern;
> + }
> +
> + show_progress(offset);
> +
> + printf("\nFilling ram with inverted pattern and compare it...\n");
> +
> + /*
> + * Check each location for the inverted pattern and zero it.
> +
start, end, bank->size,
> + bank->res->name);
> +
> + err = mem_test(start, end, bus_only);
> + if (err == -EINTR) {
> + printf("Test interrupted
enerated by ptxdist.
Why don't you configure ptxdist to generate an image with the correct
VID header offset?
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions| Phone: +49-231-2826-924 |
Vertretung West/Dortmund | F
On 02/12/2013 11:52 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 23:49 Tue 12 Feb , Marc Kleine-Budde wrote:
>> On 02/11/2013 04:14 PM, Xavier Douville wrote:
>>> Hi
>>>
>>> Sascha Hauer wrote:
>>>> I don't know exactly, but I suspect
gt; filename);
> - envfs_save(filename, dirname);
> +
> + err = envfs_save(filename, dirname);
> +
> + if(verbose && err)
dito
> + printf("saving env failed: %d\n", err);
> }
> - exit(0);
> +
Signed-off-by: Marc Kleine-Budde
---
drivers/serial/Makefile |1 +
drivers/serial/serial_auart.c | 257 +
2 files changed, 258 insertions(+)
create mode 100644 drivers/serial/serial_auart.c
diff --git a/drivers/serial/Makefile b/drivers/serial
Hello,
this series adds support for the mxs application uart driver. Lifted from TQS's
u-boot patches.
regards,
Marc
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Signed-off-by: Marc Kleine-Budde
---
drivers/serial/Kconfig |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index a8be9cd..b23d17e 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -21,7 +21,7 @@ config
Signed-off-by: Marc Kleine-Budde
---
drivers/serial/Kconfig |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index a8be9cd..b23d17e 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -21,7 +21,7 @@ config
Signed-off-by: Marc Kleine-Budde
---
drivers/serial/Kconfig|4 +
drivers/serial/Makefile |1 +
drivers/serial/serial_auart.c | 238 +
3 files changed, 243 insertions(+)
create mode 100644 drivers/serial/serial_auart.c
diff --git a
Hello,
this series adds support for the mxs application uart driver. Lifted from TQS's
u-boot patches.
regards,
Marc
changes since v1:
- fix comments (auart_serial_getc(), auart_serial_setbaudrate())
- use auart_serial_setbaudrate
Both suggested by Sascha.
Actually wait until fifo is empty.
Signed-off-by: Marc Kleine-Budde
---
drivers/serial/serial_auart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/serial/serial_auart.c b/drivers/serial/serial_auart.c
index fa2e04f..1aebb07 100644
--- a/drivers/serial
Wait until fifo is empty, not until fifo is not full.
Signed-off-by: Marc Kleine-Budde
---
drivers/serial/stm-serial.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/serial/stm-serial.c b/drivers/serial/stm-serial.c
index 3968892..e1276bd 100644
--- a/drivers
Hello,
this series fixes problems in the auart and stm serial driver.
regards,
Marc
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Hello,
this series first cleans up the i.mx specific bootsource code. Then the arch
independent code is moved into a seperate file, creating an arch independent
framework. The last patch adds bootsource detection for the i.mx28.
regards,
Marc
___
bar
This function gives all functions a common, i.e. void, return value.
Signed-off-by: Marc Kleine-Budde
---
arch/arm/mach-imx/boot.c | 18 ++
arch/arm/mach-imx/include/mach/generic.h | 8
2 files changed, 10 insertions(+), 16 deletions(-)
diff --git a
This patch removes some code leftover from:
a029e32 ARM i.MX: rework bootsource setting
which is now a no-op.
Signed-off-by: Marc Kleine-Budde
---
arch/arm/mach-imx/boot.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/arch/arm/mach-imx/boot.c b/arch/arm/mach-imx/boot.c
index
Enums are in the same way as defines, so write them in uppercase.
Signed-off-by: Marc Kleine-Budde
---
arch/arm/boards/efika-mx-smartbook/board.c | 2 +-
arch/arm/boards/karo-tx53/board.c | 4 +-
arch/arm/boards/pcm038/pcm038.c| 2 +-
arch/arm/mach-imx/boot.c
Add a C interface to set and get the bootsource instance:
int bootsource_get_instance(void);
void bootsource_set_instance(int instance);
Also export the shell variable "barebox_loc_instance".
Signed-off-by: Marc Kleine-Budde
---
common/bootsource.c | 20 +++
This patch renames imx_27_boot_save_loc() to imx27_boot_save_loc(), so that all
imx*_boot_save_loc() functions follow the same nameing sheme.
Signed-off-by: Marc Kleine-Budde
---
arch/arm/mach-imx/boot.c | 2 +-
arch/arm/mach-imx/imx27.c| 2 +-
arch/arm/mach-imx
This way the bootsource is exported to the environment, even if unknown.
Signed-off-by: Marc Kleine-Budde
---
common/bootsource.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/common/bootsource.c b/common/bootsource.c
index 2aa0ffa..ebe4407 100644
--- a/common
This patch creates a seperate function for mx25 and mx35 to save it's
bootsource.
Signed-off-by: Marc Kleine-Budde
---
arch/arm/mach-imx/boot.c | 22 +-
arch/arm/mach-imx/imx25.c| 6 +-
arch/arm/mach-imx/imx35.c
Signed-off-by: Marc Kleine-Budde
---
common/bootsource.c | 2 ++
include/bootsource.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/common/bootsource.c b/common/bootsource.c
index fae554d..599bcd2 100644
--- a/common/bootsource.c
+++ b/common/bootsource.c
@@ -31,6 +31,8 @@ static const
For now only the v1.2 i.MX28 silicon is supported. The actual information is
read from a magic address within the internal SRAM.
Signed-off-by: Marc Kleine-Budde
---
arch/arm/mach-mxs/imx.c | 99 +++
arch/arm/mach-mxs/include/mach/revision.h | 24
This patch seperates the imx independent from the arch independent code. The
following functions and enums are renamed:
- imx_bootsource() -> bootsource_get()
- imx_set_bootsource() -> bootsource_set()
- enum imx_bootsource -> enum bootsource
Signed-off-by: Marc Kleine-Budde
---
On 04/03/2013 08:52 AM, Sascha Hauer wrote:
> From: Marc Kleine-Budde
>
> Add a C interface to set and get the bootsource instance:
>
> int bootsource_get_instance(void);
> void bootsource_set_instance(int instance);
>
> Also export the shell variab
This way the bootsource is exported to the environment, even if unknown.
Signed-off-by: Marc Kleine-Budde
Signed-off-by: Sascha Hauer
---
common/bootsource.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/common/bootsource.c b/common/bootsource.c
index 6f9ae54
Signed-off-by: Marc Kleine-Budde
---
common/bootsource.c | 4
include/bootsource.h | 4
2 files changed, 8 insertions(+)
diff --git a/common/bootsource.c b/common/bootsource.c
index 7367215..7f3d51f 100644
--- a/common/bootsource.c
+++ b/common/bootsource.c
@@ -27,10 +27,14 @@ static
Add a C interface to set and get the bootsource instance:
int bootsource_get_instance(void);
void bootsource_set_instance(int instance);
Also export the shell variable "bootsource_instance".
Signed-off-by: Marc Kleine-Budde
Signed-off-by: Sascha Hauer
---
common/bootsour
stage loader.
Signed-off-by: Sascha Hauer
Signed-off-by: Marc Kleine-Budde
---
arch/arm/boards/efika-mx-smartbook/env/init/bootsource | 2 +-
arch/arm/mach-imx/boot.c | 8
arch/arm/mach-imx/imx51.c | 2 +-
3 files changed, 6
1 - 100 of 397 matches
Mail list logo