diff options
| author | Simon Glass <[email protected]> | 2023-07-30 21:01:45 -0600 |
|---|---|---|
| committer | Bin Meng <[email protected]> | 2023-08-09 23:31:12 +0800 |
| commit | 5e541a05f70296dbad07fc1f4e8678ad207bb476 (patch) | |
| tree | 78e5cd5c03868910fc8de40e6179b2afdc99ca3c /include/environment/distro | |
| parent | f26a966b2ed06ab1ba86ebce16b96b73bc3f283f (diff) | |
env: Use include/env for text-environment includes
The 'environment' word is too long. We mostly use 'env' in U-Boot, so use
that as the name of the include directory too.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]> # Intel Edison
Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'include/environment/distro')
| -rw-r--r-- | include/environment/distro/sf.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/include/environment/distro/sf.h b/include/environment/distro/sf.h deleted file mode 100644 index ee48a8a4e8f..00000000000 --- a/include/environment/distro/sf.h +++ /dev/null @@ -1,41 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright (C) 2020 Amarula Solutions(India) - * - * SF distro configurations. - */ - -#ifndef __DISTRO_SF_CONFIG_H -#define __DISTRO_SF_CONFIG_H - -#if IS_ENABLED(CONFIG_CMD_SF) -#define BOOTENV_SHARED_SF(devtypel) \ - #devtypel "_boot=" \ - "if " #devtypel " probe ${busnum}; then " \ - "devtype=" #devtypel "; " \ - "run scan_sf_for_scripts; " \ - "fi\0" -#define BOOTENV_DEV_SF(devtypeu, devtypel, instance) \ - "bootcmd_" #devtypel #instance "=" \ - "busnum=" #instance "; " \ - "run " #devtypel "_boot\0" -#define BOOTENV_DEV_NAME_SF(devtypeu, devtypel, instance) \ - #devtypel #instance " " -#else -#define BOOTENV_SHARED_SF(devtypel) -#define BOOTENV_DEV_SF \ - BOOT_TARGET_DEVICES_references_SF_without_CONFIG_CMD_SF -#define BOOTENV_DEV_NAME_SF \ - BOOT_TARGET_DEVICES_references_SF_without_CONFIG_CMD_SF - -#endif /* CONFIG_CMD_SF */ - -#define BOOTENV_SF \ - BOOTENV_SHARED_SF(sf) \ - "scan_sf_for_scripts=" \ - "${devtype} read ${scriptaddr} " \ - "${script_offset_f} ${script_size_f}; " \ - "source ${scriptaddr}; " \ - "echo SCRIPT FAILED: continuing...\0" - -#endif /* __DISTRO_SF_CONFIG_H */ |
