The PLL setup is needed to use the USB ports in Linux.
This code is ported from mainline U-Boot arch/arm/mach-mvebu/cpu.c.
Signed-off-by: Jan Luebbe
---
arch/arm/mach-mvebu/armada-370-xp.c| 45 ++
.../mach-mvebu/include/mach/armada-370-xp-regs.h | 2 +
2
The descriptions of -a and -p were mismatched.
Signed-off-by: Jan Luebbe
---
commands/bootchooser.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commands/bootchooser.c b/commands/bootchooser.c
index 91938fe55173..ac763a655385 100644
--- a/commands/bootchooser.c
+++ b
Without these, 'devinfo pwmX' will show enabled=0 even though the PWM
was enabled (for example by a pwm-backlight).
Signed-off-by: Jan Luebbe
---
drivers/pwm/core.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/pwm/core.c b/drivers/pwm/core.c
index 360520195a05..ee
These flags are already parsed from DT, so we can just use them to
configure the timings correctly.
Signed-off-by: Jan Luebbe
---
drivers/video/imx-ipu-v3/ipufb.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/video/imx-ipu-v3/ipufb.c b/drivers/video/imx-ipu-v3
From: Philippe Leduc
Add a driver compatible with "fsl,imx-parallel-display" in order
to enable parallel display with the i.MX IPUv3.
Signed-off-by: Philippe Leduc
Signed-off-by: Jan Luebbe
---
I've updated Philippe's patch to the current barebox (we now use bus_form
Since ce6755ca1c41b8dd3b40cf3c9d6f3a1237a92720, both IPU and OpenVG are
enabled if CONFIG_DRIVER_VIDEO_IMX_IPUV3 is true, but in the other case,
only OpenVG was disabled.
Signed-off-by: Jan Luebbe
---
arch/arm/mach-imx/clk-imx6.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
These registers are already set by imx6_ccm_probe (in clk-imx6.c) during
core_initcall, while imx6_init_lowlevel is only called during
postcore_initcall via imx_init in imx.c.
Signed-off-by: Jan Luebbe
---
arch/arm/mach-imx/imx6.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/arch
Signed-off-by: Jan Luebbe
---
arch/arm/mach-imx/clk-imx6.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/clk-imx6.c b/arch/arm/mach-imx/clk-imx6.c
index 26dfd1a7e16b..8ac43bebb075 100644
--- a/arch/arm/mach-imx/clk-imx6.c
+++ b/arch/arm/mach-imx/clk
Signed-off-by: Jan Luebbe
---
drivers/eeprom/at24.c | 38 ++
1 file changed, 38 insertions(+)
diff --git a/drivers/eeprom/at24.c b/drivers/eeprom/at24.c
index bb2dd53..76f30e7 100644
--- a/drivers/eeprom/at24.c
+++ b/drivers/eeprom/at24.c
@@ -21,6 +21,8
This driver is based on the Linux driver (v4.0).
Signed-off-by: Jan Luebbe
---
Changes from v1:
- Fix style problems reported by checkpatch (reported by Antony Pavlov).
drivers/mtd/nand/Kconfig| 7 +
drivers/mtd/nand/Makefile | 1 +
drivers/mtd/nand/davinci_nand.c | 856
This driver is based on the Linux driver (v4.0).
Signed-off-by: Jan Luebbe
---
Changes from v1:
- Check result of dev_request_mem_region() with IS_ERR (reported by Sascha
Hauer).
drivers/watchdog/Kconfig | 6 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog
Signed-off-by: Jan Luebbe
---
common/state.c | 4
1 file changed, 4 insertions(+)
diff --git a/common/state.c b/common/state.c
index 1243320..1ff0e24 100644
--- a/common/state.c
+++ b/common/state.c
@@ -1377,6 +1377,8 @@ static int backend_raw_save_one(struct state_backend_raw
Signed-off-by: Jan Luebbe
---
common/state.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/state.c b/common/state.c
index 1ff0e24..aa436fc 100644
--- a/common/state.c
+++ b/common/state.c
@@ -1279,7 +1279,7 @@ static int backend_raw_load_one(struct state_backend_raw
This is based on commit 9dcb0e7b999db6c420c70fd32497a979a044fcdf from
the kernel with some additional fixes.
Signed-off-by: Jan Luebbe
---
drivers/i2c/busses/i2c-omap.c | 84 +--
1 file changed, 81 insertions(+), 3 deletions(-)
diff --git a/drivers/i2c
Replace jiffies from kernel code with get_time_ns. The flags variable
used in the readbytes debug output does not exist.
Signed-off-by: Jan Luebbe
---
drivers/i2c/algos/i2c-algo-bit.c | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/drivers/i2c/algos/i2c-algo
If we have a timeout while waiting, try to recover.
Signed-off-by: Jan Luebbe
---
drivers/i2c/algos/i2c-algo-bit.c | 32
1 file changed, 32 insertions(+)
diff --git a/drivers/i2c/algos/i2c-algo-bit.c b/drivers/i2c/algos/i2c-algo-bit.c
index 62040cc..2563c0d
s the kernel makes
it easy to port the per-driver code to barebox.
Changes from v1:
- Let the driver configure the function pointers to avoid linking in
i2c_generic_gpio_recovery when it is not actually needed.
- Add recovery support to i2c-gpio.
Jan Luebbe (6):
i2c: add bus rec
Signed-off-by: Jan Luebbe
---
drivers/i2c/busses/i2c-gpio.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/i2c/busses/i2c-gpio.c b/drivers/i2c/busses/i2c-gpio.c
index b4a0ecd..9362ed1 100644
--- a/drivers/i2c/busses/i2c-gpio.c
+++ b/drivers/i2c/busses/i2c-gpio.c
@@ -10,6
This implements the fix from the kernel commit
4cdbf7d346e7461c3b93a26707c852e2c9db3753.
Signed-off-by: Jan Luebbe
---
drivers/i2c/busses/i2c-omap.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index 330db98..58d2ec9
This is based on the code introduced to the kernel in
5f9296ba21b3c395e53dd84e7ff9578f97f24295.
Signed-off-by: Jan Luebbe
---
drivers/i2c/i2c.c | 130 ++
include/i2c/i2c.h | 45 +++
2 files changed, 175 insertions(+)
diff
Signed-off-by: Jan Luebbe
---
drivers/i2c/busses/i2c-omap.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index 3abf05a..48c55da 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -1001,7
This implements the fix from the kernel commit
4cdbf7d346e7461c3b93a26707c852e2c9db3753.
Signed-off-by: Jan Luebbe
---
drivers/i2c/busses/i2c-omap.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index 330db98..58d2ec9
Signed-off-by: Jan Luebbe
---
drivers/of/base.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 3e40a48..7f35ee5 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -2000,7 +2000,7 @@ int of_device_enable_path(const char *path
This is based on the code introduced to the kernel in
5f9296ba21b3c395e53dd84e7ff9578f97f24295.
Signed-off-by: Jan Luebbe
---
drivers/i2c/i2c.c | 161 ++
include/i2c/i2c.h | 42 ++
2 files changed, 203 insertions(+)
diff --git a
Signed-off-by: Jan Luebbe
---
drivers/spi/spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index ba23cf7..99412b0 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -113,7 +113,7 @@ static void spi_of_register_slaves(struct
Signed-off-by: Jan Luebbe
---
drivers/i2c/i2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/i2c.c b/drivers/i2c/i2c.c
index 7a6bde0..ebc7e23 100644
--- a/drivers/i2c/i2c.c
+++ b/drivers/i2c/i2c.c
@@ -278,7 +278,7 @@ static void of_i2c_register_devices(struct
This is based on commit 9dcb0e7b999db6c420c70fd32497a979a044fcdf from
the kernel with some additional fixes.
Signed-off-by: Jan Luebbe
---
drivers/i2c/busses/i2c-omap.c | 91 +--
1 file changed, 88 insertions(+), 3 deletions(-)
diff --git a/drivers/i2c
set_scl may be ineffective before calling the driver specific
prepare_recovery callback.
Signed-off-by: Jan Luebbe
---
drivers/i2c/i2c.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/i2c/i2c.c b/drivers/i2c/i2c.c
index e350ac5..39837fe 100644
--- a/drivers/i2c
This series ports the kernel's i2c bus recovery support to barebox.
Bus recovery is necessary when a slave device pulls the SDA line low because it
is in a wrong state. The fix is to toggle the SCL line, which move the slaves
into the idle state. Using the same structure and callbacks as the kerne
This helps with finding out why the state cannot be loaded correctly.
Signed-off-by: Jan Luebbe
---
common/state.c | 19 ++-
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/common/state.c b/common/state.c
index d243de8..0be0efe 100644
--- a/common/state.c
+++ b
Signed-off-by: Jan Luebbe
---
common/state.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/common/state.c b/common/state.c
index 0be0efe..7076f57 100644
--- a/common/state.c
+++ b/common/state.c
@@ -61,6 +61,7 @@ struct state_backend {
enum
Hi,
these patches apply to for-next/state. The first improves the error reporting
and the second makes it easier to use the state framework with small EEPROMs.
Regards,
Jan
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.or
This driver is based on the Linux driver (v4.0).
Signed-off-by: Jan Luebbe
---
drivers/mtd/nand/Kconfig| 7 +
drivers/mtd/nand/Makefile | 1 +
drivers/mtd/nand/davinci_nand.c | 866
3 files changed, 874 insertions(+)
create mode 100644
This driver is based on the Linux driver (v4.0).
Signed-off-by: Jan Luebbe
---
drivers/watchdog/Kconfig | 6 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/davinci_wdt.c | 172 +
3 files changed, 179 insertions(+)
create mode 100644
Returning other values causes problems for client code which wants to
perform calculations with the returned value.
Signed-off-by: Jan Luebbe
---
drivers/gpio/gpio-davinci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio
This driver is based on the Linux driver (v4.0).
Signed-off-by: Jan Luebbe
---
drivers/watchdog/Kconfig | 6 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/davinci_wdt.c | 172 +
3 files changed, 179 insertions(+)
create mode 100644
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
This is also needed as the first patch for the FIT support series. It seems
I can't count to 5.
common/digest.c | 12
crypto/md5.c | 1 +
crypto/sha1.c| 1 +
crypto/sha2.c| 2 ++
include/digest.h | 24
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
common/digest.c | 8
include/digest.h | 8
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/common/digest.c b/common/digest.c
index 51be2ca4148b..7187b0f23d81 100644
--- a/common/digest.c
+++ b/common/digest.c
@
Signed-off-by: Jan Luebbe
---
arch/sandbox/configs/sandbox_defconfig | 33 +
key.dtb| Bin 0 -> 1023 bytes
key.dts| 27 +++
sign-configs.itb | Bi
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
crypto/Kconfig | 3 +
crypto/Makefile | 1 +
crypto/rsa.c| 411
include/asm-generic/errno.h | 5 +
include/rsa.h | 54 ++
5 files cha
ith one or more FDT blobs'
FIT configuration 'conf@1' (no description)
sig OK
FIT image 'kernel@1' (no description)
hash OK
FIT image 'fdt@1': 'snow'
hash OK
Jan Luebbe (2):
FIT: add FIT image support
FIT: add test config and data [do not merge]
Sascha Haue
implementation.
The host tool (mkimage) to sign images has not yet been imported from U-Boot.
Signed-off-by: Jan Luebbe
---
arch/arm/lib/bootm.c | 74 +++
commands/Kconfig | 8 +
common/Kconfig | 7 +
common/Makefile | 1 +
common/image-fit.c | 585
The original script was written by Grant Likely .
The version for barebox also imports some libfdt sources, so that we are
able to compile the fdtget host tool. Also remove the unused non-kconfig
makefiles.
Signed-off-by: Jan Luebbe
---
scripts/dtc/Makefile.dtc | 18
ff-by: Jan Luebbe
---
Documentation/user/devicetree.rst | 101 +-
arch/sandbox/dts/Makefile | 5 +-
arch/sandbox/dts/sandbox-overlay.dtso | 26 +++
arch/sandbox/dts/sandbox.dts | 6 +
commands/oftree.c | 65 ++-
drivers/of/Kc
This adds support for device tree overlays as supported by Linux 4.0-rc1.
Patches 2-4 update the included DTC with overlay support.
Jan Luebbe (4):
drivers: of: implement overlay support
scripts/dtc: import update-dtc-source.sh from kernel v4.0-rc1
scripts/dtc: Update to upstream version
This contains Pantelis Antoniou's "dynamic DT support" v4:
* dtc: Symbol and local fixup generation support
* dtc: Plugin (object) device tree support.
* dtc: Document the dynamic plugin internals
Signed-off-by: Jan Luebbe
---
scripts/dtc/checks.c | 107 -
Signed-off-by: Jan Luebbe
---
.gitignore | 1 +
defaultenv/Makefile | 8 +++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index 0456bfd..1b48213 100644
--- a/.gitignore
+++ b/.gitignore
@@ -50,6 +50,7 @@ barebox-flash-image
System.map
Signed-off-by: Jan Luebbe
---
arch/arm/configs/imx233-olinuxino_defconfig | 100
1 file changed, 72 insertions(+), 28 deletions(-)
diff --git a/arch/arm/configs/imx233-olinuxino_defconfig
b/arch/arm/configs/imx233-olinuxino_defconfig
index 75b5911..5aed6a9 100644
Signed-off-by: Jan Luebbe
---
arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c
b/arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c
index 901e713..b87a676 100644
--- a/arch/arm
Some boards need to use a different memory setup. Instead of a weak
funktion like u-boot, we make the register data available to the board
code. Also add some early delay and block reset code.
Signed-off-by: Jan Luebbe
---
arch/arm/mach-mxs/include/mach/init.h | 3 ++
arch/arm/mach-mxs/mem
The EMI pins are documented in the reference manual as using value 0 for both
1.8V and 2.5V. Value 1 is reserved.
Signed-off-by: Jan Luebbe
---
arch/arm/mach-mxs/include/mach/iomux.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-mxs/include/mach/iomux.h
b
The MX23 needs a different image config, so use separate files for
MX23/MX28.
Signed-off-by: Jan Luebbe
---
arch/arm/mach-mxs/mxs23img.cfg | 6 ++
arch/arm/mach-mxs/mxs28img.cfg | 8
arch/arm/mach-mxs/mxsimg.cfg | 8
images/Makefile.mxs| 5 +++--
4 files
The current u-boot code only configures vddd once with 1500 mV as the target
and 1000 mV as the brownout trigger.
Signed-off-by: Jan Luebbe
---
arch/arm/mach-mxs/power-init.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/mach-mxs/power-init.c b/arch/arm/mach-mxs/power-init.c
- Enable multi-image support to generate bootstream, sd-card and 2nd stage
images.
- Handle pin-mux in lowlevel.c only.
- Use fine-tuned memory setup from u-boot.
Signed-off-by: Jan Luebbe
---
arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c | 61
arch/arm/boards/imx233-olinuxino
Signed-off-by: Jan Luebbe
---
arch/arm/boards/imx233-olinuxino/Makefile | 1 +
.../defaultenv-imx233-olinuxino/boot/sd| 6
.../defaultenv-imx233-olinuxino/init/automount-sd | 4 +++
.../network/eth0-discover | 6
.../defaultenv-imx233
Signed-off-by: Jan Luebbe
---
include/stringlist.h | 4 ++--
lib/stringlist.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/stringlist.h b/include/stringlist.h
index 2e2addf98f19..e85500a99485 100644
--- a/include/stringlist.h
+++ b/include/stringlist.h
Signed-off-by: Jan Luebbe
---
drivers/of/fdt.c | 4 ++--
include/of.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index cfe183350978..89f291787962 100644
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -54,7 +54,7 @@ static
Signed-off-by: Jan Luebbe
---
include/stringlist.h | 2 +-
lib/stringlist.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/stringlist.h b/include/stringlist.h
index 127998cb6e21..2e2addf98f19 100644
--- a/include/stringlist.h
+++ b/include/stringlist.h
Currently, dt_struct is always checked with the same code after
dt_struct_advance(). Move the check after the switch statement.
Signed-off-by: Jan Luebbe
---
drivers/of/fdt.c | 33 +++--
1 file changed, 11 insertions(+), 22 deletions(-)
diff --git a/drivers/of/fdt.c
Signed-off-by: Jan Luebbe
---
drivers/of/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index 97378ab59f41..90475cfbcae4 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -4,7 +4,7 @@ config OFTREE
config
Recently, a fstat function was added to barebox. Redefine it as usual
to avoid problems for the sandbox. This fixes loading files into the
sandbox.
Signed-off-by: Jan Luebbe
---
arch/sandbox/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sandbox/Makefile b
The ethernet mac and mdio nodes must be explicitly enabled to override
the disabled setting in am33xx.dtsi.
Signed-off-by: Jan Luebbe
---
arch/arm/dts/am335x-bone-common.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/am335x-bone-common.dtsi
b/arch/arm
50c0: 1000 00101001 22060514 10057016...".p..
50d0: 010f 8f07 0f00
50e0:
50f0: 1000 00101001 220
stat() and mmap() don't work on MTD devices, so use lseek() and read()
instead.
Signed-off-by: Jan Luebbe
---
scripts/bareboximd.c | 61 +++-
1 file changed, 46 insertions(+), 15 deletions(-)
diff --git a/scripts/bareboximd.c b/sc
The help definition already contained a group declaration.
This is now reused for the HTML documentation.
Signed-off-by: Jan Luebbe
---
Documentation/commands.rst| 86 ++-
Documentation/gen_commands.py | 13 ++-
2 files changed, 95 insertions
Signed-off-by: Jan Luebbe
---
arch/arm/boards/beaglebone/defaultenv-beaglebone/init/usb-limit-1300 | 5 +
1 file changed, 5 insertions(+)
create mode 100644
arch/arm/boards/beaglebone/defaultenv-beaglebone/init/usb-limit-1300
diff --git
a/arch/arm/boards/beaglebone/defaultenv-beaglebone
The bootargs are now autogenerated by barebox and the hostname should
not be preconfigured.
Signed-off-by: Jan Luebbe
---
.../boards/beaglebone/defaultenv-beaglebone/config| 19 ---
1 file changed, 19 deletions(-)
delete mode 100644 arch/arm/boards/beaglebone/defaultenv
This saves one second of user time on every interactive boot.
Signed-off-by: Jan Luebbe
---
commands/ls.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/commands/ls.c b/commands/ls.c
index 3440790..f8144ae 100644
--- a/commands/ls.c
+++ b/commands/ls.c
@@ -127,6 +127,9
This implements device tree overlay support as described in
http://thread.gmane.org/gmane.linux.ports.arm.omap/91556 and used
on BeagleBone boards. It can be used to load DT overlays at runtime,
which are then passed as a resolved tree to the kernel.
Signed-off-by: Jan Luebbe
---
commands
From: Sascha Hauer
Instead of populating an extra list containing all phandles just iterate
over the whole tree. This is done as preparation for more dynamic devicetrees
where parts are loaded at runtime. Here we don't want to keep the list of
phandles in sync.
Signed-off-by: Sascha Hauer
---
Signed-off-by: Jan Luebbe
---
arch/arm/mach-at91/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 5fb3ead..6ab374e 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -549,7 +549,7
In the case where CONFIG_PASSWORD is off, CONFIG_PASSWORD_DEFAULT is
undefined. As undefined is not "", this causes make to call find -type f.
If there is a filename containing a :, make will complain about having
"multiple target patterns"
Signed-off-by: Jan Luebbe
---
Hi,
I've tried the recent changes in next on both BeagleBones.
These are actual fixes:
[PATCH 1/4] am33xx_generic: convert from switch to if/else
[PATCH 3/4] arm: omap: am33xx_generic: fix DDR setup for DDR2
These are more 'nice to have':
[PATCH 2/4] arm: mmu: be more verbose if ttb setup fails
These values come from the U-Boot source code.
Signed-off-by: Jan Luebbe
---
arch/arm/boards/beaglebone/lowlevel.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/arm/boards/beaglebone/lowlevel.c
b/arch/arm/boards/beaglebone/lowlevel.c
index 2ff7c71
the Bone was
removed in 88659d9c4a87a730f6efe4f38c011e8e0214a67b.
Signed-off-by: Jan Luebbe
---
I've tested this on White and Black BeagleBones. An additional test on the
PCM051 would be good.
arch/arm/mach-omap/am33xx_generic.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
The function am33xx_get_cpu_rev may be called before barebox_arm_entry(),
so we need to avoid switch statements. One example is the BeagleBone,
where we use this function to differenciate between the white and black
variants.
Signed-off-by: Jan Luebbe
---
arch/arm/mach-omap/am33xx_generic.c
Signed-off-by: Jan Luebbe
---
arch/arm/cpu/mmu.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/cpu/mmu.c b/arch/arm/cpu/mmu.c
index e3ea3b6..fae83f3 100644
--- a/arch/arm/cpu/mmu.c
+++ b/arch/arm/cpu/mmu.c
@@ -285,7 +285,7 @@ static int mmu_init(void
When using obj-?, it erroneously tries to link a built-in.o. Instead
use the extra-? variable.
Signed-off-by: Jan Luebbe
---
scripts/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile b/scripts/Makefile
index f062fc0..e375530 100644
--- a/scripts
This allows leaving out default files from the environment by overriding
them with empty files in the board or BSP.
Signed-off-by: Jan Luebbe
---
scripts/genenv | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/genenv b/scripts/genenv
index 374db6d..3e91062 100755
Signed-off-by: Jan Luebbe
---
arch/arm/mach-omap/am33xx_clock.c |8
arch/arm/mach-omap/am33xx_mux.c| 11 +++
arch/arm/mach-omap/include/mach/am33xx-clock.h |3 +++
arch/arm/mach-omap/include/mach/am33xx-mux.h |1 +
4 files changed, 23
Signed-off-by: Jan Luebbe
---
arch/arm/mach-omap/am33xx_mux.c | 24
arch/arm/mach-omap/include/mach/am33xx-mux.h |2 ++
2 files changed, 26 insertions(+)
diff --git a/arch/arm/mach-omap/am33xx_mux.c b/arch/arm/mach-omap/am33xx_mux.c
index 61014d9
This command is already defined in scripts/Makefile.lib, which is included
from Makefile.
Signed-off-by: Jan Luebbe
---
All defconfigs still build ok.
Makefile | 3 ---
1 file changed, 3 deletions(-)
diff --git a/Makefile b/Makefile
index 71f181c..ebfe8ca 100644
--- a/Makefile
+++ b/Makefile
This patch includes no functional change. If a configurable DDRPLL_M
is required later, it should be set by the board instead of from here.
Signed-off-by: Jan Luebbe
---
arch/arm/mach-omap/include/mach/am33xx-clock.h | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a
The *PLL_N values can be calculated from the OSC value. This patch
includes no functional change.
Signed-off-by: Jan Luebbe
---
changes from v1:
* add change description (sha)
* add spaces around operator (sha)
* split off patch to remove unused code
arch/arm/mach-omap
This allows init scripts to print messages to the console without messing
up the timeout prompt.
Signed-off-by: Jan Luebbe
---
defaultenv-2/base/bin/init | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/defaultenv-2/base/bin/init b/defaultenv-2/base/bin/init
Signed-off-by: Jan Luebbe
---
arch/arm/mach-omap/include/mach/am33xx-clock.h |2 ++
arch/arm/mach-omap/include/mach/am33xx-silicon.h |6 ++
2 files changed, 8 insertions(+)
diff --git a/arch/arm/mach-omap/include/mach/am33xx-clock.h
b/arch/arm/mach-omap/include/mach/am33xx
Signed-off-by: Jan Luebbe
---
Makefile | 2 +-
arch/arm/include/asm/barebox-arm-head.h| 2 +
arch/arm/mach-at91/include/mach/barebox-arm-head.h | 2 +
include/filetype.h | 4 +-
scripts/.gitignore
Signed-off-by: Jan Luebbe
---
arch/arm/mach-omap/include/mach/am33xx-clock.h | 15 +--
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/arch/arm/mach-omap/include/mach/am33xx-clock.h
b/arch/arm/mach-omap/include/mach/am33xx-clock.h
index 39c107f..f496756 100644
--- a
The ROM loader passes the address of a buffer to the MLO in
register 0. Store this data so we can find the boot source later.
Signed-off-by: Jan Luebbe
---
arch/arm/boards/beaglebone/lowlevel.c| 4 +++-
arch/arm/mach-omap/Makefile | 2 +-
arch/arm/mach-omap
Signed-off-by: Jan Luebbe
---
arch/arm/mach-omap/omap_generic.c | 14 +++--
commands/loadenv.c| 23 ++---
commands/saveenv.c| 42 ---
common/environment.c | 7 ++-
common/startup.c
Signed-off-by: Jan Luebbe
---
commands/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commands/Kconfig b/commands/Kconfig
index c1454c7..777b52c 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -308,12 +308,12 @@ config CMD_MEMORY
config CMD_CRC
If CONFIG_PARAMETER is not set, dev_set_param() does not call the setter
function. Call it directly instead in this case.
Signed-off-by: Jan Luebbe
---
common/console.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/common/console.c b/common/console.c
index
Signed-off-by: Jan Luebbe
---
arch/arm/boards/beaglebone/lowlevel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boards/beaglebone/lowlevel.c
b/arch/arm/boards/beaglebone/lowlevel.c
index a9737d9..28959ff 100644
--- a/arch/arm/boards/beaglebone/lowlevel.c
+++ b
Signed-off-by: Jan Luebbe
---
This is based on current master.
arch/arm/mach-omap/am33xx_generic.c | 10 +++---
arch/arm/mach-omap/include/mach/generic.h | 13 -
arch/arm/mach-omap/omap3_generic.c| 16 ++--
arch/arm/mach-omap/omap4_generic.c| 24
Signed-off-by: Jan Luebbe
---
drivers/mtd/nand/nand_ids.c | 4 +++-
include/linux/mtd/nand.h| 20 +++-
2 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c
index 72593d4..4f8fb02 100644
--- a/drivers/mtd
Signed-off-by: Jan Luebbe
---
commands/i2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commands/i2c.c b/commands/i2c.c
index 8370b43..626255d 100644
--- a/commands/i2c.c
+++ b/commands/i2c.c
@@ -45,7 +45,7 @@ static int do_i2c_probe(int argc, char *argv[])
if
Previously, during a multi-page write, chip->oob_poi would not be
reinitialized.
See commit f722013ee9fd24623df31dec9a91a6d02c3e2f2f in the kernel
for an analogous change.
Signed-off-by: Jan Luebbe
---
drivers/mtd/nand/nand_write.c | 10 +-
1 file changed, 5 insertions(+)
The kernel uses these bytes to differentiate between erased/programmed
pages.
Signed-off-by: Jan Luebbe
---
drivers/mtd/nand/nand_omap_gpmc.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/drivers/mtd/nand/nand_omap_gpmc.c
b/drivers/mtd/nand
Previously, during a multi-page write, chip->oob_poi would not be
reinitialized.
Signed-off-by: Jan Luebbe
---
drivers/mtd/nand/nand_write.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/nand/nand_write.c b/drivers/mtd/nand/nand_write.c
index 9997
From: Sascha Hauer
Signed-off-by: Sascha Hauer
---
arch/arm/boards/beagle/board.c | 32 +--
arch/arm/boards/omap343xdsp/board.c | 32 +--
arch/arm/boards/omap3evm/board.c| 28 +--
arch/arm/boards/phycard-a-l1/pca-a-l1.c | 36 ++--
arc
1 - 100 of 250 matches
Mail list logo