9
0
Fork 0
Commit Graph

15470 Commits

Author SHA1 Message Date
Jan Luebbe 5192ad9c61 sysmocom odu: add support
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:48 +02:00
Holger Hans Peter Freyther 3eb17085c2 misc: Save it as defconfig and enable the "login"/"passwd" command
We want to be able to force a token to enable the cli. This is
to avoid accidental interupts of the boot process.

Fixes: SYS#487
2017-03-30 20:23:48 +02:00
Holger Hans Peter Freyther 7e5be886c8 misc: Rename config to show up during make help
Fix the config name so we can save the config and apply it
easily. The meta-sysmocom-bsp file needs to be updated when
the SRCREV is increased.
2017-03-30 20:23:48 +02:00
Holger Hans Peter Freyther c1ad249d19 pcm051: Add config files as used by the ODU device 2017-03-30 20:23:48 +02:00
Holger Hans Peter Freyther de52393ab7 odu: Enable a login timeout and set a password
The default password is "odu-stop" in this case. The trailing
whitespace is copied from a barebox copy.

Fixes: SYS#487
2017-03-30 20:23:47 +02:00
Jan Luebbe 1fce712aa7 phytec-phycore: partially move partition setup from dtsi to dts
The partition layout is board-specific, so only the barebox partitions
need to be in the fixed location expected by the MLO code.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 20:23:47 +02:00
Holger Hans Peter Freyther 5b7fa7b059 odu: Send a LLDP frame on boot
We need to wait some time between activating the ethernet and
being able to send the first frame. I have not investigated why
that is the case.

