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 some
> update handler.
>
> Signed-off-by: Markus Pargmann
> ---
> drivers/usb/gadget/f_fas
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 flash commands
> where the target file is a mtd device. If we just want to transfer a UBI
> image we would
On Tue, Feb 16, 2016 at 11:44:55AM +0100, Teresa Remmet wrote:
> Different AM335x changes containing new RAM timings and
> reducing image size of all am335x boards.
>
> Patches have been tested on PHYTEC boards and beaglebone black.
>
> Regards
> Teresa
>
> Arnd Beuscher (1):
> ARM: board: phy
On Tue, Feb 16, 2016 at 09:38:03AM +0100, Yegor Yefremov wrote:
> On Tue, Feb 16, 2016 at 9:23 AM, wrote:
> > From: Yegor Yefremov
> >
> > The driver was imported from Linux 4.4.
> >
> > Signed-off-by: Yegor Yefremov
> > ---
> > Changes:
> > v2: - fix checkpatch errors
> > -
On Mon, Feb 15, 2016 at 10:56:53AM +0100, Stefan Christ wrote:
> The cpu_is_mx6* function for the i.MX6 Solo was missing. All other
> functions are already defined.
>
> Signed-off-by: Stefan Christ
> ---
> arch/arm/mach-imx/include/mach/imx6.h | 1 +
> 1 file changed, 1 insertion(+)
Applied the
On Tue, Feb 16, 2016 at 7:09 PM, Trent Piepho wrote:
> On Tue, 2016-02-16 at 17:29 -0800, Andrey Smirnov wrote:
>> Hi everyone,
>>
>> The main purpose of this patchset is propose additional Nvmem plubing
>> needed for that subsytem's inclusion in BB and solicit feedback about
>> it (patches ## 15
On Tue, Feb 16, 2016 at 6:40 PM, Trent Piepho wrote:
> On Tue, 2016-02-16 at 17:29 -0800, Andrey Smirnov wrote:
>> Assigning device IDs based on device tree aliases doesn't work very well
>> on platforms that have both NICs that are a part of a platform with
>> assigned aliases and NICs with DEVIC
On Tue, 2016-02-16 at 17:29 -0800, Andrey Smirnov wrote:
> Hi everyone,
>
> The main purpose of this patchset is propose additional Nvmem plubing
> needed for that subsytem's inclusion in BB and solicit feedback about
> it (patches ## 15 to 17) . Included in this set are also a number of
> bugfixe
On Tue, 2016-02-16 at 17:29 -0800, Andrey Smirnov wrote:
> Assigning device IDs based on device tree aliases doesn't work very well
> on platforms that have both NICs that are a part of a platform with
> assigned aliases and NICs with DEVICE_ID_DYNAMIC policy of ID
> assignement due to the nature o
Signed-off-by: Andrey Smirnov
---
drivers/net/fec_imx.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c
index 0877a53..27d816f 100644
--- a/drivers/net/fec_imx.c
+++ b/drivers/net/fec_imx.c
@@ -799,14 +799,16 @@ static int fe
Assigning device IDs based on device tree aliases doesn't work very well
on platforms that have both NICs that are a part of a platform with
assigned aliases and NICs with DEVICE_ID_DYNAMIC policy of ID
assignement due to the nature of the interfaces they are connected
via (PCIe, USB, etc.). Consid
Having this functionality partially "broken" opens the door for subtle
bugs in peripheral drivers for AT91 platform since it not straight out
obvious that IS_ERR might return a false positive.
It also makes it much harder to judge the correctness of the driver
code, for example it is perfectly fin
Add a driver that implements provisions to allow creationg of fake nvmem
devices and cells whose data comes from device tree blob.
Signed-off-by: Andrey Smirnov
---
drivers/misc/Makefile | 1 +
drivers/misc/nvmem-ro-of-blob.c | 196
2 files c
Having functional IS_ERR on AT91 means we no longer need that function
Signed-off-by: Andrey Smirnov
---
arch/arm/mach-at91/at91sam926x_time.c | 6 +++---
drivers/base/driver.c | 16
drivers/pinctrl/pinctrl-at91.c| 6 +++---
drivers/serial/atmel.c
Add of_nvmem_cell_from_cell_np to allow creating 'struct nvmem_cell'
form a phandle of 'nvmem' cell.
Signed-off-by: Andrey Smirnov
---
drivers/nvmem/core.c | 57 ++
include/linux/nvmem-consumer.h | 10
2 files changed, 45 insertions(+),
Signed-off-by: Andrey Smirnov
---
drivers/net/fec_imx.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c
index c059882..d132586 100644
--- a/drivers/net/fec_imx.c
+++ b/drivers/net/fec_imx.c
@@ -732,7 +732,7 @@ static int fec
Add a proper check for I/O memory resource allocation failure and
replace dev_request_mem_region with dev_request_mem_resource so it would
be possible to correctly deallocate device's I/O resources when probe
fails.
Signed-off-by: Andrey Smirnov
---
drivers/net/fec_imx.c | 16
1
Add nvmem-sg driver which adds provisions to create fake 'nvmem' devices
whose cells are comprised of bits and pieces of other 'nvmem' cells in
a scatter-gather manner.
Signed-off-by: Andrey Smirnov
---
drivers/misc/Makefile | 1 +
drivers/misc/nvmem-sg.c | 287 ++
Signed-off-by: Andrey Smirnov
---
drivers/net/fec_imx.c | 14 ++
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c
index 4465788..f413acd 100644
--- a/drivers/net/fec_imx.c
+++ b/drivers/net/fec_imx.c
@@ -710,7 +710,9 @@ stati
Signed-off-by: Andrey Smirnov
---
drivers/net/fec_imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c
index d132586..46932fe 100644
--- a/drivers/net/fec_imx.c
+++ b/drivers/net/fec_imx.c
@@ -740,7 +740,7 @@ static int fec_probe(
Signed-off-by: Andrey Smirnov
---
drivers/net/fec_imx.c | 21 +
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c
index 99bd179..0877a53 100644
--- a/drivers/net/fec_imx.c
+++ b/drivers/net/fec_imx.c
@@ -621,6 +621,12
Introduce dev_request_mem_resource as a version of
dev_request_mem_region that returns the corresponding 'struct resource'
and thus allows to perform proper resource deallocation. This is useful
for drivers that can experience deferred probling and need to be able to
be probed twice.
Signed-off-by
Dev_request_mem_region doesn't return NULL to indicate error and IS_ERR
should be used in conjuction with it in order to detect failure.
Signed-off-by: Andrey Smirnov
---
drivers/i2c/busses/i2c-at91.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/busses/i2c-
Hi everyone,
The main purpose of this patchset is propose additional Nvmem plubing
needed for that subsytem's inclusion in BB and solicit feedback about
it (patches ## 15 to 17) . Included in this set are also a number of
bugfixes and RFC-for-bugfixes for problems that were discoverd during
develo
Both dev_get_mem_region and dev_get_mem_region_by_name do exactly the
same thing with struct resource they obtain. Move that code into a
dedicated helper function.
Signed-off-by: Andrey Smirnov
---
drivers/base/driver.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --
Signed-off-by: Andrey Smirnov
---
common/misc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/misc.c b/common/misc.c
index 8b2417b..f0f0b80 100644
--- a/common/misc.c
+++ b/common/misc.c
@@ -65,6 +65,7 @@ const char *strerror(int errnum)
caseENETUNREACH : str = "Netwo
Call clk_enable on mmdc_ch0_axi_podf in order to properly increase
reference counters for all of the nodes in this particular clock
path. Otherwise it becomes possible for peripherals, located on other
branches stemming from "periph", to shut down the whole clock tree (up
to "pll2_bus") when they t
Don't wait for more than one second for IP block to finish resetting. If
the block is dead it makes more sence to continue execution in hopes
that the rest of the processor is fine, rather than spin indefinetly
inside of the fec_probe function
Signed-off-by: Andrey Smirnov
---
drivers/net/fec_im
Replace ``device`` otg.mode option with the correct ``peripheral``.
Signed-off-by: Philipp Zabel
---
Documentation/user/usb.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/user/usb.rst b/Documentation/user/usb.rst
index 9eb1437..99158a2 100644
--- a/Document
The patch fixes this compiler's warning:
CC fs/ext4/ext4_common.o
fs/ext4/ext4_common.c:130:5: warning: no previous prototype for
'ext4fs_get_indir_block' [-Wmissing-prototypes]
int ext4fs_get_indir_block(struct ext2fs_node *node, struct
ext4fs_indir_block *indir, int b
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 insert
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..a7f6b4
Currently all fastboot flash commands with UBI images are handled by a
final call to 'ubiformat'. This only makes sense for flash commands
where the target file is a mtd device. If we just want to transfer a UBI
image we would expect a simple copy to the correct location.
This patch checks if the
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(+)
d
gpio has to be initialized with an invalid gpio number. 0 is a valid
number and it will be requested and used by the driver.
Signed-off-by: Sascha Hauer
---
drivers/regulator/fixed.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c
index 2
Signed-off-by: Teresa Remmet
---
arch/arm/configs/am335x_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/am335x_defconfig
b/arch/arm/configs/am335x_defconfig
index 7cf48b8..9196fb8 100644
--- a/arch/arm/configs/am335x_defconfig
+++ b/arch/arm/configs/am335x_defconf
of_fixup_status enables or disables the status property of a
given node with a device tree fixup.
Signed-off-by: Teresa Remmet
---
commands/Kconfig | 16 +++
commands/Makefile | 1 +
commands/of_fixup_status.c | 101 +
3 files
From: Wadim Egorov
Signed-off-by: Wadim Egorov
---
arch/arm/configs/am335x_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/am335x_defconfig
b/arch/arm/configs/am335x_defconfig
index 9563865..180e016 100644
--- a/arch/arm/configs/am335x_defconfig
+++ b/arch/arm/co
Add RAM timings for phyCORE-AM335x-R2 256MB RAM.
Signed-off-by: Teresa Remmet
---
arch/arm/boards/phytec-som-am335x/lowlevel.c| 1 +
arch/arm/boards/phytec-som-am335x/ram-timings.h | 20
images/Makefile.am33xx | 6 ++
3 files changed, 27 in
Reduce even more size of beaglebone MLO device tree with stripping
the clocks.
Signed-off-by: Teresa Remmet
---
arch/arm/dts/am335x-bone-common.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/dts/am335x-bone-common.dts
b/arch/arm/dts/am335x-bone-common.dts
index 91745d3..0488cb
From: Jan Remmet
use eeprom as name like in the kernel. This is needed if you use the
state framework.
phycard: also fix index, it has address 0x54
Signed-off-by: Jan Remmet
---
arch/arm/dts/am335x-phytec-phycard-som.dtsi | 2 +-
arch/arm/dts/am335x-phytec-phycore-som.dtsi | 2 +-
2 files chan
Different AM335x changes containing new RAM timings and
reducing image size of all am335x boards.
Patches have been tested on PHYTEC boards and beaglebone black.
Regards
Teresa
Arnd Beuscher (1):
ARM: board: phytec-som-am335x: RAM timings for phyCORE-AM335x-R2
Jan Remmet (1):
ARM: dts: am33
Use ARM_USE_COMPRESSED_DTB for all AM335x based board,
to reduce the image size even more.
Saves about 9kB in MLO image and 20kB in barebox image.
Signed-off-by: Teresa Remmet
---
arch/arm/boards/afi-gf/lowlevel.c| 6 +++---
arch/arm/boards/beaglebone/lowlevel.c| 12 ++-
From: Arnd Beuscher
Add RAM Timings for new phyCORE-AM335x-R2 SoM with
512MB (MT41K256M16TW107IT).
Signed-off-by: Arnd Beuscher
Sigend-off-by: Teresa Remmet
---
arch/arm/boards/phytec-som-am335x/lowlevel.c| 1 +
arch/arm/boards/phytec-som-am335x/ram-timings.h | 20
i
Enable wdt driver and command.
Signed-off-by: Teresa Remmet
---
arch/arm/configs/am335x_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/configs/am335x_defconfig
b/arch/arm/configs/am335x_defconfig
index 180e016..7cf48b8 100644
--- a/arch/arm/configs/am335x_defconfig
++
On Tue, Feb 16, 2016 at 9:23 AM, wrote:
> From: Yegor Yefremov
>
> The driver was imported from Linux 4.4.
>
> Signed-off-by: Yegor Yefremov
> ---
> Changes:
> v2: - fix checkpatch errors
> - remove spinlock/wait code from cache implementation
> - fix directory l
From: Yegor Yefremov
The driver was imported from Linux 4.4.
Signed-off-by: Yegor Yefremov
---
Changes:
v2: - fix checkpatch errors
- remove spinlock/wait code from cache implementation
- fix directory listing
- add documentation entry about SquashFS
From: Yegor Yefremov
Signed-off-by: Yegor Yefremov
---
include/linux/types.h | 16
1 file changed, 16 insertions(+)
diff --git a/include/linux/types.h b/include/linux/types.h
index 9f8eb67..f64ec4a 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -157,6 +157,2
From: Yegor Yefremov
Signed-off-by: Yegor Yefremov
---
include/linux/fs.h | 27 +++
1 file changed, 27 insertions(+)
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 7e9886a..e11a602 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -19,6 +19,26 @@
49 matches
Mail list logo