mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
bootstd: Rename distro and syslinux to extlinux
We use the terms 'distro' to mean extlinux but they are not really the same. 'Distro' could refer to any method of booting a distribution, whereas extlinux is a particular method. Also we sometimes use syslinux, but it is better to use the same term in all cases. Rename distro to syslinux and also update bootstd uses of syslinux to use extlinux instead. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -255,7 +255,7 @@ int bootmeth_setup_iter_order(struct bootflow_iter *iter, bool include_global);
|
||||
* This selects the ordering to use for bootmeths
|
||||
*
|
||||
* @order_str: String containing the ordering. This is a comma-separate list of
|
||||
* bootmeth-device names, e.g. "syslinux,efi". If empty then a default ordering
|
||||
* bootmeth-device names, e.g. "extlinux,efi". If empty then a default ordering
|
||||
* is used, based on the sequence number of devices (i.e. using aliases)
|
||||
* Return: 0 if OK, -ENODEV if an unknown bootmeth is mentioned, -ENOMEM if
|
||||
* out of memory, -ENOENT if there are no bootmeth devices
|
||||
|
||||
@@ -4,18 +4,18 @@
|
||||
* Written by Simon Glass <sjg@chromium.org>
|
||||
*/
|
||||
|
||||
#ifndef __distro_h
|
||||
#define __distro_h
|
||||
#ifndef __extlinux_h
|
||||
#define __extlinux_h
|
||||
|
||||
#define DISTRO_FNAME "extlinux/extlinux.conf"
|
||||
#define EXTLINUX_FNAME "extlinux/extlinux.conf"
|
||||
|
||||
/**
|
||||
* struct distro_info - useful information for distro_getfile()
|
||||
* struct extlinux_info - useful information for extlinux_getfile()
|
||||
*
|
||||
* @dev: bootmethod device being used to boot
|
||||
* @bflow: bootflow being booted
|
||||
*/
|
||||
struct distro_info {
|
||||
struct extlinux_info {
|
||||
struct udevice *dev;
|
||||
struct bootflow *bflow;
|
||||
struct cmd_tbl *cmdtp;
|
||||
Reference in New Issue
Block a user