[PATCH 1/5] common: machine_id: support /chosen/barebox,machine-id-path override
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Jun 28 02:28:54 PDT 2021
On 28.06.21 08:40, Ahmad Fatoum wrote:
> diff --git a/include/of.h b/include/of.h
> index d82790c0523e..677f48d0aba1 100644
> --- a/include/of.h
> +++ b/include/of.h
> @@ -290,6 +290,7 @@ int of_fixup_partitions(struct device_node *np, struct cdev *cdev);
> int of_partitions_register_fixup(struct cdev *cdev);
> struct device_node *of_get_stdoutpath(unsigned int *);
> int of_device_is_stdout_path(struct device_d *dev, unsigned int *baudrate);
These were added here:
https://lore.pengutronix.de/barebox/20210628051934.9604-1-a.fatoum@pengutronix.de/T/#t
Those two patches are required for this series to apply cleanly.
> +struct device_node *of_get_machineidpath(void);
> const char *of_get_model(void);
> void *of_flatten_dtb(struct device_node *node);
> int of_add_memory(struct device_node *node, bool dump);
> @@ -336,6 +337,11 @@ static inline int of_device_is_stdout_path(struct device_d *dev, unsigned int *b
> return 0;
> }
>
> +static inline struct device_node *of_get_machineidpath(void)
> +{
> + return NULL;
> +}
> +
> static inline const char *of_get_model(void)
> {
> return NULL;
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list