On Fri, Dec 09, 2022 at 08:29:00AM +0100, Ahmad Fatoum wrote:
> bootsource_str which translates enum bootsource to a string is not
> exported to other parts of barebox. Define a new bootsource_to_string()
> that provides access. This can be useful for board code debugging
> prints, especially in PB
bootsource_str which translates enum bootsource to a string is not
exported to other parts of barebox. Define a new bootsource_to_string()
that provides access. This can be useful for board code debugging
prints, especially in PBL, where the $bootsource environment variable
is not available.
Signe
On Wed, Nov 17, 2021 at 03:24:48PM +0100, Michael Riesch wrote:
> Instance numbers should be related to device tree aliases, which may be
> board-specific.
When instance numbers were introduced they were meant to be SoC
specific, i.e. they should correspond to the numbers in the manual.
When start
On Fri, Aug 24, 2018 at 06:08:42PM +0200, Lucas Stach wrote:
> The NOR flash device itself does not have an alias in the kernel DT, so
> we want to have the bootsource pointing at the SPI controller the flash
> chip is attached to.
>
> Signed-off-by: Lucas Stach
> ---
> common/bootsource.c | 1 +
The NOR flash device itself does not have an alias in the kernel DT, so
we want to have the bootsource pointing at the SPI controller the flash
chip is attached to.
Signed-off-by: Lucas Stach
---
common/bootsource.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/bootsource.c b/common
This is a series based on earlier work by Marc. It creates an arch
independent framework for storing/retrieving the bootsource. Changes
to Marcs version are:
- rename (currently i.MX specific) barebox_loc environment variable
to 'bootsource'
- initialize the bootsource instance to unknown (-1) i