summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/barebox/aliases.rst
Commit message (Collapse)AuthorAgeFilesLines
* bootsource: use /chosen instead of /aliases/barebox,bootsource-Ahmad Fatoum2023-02-211-7/+12
| | | | | | | | | | | Aliases were a bad choice for this as barebox could end up calling MMC devices /dev/barebox,bootsource-mmc0, which was not intended. Move over to using chosen instead. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Link: https://lore.barebox.org/20230221070735.1130600-2-ahmad@a3f.at Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Documentation: barebox DT aliases: fix sphinx issuesAntony Pavlov2022-09-131-1/+2
| | | | | | | | | | | | | | | sphinx issues: Documentation/devicetree/bindings/barebox/aliases.rst:8: ERROR: Unexpected indentation. Documentation/devicetree/bindings/barebox/aliases.rst:12: WARNING: Definition list ends without a blank line; unexpected unindent. Documentation/devicetree/bindings/barebox/aliases.rst:13: WARNING: Definition list ends without a blank line; unexpected unindent. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Link: https://lore.barebox.org/20220912084430.84451-5-antonynpavlov@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bootsource: allow DT aliases and bootrom numbering to differAhmad Fatoum2022-08-091-0/+36
So far, we had no explicit mapping table between bootsource_instance and device id numbering in barebox and mostly depended on DT aliases reflecting the numbering of the bootrom. Add a new bootsource_set() that optionally consults a mapping table in the DT to arrive at the correct numbers. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220720055042.3510276-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>