| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows barebox state to find the backend node on block
devices.
This is a reworked version of the patch. The outdated patch
did not specify the parent correctly resulting in an
incorrect subtree. This lead to the wrong block device
being returned.
Signed-off-by: Bastian Stender <bst@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
|
|
|
| |
The reset values had bits set that were not in the writeable mask.
|
|
|
|
|
|
| |
Fixed direct bucket
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
|
|
|
|
|
|
| |
barebox-state outputs should be parsable by other applications.
Therefore normal info outputs should be redirected to stderr.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
|
|
|
|
|
| |
This reverts commit 6e912489417b93528d1e963f47e1f5d4773a3775.
It currently breaks barebox-state. /dev/loop0 is always selected.
|
|
|
|
|
|
|
| |
This allows barebox state to find the backend node on block devices.
Signed-off-by: Bastian Stender <bst@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
| |
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
| |
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
| |
bootstate.active on the kernel command line
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
| |
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
| |
struct variable_type
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
| |
The Linux driver fails on pinctrls that specify 0 as config, so
consequently flag this as error.
|
|
|
|
|
| |
When off_t is a bigger data type than u32 the check (conf_reg ==
(uint32_t)-1) never triggers.
|
|
|
|
|
|
|
|
| |
Since commit 14617d (barebox-state: fix default, so that it works without
an explicid alias node) aliases no longer work at all. This is because "/state"
cannot be interpreted as an alias. Fix this.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
|
|
|
| |
state_find_type can fail in which case it returns NULL. Check the return
value before dereferencing the pointer.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
|
|
|
| |
When a enum32 state variable node does not have a "names" property bail
out gracefully instead of crashing.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
If nodepath can directly be translated to a device, the device can also
be a eeprom. Set default size to 0. The real size can be got from the
path.
Signed-off-by: Jan Remmet <j.remmet@phytec.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
| |
improve fixed string support, trailing zero is not needed.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
| |
barebox functions
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|