Fixes: SYS#488
2017-03-30 20:23:47 +02:00
Holger Hans Peter Freyther 1c738631f2 net: Initial frame to be able to send LLDP frames from barebox
Fixes: SYS#488
2017-03-30 20:23:47 +02:00
Jan Luebbe d56b407d86 sysmobts: add support for the sysmobts v2 2017-03-30 20:23:46 +02:00
Jan Luebbe f437135e64 fixup! davinci_nand: add support for the NAND controller 2017-03-30 20:23:46 +02:00
Jan Luebbe 05ae0684e0 arm: davinci: add dm644x clock and PSC support 2017-03-30 20:23:46 +02:00
Holger Hans Peter Freyther e8cc0cd34d davinci_emac: add support for version 1 2017-03-30 20:23:31 +02:00
Holger Hans Peter Freyther 24117c8891 davinci_nand: add support for the NAND controller
This driver is based on the Linux driver (v4.0).

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 16:54:43 +02:00
Holger Hans Peter Freyther 4c3b7f285a partition: do not overwrite an existing DT node pointer
This is necessary to find EEPROM devices using the device tree nodes.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2017-03-30 16:53:25 +02:00
Sascha Hauer 444ee36545 state: backend circular: Fix wrong comment
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-27 11:47:29 +02:00
Peter Mamonov f4ea4a134b usb_kbd: release all keys on error / disconnect
Signed-off-by: Peter Mamonov <pmamonov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-24 07:15:30 +01:00
Sascha Hauer 9df009de99 state: bucket_circular: -EUCLEAN means data could be read
-EUCLEAN returned from state_mtd_peb_read() means that the
data shall still be used. This fixes initialization of buckets
which need cleanup

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-23 14:21:37 +01:00
Sascha Hauer 1fde9ef265 state: bucket_cached: Fix reading pages which need cleanup
When the raw device returns -EUCLEAN we have to return
successfully to the upper layer, otherwise it will discard the
data.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-23 14:21:33 +01:00
Sascha Hauer 66d7674f8b mtd: fix reading data from page that needs cleanup
mtd_read´() returns -EUCLEAN to indicate that a page needs cleanup.
This value shouldn't be returned from the mtd read file operation
since this should return the number of bytes read.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-23 14:20:01 +01:00
Lucas Stach 26a1aedb1b ARM: mvebu: only build kwbootimage support if BOOTM is enabled
As this is the bootm image handler implementation for the kwbootimage
it is of no use if BOOTM is missing and fails to link.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-22 07:59:25 +01:00
Lucas Stach f604cc62be ATA: mvebu: select DISK_ATA
The already selected DISK_IDE_SFF depends on it.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-22 07:59:25 +01:00
Lucas Stach ac0c067f2b ARM: add AFLAGS for secure monitor files
The instructions used in those files are only supported on ARMv7.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-22 07:59:25 +01:00
Alexander Kurz 82c065d276 ARM: dts: i.MX7 WaRP7: remove wdog1 pinctrl workaround
The wdog1 pinctrl got fixed with linux upstream commit 213e51ca8df1 ("ARM:
dts: imx7: Add "LPSR" to LPSR iomux pin names").
Remove the old workaround, since it triggers a build error.

Signed-off-by: Alexander Kurz <akurz@blala.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-20 08:33:00 +01:00
Alexander Kurz d711adeec8 ARM: i.MX7: Kconfig: ARCH_IMX7 selects PINCTRL_IMX_IOMUX_V3
fsl,imx7d-iomuxc is provided by selecting PINCTRL_IMX_IOMUX_V3. Select it
since a system without it will not be very usefull.

Signed-off-by: Alexander Kurz <akurz@blala.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-20 08:30:27 +01:00
Michael Olbrich 249b40be7e efi: clocksoure: make sure the meassured frequency is valid
Some EFI implementations have a even slower tick rate and the meassured
frequency may be zero.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-15 08:26:54 +01:00
Yegor Yefremov 2846e53d2d arm: baltos: define baltos_sram_init() return type as void
As stated in the routine's description this routine is to return void,
hence fix its declaration to remove compiler warning.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-13 09:13:17 +01:00
Jean-Christophe PLAGNIOL-VILLARD 27f3f993b8 fix: console: expose consoles in devfs
on 64bit ssize_t is not an int but a long

so use the protype for fops_write ssize_t

common/console.c: In function ‘console_register’:
common/console.c:373:22: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
  newcdev->fops.write = fops_write;

in commit b4f55fcf35
By Bastian Stender <bst@pengutronix.de>

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-13 08:19:30 +01:00
Sascha Hauer 97d2da3d98 Merge branch 'for-next/video' 2017-03-13 08:16:53 +01:00
Sascha Hauer 6b926567c0 Merge branch 'for-next/usb' 2017-03-13 08:16:44 +01:00
Sascha Hauer a2e3bad25f Merge branch 'for-next/rpi' 2017-03-13 08:16:44 +01:00
Sascha Hauer 6134116686 Merge branch 'for-next/mvebu' 2017-03-13 08:16:44 +01:00
Sascha Hauer e0093dcf23 Merge branch 'for-next/misc' 2017-03-13 08:16:44 +01:00
Sascha Hauer 4e11672653 Merge branch 'for-next/imx' 2017-03-13 08:16:44 +01:00
Sascha Hauer 93c55ce098 Merge branch 'for-next/efi' 2017-03-13 08:16:43 +01:00
Sascha Hauer 12b6a916d6 Merge branch 'for-next/dts' 2017-03-13 08:16:39 +01:00
Sascha Hauer 56d9a9815a Merge branch 'for-next/at91' 2017-03-13 08:16:38 +01:00
Sascha Hauer 957bb6b6bc dts: update to v4.11-rc1
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:56:15 +01:00
Sascha Hauer cc2392cf4f dts: update to v4.10-rc8
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:56:02 +01:00
Sascha Hauer a614f64d72 Release v2017.03.0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:50:24 +01:00
Marc Kleine-Budde 939d3a7684 fastboot: abort autoboot timeout when fastboot gadget is activated
This patch adds a call to "console_countdown_abort()" to abort a currently or
upcoming running console timeout.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:43:27 +01:00
Marc Kleine-Budde e3dda8553e console_countdown: add possibility to abort countdown by external commands
This patch makes it possible to abort a console countdown by an external
command, for example when fastboot is used. This requires additional
modifications in the external commands, a call to "console_countdown_abort()"
has to be inserted.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:43:27 +01:00
Marc Kleine-Budde 3d92ea4738 console_countdown: width to of countdown to 4 digits
This patch increases the displayed width of the countdown to 4 digits,
otherwise waiting for more then 99 seconds doesn't look good.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:43:26 +01:00
Sascha Hauer dfcfb5b831 bbu: Search for cdev names aswell
In bbu_find_handler_by_device() search for cdev names aswell since some
update handlers are registered with their cdev name and not the full
path.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:28:10 +01:00
Jean-Christophe PLAGNIOL-VILLARD be0c9a3fad parameter: fix read only int support
pass PARAM_FLAG_RO flag for read only it
so we can not change them

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:13:41 +01:00
Jean-Christophe PLAGNIOL-VILLARD f210382b3f video: make enable/disable ops optional
Some framebuffers cannot be enabled/disabled, so make the corresponding
ops optional.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:12:11 +01:00
Sascha Hauer f8f3f26f8b video: call fb_[en|dis]able instead of fops directly
We have fb_enable and fb_disable which handle enabling of a
framebuffer, so use it instead of calling into the ops directly.
This gets the enable count straight.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-10 08:07:25 +01:00
Andrey Smirnov a76714f7f9 clocksource: at91: Move to 'drivers/clocksource'
Move PIT driver code to 'drivers/clocsource' and accomodate it by
adjusting Kconfig variables. Rename the file to 'timer-atmel-pit.c' to
re-align the driver with code in Linux kernel.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-09 11:51:28 +01:00
Andrey Smirnov d6200fe415 spi: atmel_spi: Use VERSION register instead of CPU type
Use VERSION register instead of CPU type to determine IP block's version
and capabilities. This what corresponding Linux kernel driver does.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-09 11:51:28 +01:00
Andrey Smirnov dd0f42879b spi: atmel_spi: Configure CS GPIO as output
On AT91 GPIOs default to being inputs, so we need to explicitly
configure CS gpio to being an output.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-09 11:51:28 +01:00
Andrey Smirnov d5f52220e6 usb: echi-atmel: Check result of ehci_register()
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2017-03-09 11:51:28 +01:00