;---'
A backend_bucket_cached is a transparent
bucket that directly uses another bucket
as backend device and caches all accesses.
Signed-off-by: Markus Pargmann
---
common/Makefile|2 +-
common/state.c
Signed-off-by: Markus Pargmann
---
.../devicetree/bindings/barebox/barebox,state.rst | 7 +++-
Documentation/user/state.rst | 46 ++
Documentation/user/user-manual.rst | 1 +
3 files changed, 53 insertions(+), 1 deletion(-)
create
write() uses a const pointer so write_full should do the same.
Signed-off-by: Markus Pargmann
---
include/libfile.h | 2 +-
lib/libfile.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/libfile.h b/include/libfile.h
index de4f42dbd19c..dd0b00f98845 100644
From: Michael Grzeschik
Signed-off-by: Michael Grzeschik
---
common/state/backend_storage.c | 1 +
common/state/state.c | 7 +++
common/state/state.h | 2 ++
3 files changed, 10 insertions(+)
diff --git a/common/state/backend_storage.c b/common/state/backend_storage.c
i
Changes in v3:
- A central cache implementation bucket data. This is implemented as another
bucket (backend_bucket_cached) which can access other buckets. See the
updated diagram in the second patch.
- Fixup flush usage
- lazy initialization of buckets
Best Regards,
Markus
Markus Pargmann
On Tuesday 28 June 2016 08:55:32 Michael Grzeschik wrote:
> On Tue, Jun 28, 2016 at 08:18:47AM +0200, Sascha Hauer wrote:
> > On Fri, Jun 24, 2016 at 12:06:01PM +0200, Markus Pargmann wrote:
> > > From: Michael Grzeschik
> > >
> > > Signed-off-by: Michael Gr
cket (for reduced erases on NAND). A
direct bucket directly writes at one location.
* *
* *
* *
.---. .-.
| backend_bucket_direct | | backend_bucket_circular |
'---' '-'
Signed-off-by: Markus Pargman
direct bucket.
Best Regards,
Markus
Markus Pargmann (3):
libfile: Change write_full to be have const buf
state: Refactor state framework
docs: Add/Update state documentation
Michael Grzeschik (3):
state: also append backend storage stridesize
state: backend_storage_direct: also use
Signed-off-by: Markus Pargmann
---
.../devicetree/bindings/barebox/barebox,state.rst | 7 +++-
Documentation/user/state.rst | 46 ++
Documentation/user/user-manual.rst | 1 +
3 files changed, 53 insertions(+), 1 deletion(-)
create
From: Michael Grzeschik
Signed-off-by: Michael Grzeschik
Signed-off-by: Markus Pargmann
---
common/state/backend_bucket_direct.c | 55
1 file changed, 55 insertions(+)
diff --git a/common/state/backend_bucket_direct.c
b/common/state
From: Michael Grzeschik
Signed-off-by: Michael Grzeschik
Signed-off-by: Markus Pargmann
---
common/state/backend_storage.c | 1 +
common/state/state.c | 7 +++
common/state/state.h | 1 +
3 files changed, 9 insertions(+)
diff --git a/common/state/backend_storage.c b
From: Michael Grzeschik
Signed-off-by: Michael Grzeschik
Signed-off-by: Markus Pargmann
---
common/state/backend_bucket_circular.c | 13 ++---
common/state/backend_bucket_direct.c | 11 +--
2 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/common/state
write() uses a const pointer so write_full should do the same.
Signed-off-by: Markus Pargmann
---
include/libfile.h | 2 +-
lib/libfile.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/libfile.h b/include/libfile.h
index de4f42dbd19c..dd0b00f98845 100644
Hi,
On Friday 17 June 2016 11:14:34 Markus Pargmann wrote:
> The state framework grew organically over the time. Unfortunately the
> architecture and abstractions disappeared during this period.
>
> This patch refactors the framework to recreate the abstractions. The
> main focus
Signed-off-by: Markus Pargmann
---
.../devicetree/bindings/barebox/barebox,state.rst | 4 +-
Documentation/user/state.rst | 46 ++
Documentation/user/user-manual.rst | 1 +
3 files changed, 50 insertions(+), 1 deletion(-)
create mode
cket (for reduced erases on NAND). A
direct bucket directly writes at one location.
* *
* *
* *
.---. .-.
| backend_bucket_direct | | backend_bucket_circular |
'---' '-'
Signed-off-by: Markus Pargman
ubi_num_get_by_mtd() searches for attached ubi devices for the given mtd
and returns the number of the ubi device.
Signed-off-by: Markus Pargmann
---
drivers/mtd/ubi/build.c | 35 ++-
include/mtd/ubi-user.h | 1 +
2 files changed, 27 insertions(+), 9 deletions
cdev is used in a future commit to find the mounted filesystems.
Signed-off-by: Markus Pargmann
---
drivers/mtd/ubi/kapi.c | 5 +
include/linux/mtd/ubi.h | 2 ++
2 files changed, 7 insertions(+)
diff --git a/drivers/mtd/ubi/kapi.c b/drivers/mtd/ubi/kapi.c
index 7fc1aa8d70cc..c2e58e865753
To find all the ubi volume ids on a given UBI, we need a helper. The
added functions allow to use ubi_volume_for_each() to get each volume id
of a UBI.
Signed-off-by: Markus Pargmann
---
drivers/mtd/ubi/kapi.c | 42 ++
include/linux/mtd/ubi.h | 11
detached
previously, the code tries to reattach the ubi. Filesystems are not
remounted.
Signed-off-by: Markus Pargmann
---
commands/ubiformat.c | 29 +++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git a/commands/ubiformat.c b/commands/ubiformat.c
index
We may don't know which UBI is attached on a given MTD device. This adds
a function to detach a UBI given a MTD device.
Signed-off-by: Markus Pargmann
---
drivers/mtd/ubi/build.c | 21 +
include/mtd/ubi-user.h | 1 +
2 files changed, 22 insertions(+)
diff --git a/dr
This patch iterates through all ubi volumes and umounts all filesystems
that are mounted.
Signed-off-by: Markus Pargmann
---
drivers/mtd/ubi/build.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c
index
umount on Linux can be used on a mount pathes and device pathes. This
patch adds this functionality to barebox.
Signed-off-by: Markus Pargmann
---
commands/umount.c | 2 +-
fs/fs.c | 47 ---
include/fs.h | 1 +
3 files changed, 46
We need to be able to umount specific filesystems while iterating all of
them. This helper gives us a safe macro to do so.
Signed-off-by: Markus Pargmann
---
include/fs.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/fs.h b/include/fs.h
index 9ac4552dbacc..6cae157b9df8 100644
Before flashing data to some device, we should check whether this device
is in use. If it is mounted it is umounted and flashed afterwards.
Signed-off-by: Markus Pargmann
---
Hi,
This patch requires the for_each_fs_device_safe() macro which was sent as a
patch yesterday.
Best Regards,
Markus
detached
previously, the code tries to reattach the ubi. Filesystems are not
remounted.
Signed-off-by: Markus Pargmann
---
commands/ubiformat.c | 87 ++--
1 file changed, 85 insertions(+), 2 deletions(-)
diff --git a/commands/ubiformat.c b/commands
cdev is used in a future commit to find the mounted filesystems.
Signed-off-by: Markus Pargmann
---
drivers/mtd/ubi/kapi.c | 5 +
include/linux/mtd/ubi.h | 2 ++
2 files changed, 7 insertions(+)
diff --git a/drivers/mtd/ubi/kapi.c b/drivers/mtd/ubi/kapi.c
index 7fc1aa8d70cc..c2e58e865753
To find all the ubi volume ids on a given UBI, we need a helper. The
added functions allow to use ubi_volume_for_each() to get each volume id
of a UBI.
Signed-off-by: Markus Pargmann
---
drivers/mtd/ubi/kapi.c | 42 ++
include/linux/mtd/ubi.h | 11
ubi_num_get_by_mtd() searches for attached ubi devices for the given mtd
and returns the number of the ubi device.
Signed-off-by: Markus Pargmann
---
drivers/mtd/ubi/build.c | 30 +-
include/mtd/ubi-user.h | 1 +
2 files changed, 22 insertions(+), 9 deletions
We need to be able to umount specific filesystems while iterating all of
them. This helper gives us a safe macro to do so.
Signed-off-by: Markus Pargmann
---
include/fs.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/fs.h b/include/fs.h
index ee7e48b0f968..3157a482d71a 100644
Add some documentation about fastboot 'flash' command and some useful
example how to use it to boot an initrd.
Signed-off-by: Markus Pargmann
---
Documentation/user/usb.rst | 52 ++
1 file changed, 52 insertions(+)
diff --git a/Document
olute path
back to the device within the devfs.
Signed-off-by: Markus Pargmann
---
common/imx-bbu-nand-fcb.c | 6 +++---
fs/devfs-core.c | 25 +
fs/fs.c | 12
include/driver.h | 1 +
include/fs.h | 2 +
bbu_data includes a devicefile information. Add the possibility to make
an update based on the given devicefile. This is in addition to the
normal search for a barebox update handler by its name.
Signed-off-by: Markus Pargmann
---
common/bbu.c | 20 +++-
1 file changed, 19
This will automatically call barebox_update for the transfered file if
it is an ARM Barebox image and the destination file is defined by some
update handler.
Signed-off-by: Markus Pargmann
---
common/filetype.c | 13 +
drivers/usb/gadget/f_fastboot.c | 29
cks if the destination file is a MTD device by opening it
and calling an ioctl MEMGETINFO. Only for MTD devices, ubiformat is
called.
Signed-off-by: Markus Pargmann
---
drivers/usb/gadget/f_fastboot.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/drivers/
This adds a function to check for the existence of an update handler
based on the supplied bbu_data.
Signed-off-by: Markus Pargmann
---
common/bbu.c | 14 ++
include/bbu.h | 2 ++
2 files changed, 16 insertions(+)
diff --git a/common/bbu.c b/common/bbu.c
index bf3790d13fff
On Wednesday, February 17, 2016 08:37:49 AM Sascha Hauer wrote:
> On Tue, Feb 16, 2016 at 07:54:48PM +0100, Markus Pargmann wrote:
> > This will automatically call barebox_update for the transfered file if
> > it is an ARM Barebox image and the destination file is defined by
Hi,
On Wednesday, February 17, 2016 08:29:14 AM Sascha Hauer wrote:
> On Tue, Feb 16, 2016 at 07:54:47PM +0100, Markus Pargmann wrote:
> > Currently all fastboot flash commands with UBI images are handled by a
> > final call to 'ubiformat'. This only makes sense for fla
bbu_data includes a devicefile information. Add the possibility to make
an update based on the given devicefile. This is in addition to the
normal search for a barebox update handler by its name.
Signed-off-by: Markus Pargmann
---
common/bbu.c | 20 +++-
1 file changed, 19
This adds a function to check for the existence of an update handler
based on the supplied bbu_data.
Signed-off-by: Markus Pargmann
---
common/bbu.c | 14 ++
include/bbu.h | 2 ++
2 files changed, 16 insertions(+)
diff --git a/common/bbu.c b/common/bbu.c
index bf3790d13fff
cks if the destination file is a MTD device by opening it
and calling an ioctl MEMGETINFO. Only for MTD devices, ubiformat is
called.
Signed-off-by: Markus Pargmann
---
drivers/usb/gadget/f_fastboot.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/drivers/
This will automatically call barebox_update for the transfered file if
it is an ARM Barebox image and the destination file is defined by some
update handler.
Signed-off-by: Markus Pargmann
---
drivers/usb/gadget/f_fastboot.c | 29 +
1 file changed, 29 insertions
is below the ecc_strength.
We need to move the memcpy above the for loop to be able to access the
buffer directly.
Signed-off-by: Markus Pargmann
---
drivers/mtd/nand/nand_mxs.c | 42 --
1 file changed, 40 insertions(+), 2 deletions(-)
diff --git a
This adds the bitflip check helper functions from the kernel. They are
used to check for bitflips in erased pages and correct them in the
buffer so that UBI can work with it. Unfortunately most nand controllers
do not have ECC for erased pages and don't do this on their own.
Signed-off-by: M
Add some documentation about behaviour and setup of pstore/RAMOOPS.
Signed-off-by: Markus Pargmann
---
Documentation/filesystems/pstore.rst | 76
1 file changed, 76 insertions(+)
create mode 100644 Documentation/filesystems/pstore.rst
diff --git a
Hi,
On Tuesday 08 December 2015 13:35:52 Antony Pavlov wrote:
> On Tue, 8 Dec 2015 10:39:32 +0100
> Markus Pargmann wrote:
>
> > pstore is a persistent storage filesystem used for RAMOOPS. It is used
> > to store console logs, panics, ftrace and other information in case
way to
extract essential data from the last running kernel.
Most of the code is copied from the kernel. However this is only a
lightweight implementation without real write support yet.
Signed-off-by: Markus Pargmann
---
Notes:
Changes in v2:
- Moved the config symbol from the pstore
Signed-off-by: Markus Pargmann
---
include/stdio.h | 1 +
lib/vsprintf.c | 24
2 files changed, 25 insertions(+)
diff --git a/include/stdio.h b/include/stdio.h
index f1909117621d..d0817bd0715a 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -13,6 +13,7 @@ void
There are functions or structs used that do need these.
Signed-off-by: Markus Pargmann
---
include/printk.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/printk.h b/include/printk.h
index a27ad514cfe1..822f64c61f7d 100644
--- a/include/printk.h
+++ b/include/printk.h
@@ -1,6
DIV_ROUND_UP is defined in include/linux/kernel.h. Use that instead.
Signed-off-by: Markus Pargmann
---
arch/arm/boards/karo-tx6x/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boards/karo-tx6x/board.c
b/arch/arm/boards/karo-tx6x/board.c
index 6d9dd9a505f0
Signed-off-by: Markus Pargmann
---
include/linux/log2.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/include/linux/log2.h b/include/linux/log2.h
index d9913f06bd09..36519e3aa38b 100644
--- a/include/linux/log2.h
+++ b/include/linux/log2.h
@@ -63,6 +63,15 @@ unsigned long
reed solomon code is used by RAMOOPS to check and fix data stored in
volatile memory.
Signed-off-by: Markus Pargmann
---
Notes:
Changes in v2:
- Removed fine control over parts of the code. Reduced to one config symbol.
include/linux/rslib.h | 103 +++
lib/Kconfig
This helps to understand and find problems with the memory layout of
barebox. It adds another entry for the board data that barebox
allocated.
Signed-off-by: Markus Pargmann
---
arch/arm/cpu/start.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/arch/arm
adds proper handling of different barebox/board data
sizes. Currently only 1MB+Alignment of RAM is reserved for Barebox and
board data. This could be too small for bigger devicetrees and barebox.
Signed-off-by: Markus Pargmann
---
Notes:
Changes in v2:
- Use IS_ENABLED(CONFIG_RELOCATABLE
Hi,
This is v2 with some smaller fixes. Changes are described at the individual
patches.
Best Regards,
Markus
Markus Pargmann (9):
arm: boards: karo-tx6x remove definition of DIV_ROUND_UP
log2: Add missing __rounddown_pow_of_two()
printk: Add missing include/declaration
vsprintf: Add
the RAM right after barebox and
before the STACK. This ensures that changing barebox sizes do not
interfere with RAMOOPS.
Signed-off-by: Markus Pargmann
---
arch/arm/cpu/start.c | 6 ++
arch/arm/include/asm/barebox-arm.h | 14 +-
2 files changed, 19 insertions
Hi,
On Friday 04 December 2015 08:07:40 Sascha Hauer wrote:
> On Wed, Dec 02, 2015 at 02:48:50PM +0100, Markus Pargmann wrote:
> > RAMOOPS is a driver that uses a reserved static memory region to store
> > the data from the last panic or boot. This helps to debug crashes at th
Hi,
On Friday 04 December 2015 08:12:55 Sascha Hauer wrote:
> On Wed, Dec 02, 2015 at 02:48:47PM +0100, Markus Pargmann wrote:
> > reed solomon code is used by RAMOOPS to check and fix data stored in
> > volatile memory.
> >
> > Signed-off-by: Markus Pargmann
> &g
Hi,
On Wednesday 02 December 2015 21:37:13 Antony Pavlov wrote:
> On Wed, 2 Dec 2015 14:48:51 +0100
> Markus Pargmann wrote:
>
> > pstore is a persistent storage filesystem used for RAMOOPS. It is used
> > to store console logs, panics, ftrace and other information in case
the RAM right after barebox and
before the STACK. This ensures that changing barebox sizes do not
interfere with RAMOOPS.
Signed-off-by: Markus Pargmann
---
arch/arm/cpu/start.c | 6 ++
arch/arm/include/asm/barebox-arm.h | 14 +-
2 files changed, 19 insertions
way to
extract essential data from the last running kernel.
Most of the code is copied from the kernel. However this is only a
lightweight implementation without real write support yet.
Signed-off-by: Markus Pargmann
---
common/startup.c | 5 +
fs/Kconfig | 2 +
fs
Signed-off-by: Markus Pargmann
---
include/stdio.h | 1 +
lib/vsprintf.c | 24
2 files changed, 25 insertions(+)
diff --git a/include/stdio.h b/include/stdio.h
index f1909117621d..d0817bd0715a 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -13,6 +13,7 @@ void
Signed-off-by: Markus Pargmann
---
include/linux/log2.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/include/linux/log2.h b/include/linux/log2.h
index d9913f06bd09..36519e3aa38b 100644
--- a/include/linux/log2.h
+++ b/include/linux/log2.h
@@ -63,6 +63,15 @@ unsigned long
There are functions or structs used that do need these.
Signed-off-by: Markus Pargmann
---
include/printk.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/printk.h b/include/printk.h
index a27ad514cfe1..822f64c61f7d 100644
--- a/include/printk.h
+++ b/include/printk.h
@@ -1,6
adds proper handling of different barebox/board data
sizes. Currently only 1MB+Alignment of RAM is reserved for Barebox and
board data. This could be too small for bigger devicetrees and barebox.
Signed-off-by: Markus Pargmann
---
arch/arm/cpu/start-pbl.c | 14 --
arch/arm/cpu
reed solomon code is used by RAMOOPS to check and fix data stored in
volatile memory.
Signed-off-by: Markus Pargmann
---
include/linux/rslib.h | 109
lib/Kconfig | 15 ++
lib/Makefile| 1 +
lib/reed_solomon/Makefile | 6
the actual implementation of pstore and RAMOOPS as filesystem. It
is based on the kernel implementation but lots of code was removed and the
filesystem layer rewritten for barebox. The files are available in the
automounted filesystem /pstore.
Best Regards,
Markus
Markus Pargmann (9):
arm
DIV_ROUND_UP is defined in include/linux/kernel.h. Use that instead.
Signed-off-by: Markus Pargmann
---
arch/arm/boards/karo-tx6x/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boards/karo-tx6x/board.c
b/arch/arm/boards/karo-tx6x/board.c
index 6d9dd9a505f0
This helps to understand and find problems with the memory layout of
barebox. It adds another entry for the board data that barebox
allocated.
Signed-off-by: Markus Pargmann
---
arch/arm/cpu/start.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/arch/arm
Use an 'initramfs' file if it exists instead of nfsroot. This offers the
possibility to quickly boot complete filesystems as initramfs without
the need to flash an SD-card or similar. If the initramfs does not
exist, it uses the default nfsroot mechanism.
Signed-off-by: Marku
Use an 'initrd' file if it exists instead of nfsroot. This offers the
possibility to quickly boot complete filesystems as initramfs without
the need to flash a SD-card or similar. If the initrd does not exist,
it uses the default nfsroot mechanism.
Signed-off-by: Markus Pargmann
---
On Wed, Oct 07, 2015 at 08:34:51AM +0200, Sascha Hauer wrote:
> Hi Markus,
>
> On Fri, Oct 02, 2015 at 02:35:01PM +0200, Markus Pargmann wrote:
> > This patch adds the proper inline function for CONFIG_PARAMETER && !
> > CONFIG_NET.
> >
> > Signed-off-
This patch adds the proper inline function for CONFIG_PARAMETER && !
CONFIG_NET.
Signed-off-by: Markus Pargmann
---
include/param.h | 21 +
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/include/param.h b/include/param.h
index 3a851fc552a4..f8a2
devices.
Signed-off-by: Markus Pargmann
---
drivers/usb/gadget/fsl_udc.c | 13 +
drivers/usb/imx/chipidea-imx.c | 6 ++
include/usb/fsl_usb2.h | 1 +
3 files changed, 20 insertions(+)
diff --git a/drivers/usb/gadget/fsl_udc.c b/drivers/usb/gadget/fsl_udc.c
index
it jumped directly to serial downloader mode.
This patch executes the PFD workaround only for i.MX6Q and i.MX6D which
fixes the issues I saw.
Signed-off-by: Markus Pargmann
---
arch/arm/mach-imx/imx6.c | 48 +---
1 file changed, 25 insertions(+), 23
RGMII-ID just defines transmitter internal delays. Otherwise it is the
same as RGMII. As the differences only influence the behaviour of the
phy, the fec driver should handle it the same way as RGMII.
Signed-off-by: Markus Pargmann
---
drivers/net/fec_imx.c | 5 -
1 file changed, 4
Replace the set_timeout function in the device platform data by an ops
struct which stores a set_timeout and init function.
Signed-off-by: Markus Pargmann
---
Notes:
Changes in v2:
- Compile fix for !CONFIG_WATCHDOG_IMX. watchdog_deregister is using an
IS_ENABLED condition as
Disable the watchdog powerdown counter at start. Otherwise this may
trigger a reset or poweroff over the WDOG_B line to a PMIC. This counter
is set to 16 seconds after poweron.
Signed-off-by: Markus Pargmann
---
drivers/watchdog/imxwd.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a
Replace the set_timeout function in the device platform data by an ops
struct which stores a set_timeout and init function.
Signed-off-by: Markus Pargmann
---
drivers/watchdog/imxwd.c | 54 +---
1 file changed, 42 insertions(+), 12 deletions(-)
diff
Disable the watchdog powerdown counter at start. Otherwise this may
trigger a reset or poweroff over the WDOG_B line to a PMIC. This counter
is set to 16 seconds after poweron.
Signed-off-by: Markus Pargmann
---
drivers/watchdog/imxwd.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a
This code is partly backported from the linux kernel which also uses
some defaults to setup the USB ports.
Signed-off-by: Markus Pargmann
---
drivers/usb/imx/imx-usb-misc.c | 44 +-
1 file changed, 5 insertions(+), 39 deletions(-)
diff --git a/drivers
Add some code to parse and enable vbus supply when probing.
Signed-off-by: Markus Pargmann
---
drivers/usb/imx/chipidea-imx.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/imx/chipidea-imx.c b/drivers/usb/imx/chipidea-imx.c
index
On Mon, Jul 28, 2014 at 10:45:57PM +0200, Sebastian Hesselbarth wrote:
> On 07/28/2014 10:23 PM, Markus Pargmann wrote:
> > Add some code to parse and enable vbus supply when probing.
> >
> > Signed-off-by: Markus Pargmann
> > ---
> > drivers/usb/imx/chipidea-im
Signed-off-by: Markus Pargmann
---
include/bbu.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/bbu.h b/include/bbu.h
index 095eebcf4afa..adb52b0dec42 100644
--- a/include/bbu.h
+++ b/include/bbu.h
@@ -1,6 +1,8 @@
#ifndef __INCLUDE_BBU_H
#define __INCLUDE_BBU_H
+#include
Add some code to parse and enable vbus supply when probing.
Signed-off-by: Markus Pargmann
---
drivers/usb/imx/chipidea-imx.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/usb/imx/chipidea-imx.c b/drivers/usb/imx/chipidea-imx.c
index 9b6829b8f59f..a4cf4a1a5f3d 100644
Add a compatible to this driver so it can be added through devicetree.
Signed-off-by: Markus Pargmann
---
drivers/mfd/mc34704.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/mfd/mc34704.c b/drivers/mfd/mc34704.c
index 9afab07a2df5..3dc85f5474dd 100644
--- a/drivers/mfd
This code is partly backported from the linux kernel which also uses
some defaults to setup the USB ports.
Signed-off-by: Markus Pargmann
---
drivers/usb/imx/imx-usb-misc.c | 44 +-
1 file changed, 5 insertions(+), 39 deletions(-)
diff --git a/drivers
On Tue, Oct 22, 2013 at 04:26:33PM +0200, Jean-Christophe PLAGNIOL-VILLARD
wrote:
> On 12:46 Tue 22 Oct , Markus Pargmann wrote:
> > KSZ8031 is similar to KSZ8021. It can use the same functions.
> >
> > Signed-off-by: Markus Pargmann
> > ---
> >
KSZ8031 is similar to KSZ8021. It can use the same functions.
Signed-off-by: Markus Pargmann
---
drivers/net/phy/micrel.c | 9 +
include/linux/micrel_phy.h | 1 +
2 files changed, 10 insertions(+)
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index c0bcdd1..3cba2c4
89 matches
Mail list logo