Skip to contentSkip to conversation

x86: Move some boards to text environment

PATCH In review Simon Glass 6 participants 39 messages Jul 31, 2023 – Aug 7, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover x86: Move some boards to text environment

This series starts the process of moving x86 boards to a text environment.

This includes conversions for about half the boards.

The rest (including the more complicated Chromebooks) can come in a later series.

Simon Glass (22):
doc: Explain how to avoid the distro-boot scripts
env: Use include/env for text-environment includes
env: Explain how to use #include files in text environment
x86: Drop CFG_SYS_STACK_SIZE
x86: i8254: Include required ibmpc.h header
x86: edison: Drop inclusion of ibmpc.h
x86: Drop inclusion of ibmpc.h
x86: Drop unused distro settings
x86: Add a common include for environment settings
x86: coreboot: Convert to text environment
x86: crownbay: Convert to text environment
x86: bayleybay: Convert to text environment
x86: galileo: Convert to text environment
x86: edison: Convert to text environment
x86: cherryhill: Convert to text environment
x86: cougarcanyon2: Convert to text environment
x86: minnowmax: Convert to text environment
x86: slimbootloader: Convert to text environment
x86: efi-x86_app: Convert to text environment
x86: efi-x86_payload: Convert to text environment
x86: qemu: Add required linux/sizes.h include
x86: qemu-x86: Convert to text environment

 arch/x86/cpu/qemu/dram.c                      |  1 +
 arch/x86/cpu/qemu/e820.c                      |  1 +
 arch/x86/lib/i8254.c                          |  1 +
 arch/x86/lib/physmem.c                        |  3 +-
 board/coreboot/coreboot/coreboot.env          |  9 +++++
 board/efi/efi-x86_app/efi-x86_app.env         |  6 ++++
 board/efi/efi-x86_payload/efi-x86_payload.env |  6 ++++
 board/emulation/qemu-x86/qemu-x86.env         |  6 ++++
 board/intel/bayleybay/bayleybay.env           |  9 +++++
 board/intel/cherryhill/cherryhill.env         |  9 +++++
 board/intel/cougarcanyon2/cougarcanyon2.env   |  6 ++++
 board/intel/crownbay/crownbay.env             |  6 ++++
 board/intel/edison/edison.env                 |  6 ++++
 board/intel/galileo/galileo.env               | 11 ++++++
 board/intel/minnowmax/minnowmax.env           | 11 ++++++
 board/intel/slimbootloader/slimbootloader.env | 25 +++++++++++++
 board/keymile/km83xx/km83xx.env               |  4 +--
 board/keymile/kmcent2/kmcent2.env             |  2 +-
 .../keymile/pg-wcom-ls102xa/pg-wcom-expu1.env |  2 +-
 .../keymile/pg-wcom-ls102xa/pg-wcom-seli8.env |  2 +-
 board/siemens/iot2050/iot2050.env             |  2 +-
 board/ti/am62ax/am62ax.env                    |  4 +--
 board/ti/am62x/am62x.env                      |  4 +--
 board/ti/am64x/am64x.env                      |  6 ++--
 board/ti/am65x/am65x.env                      |  8 ++---
 board/ti/j721e/j721e.env                      | 10 +++---
 board/ti/j721s2/j721s2.env                    | 10 +++---
 board/ti/ks2_evm/k2e_evm.env                  |  4 +--
 board/ti/ks2_evm/k2g_evm.env                  |  6 ++--
 board/ti/ks2_evm/k2hk_evm.env                 |  4 +--
 board/ti/ks2_evm/k2l_evm.env                  |  4 +--
 doc/usage/environment.rst                     |  8 ++++-
 include/configs/am335x_evm.h                  |  2 +-
 include/configs/am43xx_evm.h                  |  2 +-
 include/configs/am57xx_evm.h                  |  2 +-
 include/configs/am62ax_evm.h                  |  4 +--
 include/configs/am62x_evm.h                   |  2 +-
 include/configs/am64x_evm.h                   |  4 +--
 include/configs/am65x_evm.h                   |  6 ++--
 include/configs/bayleybay.h                   | 17 ---------
 include/configs/cherryhill.h                  | 13 -------
 include/configs/coreboot.h                    | 20 -----------
 include/configs/cougarcanyon2.h               | 13 -------
 include/configs/crownbay.h                    | 17 ---------
 include/configs/da850evm.h                    |  2 +-
 include/configs/dra7xx_evm.h                  |  2 +-
 include/configs/edison.h                      | 11 ------
 include/configs/efi-x86_app.h                 | 11 ------
 include/configs/efi-x86_payload.h             | 17 ---------
 include/configs/galileo.h                     | 19 ----------
 include/configs/minnowmax.h                   | 16 ---------
 include/configs/omap3_evm.h                   |  2 +-
 include/configs/omapl138_lcdk.h               |  2 +-
 include/configs/phycore_am335x_r2.h           |  4 +--
 include/configs/qemu-x86.h                    | 23 ------------
 include/configs/sifive-unleashed.h            |  2 +-
 include/configs/slimbootloader.h              | 35 -------------------
 include/configs/ti_omap4_common.h             |  2 +-
 include/configs/ti_omap5_common.h             |  4 +--
 include/configs/x86-common.h                  | 19 ----------
 include/{environment => env}/distro/sf.h      |  0
 .../{environment => env}/pg-wcom/common.env   |  0
 .../{environment => env}/pg-wcom/ls102xa.env  |  2 +-
 .../{environment => env}/pg-wcom/powerpc.env  |  0
 include/{environment => env}/ti/dfu.h         |  0
 include/{environment => env}/ti/k3_dfu.env    |  0
 include/{environment => env}/ti/k3_dfu.h      |  0
 include/{environment => env}/ti/k3_rproc.env  |  0
 include/{environment => env}/ti/k3_rproc.h    |  0
 include/{environment => env}/ti/mmc.env       |  0
 include/{environment => env}/ti/mmc.h         |  0
 include/{environment => env}/ti/nand.env      |  0
 include/{environment => env}/ti/nand.h        |  0
 .../ti/ti_armv7_common.env                    |  0
 .../ti/ti_armv7_keystone2.env                 |  0
 include/{environment => env}/ti/ufs.env       |  0
 include/{environment => env}/ti/ufs.h         |  0
 include/env/x86.env                           | 20 +++++++++++
 78 files changed, 200 insertions(+), 291 deletions(-)
 create mode 100644 board/coreboot/coreboot/coreboot.env
 create mode 100644 board/efi/efi-x86_app/efi-x86_app.env
 create mode 100644 board/efi/efi-x86_payload/efi-x86_payload.env
 create mode 100644 board/emulation/qemu-x86/qemu-x86.env
 create mode 100644 board/intel/bayleybay/bayleybay.env
 create mode 100644 board/intel/cherryhill/cherryhill.env
 create mode 100644 board/intel/cougarcanyon2/cougarcanyon2.env
 create mode 100644 board/intel/crownbay/crownbay.env
 create mode 100644 board/intel/edison/edison.env
 create mode 100644 board/intel/galileo/galileo.env
 create mode 100644 board/intel/minnowmax/minnowmax.env
 create mode 100644 board/intel/slimbootloader/slimbootloader.env
 rename include/{environment => env}/distro/sf.h (100%)
 rename include/{environment => env}/pg-wcom/common.env (100%)
 rename include/{environment => env}/pg-wcom/ls102xa.env (95%)
 rename include/{environment => env}/pg-wcom/powerpc.env (100%)
 rename include/{environment => env}/ti/dfu.h (100%)
 rename include/{environment => env}/ti/k3_dfu.env (100%)
 rename include/{environment => env}/ti/k3_dfu.h (100%)
 rename include/{environment => env}/ti/k3_rproc.env (100%)
 rename include/{environment => env}/ti/k3_rproc.h (100%)
 rename include/{environment => env}/ti/mmc.env (100%)
 rename include/{environment => env}/ti/mmc.h (100%)
 rename include/{environment => env}/ti/nand.env (100%)
 rename include/{environment => env}/ti/nand.h (100%)
 rename include/{environment => env}/ti/ti_armv7_common.env (100%)
 rename include/{environment => env}/ti/ti_armv7_keystone2.env (100%)
 rename include/{environment => env}/ti/ufs.env (100%)
 rename include/{environment => env}/ti/ufs.h (100%)
 create mode 100644 include/env/x86.env
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#1 lore raw

PATCH 1/22 doc: Explain how to avoid the distro-boot scripts

Now that standard boot is available, mention this in the environment documentation.

---

 doc/usage/environment.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/usage/environment.rst +1 -1
index 2c44e5da6aa0..91dc07b17bce 100644
@@ -94,7 +94,7 @@ to add environment variables.
 
 Board maintainers are encouraged to migrate to the text-based environment as it
 is easier to maintain. The distro-board script still requires the old-style
-environment but work is underway to address this.
+environments, so use :doc:`../develop/bootstd` instead.
 
 
 List of environment variables
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#2 lore raw

PATCH 2/22 env: Use include/env for text-environment includes

In reply to Simon Glass

The 'environment' word is too long. We mostly use 'env' in U-Boot, so use that as the name of the include directory too.

---

 board/keymile/km83xx/km83xx.env                        |  4 ++--
 board/keymile/kmcent2/kmcent2.env                      |  2 +-
 board/keymile/pg-wcom-ls102xa/pg-wcom-expu1.env        |  2 +-
 board/keymile/pg-wcom-ls102xa/pg-wcom-seli8.env        |  2 +-
 board/siemens/iot2050/iot2050.env                      |  2 +-
 board/ti/am62ax/am62ax.env                             |  4 ++--
 board/ti/am62x/am62x.env                               |  4 ++--
 board/ti/am64x/am64x.env                               |  6 +++---
 board/ti/am65x/am65x.env                               |  8 ++++----
 board/ti/j721e/j721e.env                               | 10 +++++-----
 board/ti/j721s2/j721s2.env                             | 10 +++++-----
 board/ti/ks2_evm/k2e_evm.env                           |  4 ++--
 board/ti/ks2_evm/k2g_evm.env                           |  6 +++---
 board/ti/ks2_evm/k2hk_evm.env                          |  4 ++--
 board/ti/ks2_evm/k2l_evm.env                           |  4 ++--
 include/configs/am335x_evm.h                           |  2 +-
 include/configs/am43xx_evm.h                           |  2 +-
 include/configs/am57xx_evm.h                           |  2 +-
 include/configs/am62ax_evm.h                           |  4 ++--
 include/configs/am62x_evm.h                            |  2 +-
 include/configs/am64x_evm.h                            |  4 ++--
 include/configs/am65x_evm.h                            |  6 +++---
 include/configs/da850evm.h                             |  2 +-
 include/configs/dra7xx_evm.h                           |  2 +-
 include/configs/omap3_evm.h                            |  2 +-
 include/configs/omapl138_lcdk.h                        |  2 +-
 include/configs/phycore_am335x_r2.h                    |  4 ++--
 include/configs/sifive-unleashed.h                     |  2 +-
 include/configs/ti_omap4_common.h                      |  2 +-
 include/configs/ti_omap5_common.h                      |  4 ++--
 include/{environment => env}/distro/sf.h               |  0
 include/{environment => env}/pg-wcom/common.env        |  0
 include/{environment => env}/pg-wcom/ls102xa.env       |  2 +-
 include/{environment => env}/pg-wcom/powerpc.env       |  0
 include/{environment => env}/ti/dfu.h                  |  0
 include/{environment => env}/ti/k3_dfu.env             |  0
 include/{environment => env}/ti/k3_dfu.h               |  0
 include/{environment => env}/ti/k3_rproc.env           |  0
 include/{environment => env}/ti/k3_rproc.h             |  0
 include/{environment => env}/ti/mmc.env                |  0
 include/{environment => env}/ti/mmc.h                  |  0
 include/{environment => env}/ti/nand.env               |  0
 include/{environment => env}/ti/nand.h                 |  0
 include/{environment => env}/ti/ti_armv7_common.env    |  0
 include/{environment => env}/ti/ti_armv7_keystone2.env |  0
 include/{environment => env}/ti/ufs.env                |  0
 include/{environment => env}/ti/ufs.h                  |  0
 47 files changed, 58 insertions(+), 58 deletions(-)
 rename include/{environment => env}/distro/sf.h (100%)
 rename include/{environment => env}/pg-wcom/common.env (100%)
 rename include/{environment => env}/pg-wcom/ls102xa.env (95%)
 rename include/{environment => env}/pg-wcom/powerpc.env (100%)
 rename include/{environment => env}/ti/dfu.h (100%)
 rename include/{environment => env}/ti/k3_dfu.env (100%)
 rename include/{environment => env}/ti/k3_dfu.h (100%)
 rename include/{environment => env}/ti/k3_rproc.env (100%)
 rename include/{environment => env}/ti/k3_rproc.h (100%)
 rename include/{environment => env}/ti/mmc.env (100%)
 rename include/{environment => env}/ti/mmc.h (100%)
 rename include/{environment => env}/ti/nand.env (100%)
 rename include/{environment => env}/ti/nand.h (100%)
 rename include/{environment => env}/ti/ti_armv7_common.env (100%)
 rename include/{environment => env}/ti/ti_armv7_keystone2.env (100%)
 rename include/{environment => env}/ti/ufs.env (100%)
 rename include/{environment => env}/ti/ufs.h (100%)
board/keymile/km83xx/km83xx.env +2 -2
index ed2487c028d0..1f13aaa88231 100644
@@ -13,8 +13,8 @@ netdev=eth0
 uimage=uImage
 #endif
 
-#include <environment/pg-wcom/common.env>
-#include <environment/pg-wcom/powerpc.env>
+#include <env/pg-wcom/common.env>
+#include <env/pg-wcom/powerpc.env>
 
 #if CONFIG_TARGET_KMCOGE5NE
 add_default+= eccmode=bch
board/keymile/kmcent2/kmcent2.env +1 -1
index 6b676a4ceb8b..efa762e55899 100644
@@ -1,4 +1,4 @@
-#include <environment/pg-wcom/common.env>
+#include <env/pg-wcom/common.env>
 
 EEprom_ivm=pca9547:70:9
 arch=ppc_82xx
board/keymile/pg-wcom-ls102xa/pg-wcom-expu1.env +1 -1
index d960de6bfe01..1054dbf9f542 100644
@@ -1,3 +1,3 @@
-#include <environment/pg-wcom/ls102xa.env>
+#include <env/pg-wcom/ls102xa.env>
 
 hostname=EXPU1
board/keymile/pg-wcom-ls102xa/pg-wcom-seli8.env +1 -1
index 4031f8bee958..1232fe9da8bc 100644
@@ -1,3 +1,3 @@
-#include <environment/pg-wcom/ls102xa.env>
+#include <env/pg-wcom/ls102xa.env>
 
 hostname=SELI8
board/siemens/iot2050/iot2050.env +1 -1
index 7fd836e62857..caa9f80e3fca 100644
@@ -6,7 +6,7 @@
  *   Jan Kiszka <[email protected]>
  */
 
-#include <environment/ti/ti_armv7_common.env>
+#include <env/ti/ti_armv7_common.env>
 
 usb_pgood_delay=900
 
board/ti/am62ax/am62ax.env +2 -2
index 491ec973bbc6..3f7c333fa404 100644
@@ -1,5 +1,5 @@
-#include <environment/ti/ti_armv7_common.env>
-#include <environment/ti/mmc.env>
+#include <env/ti/ti_armv7_common.env>
+#include <env/ti/mmc.env>
 
 default_device_tree=ti/k3-am62a7-sk.dtb
 findfdt=
board/ti/am62x/am62x.env +2 -2
index bb37d21de61b..f2dc87893a92 100644
@@ -1,5 +1,5 @@
-#include <environment/ti/ti_armv7_common.env>
-#include <environment/ti/mmc.env>
+#include <env/ti/ti_armv7_common.env>
+#include <env/ti/mmc.env>
 
 default_device_tree=ti/k3-am625-sk.dtb
 findfdt=
board/ti/am64x/am64x.env +3 -3
index ecb07366fc8a..1567907fcbdc 100644
@@ -1,6 +1,6 @@
-#include <environment/ti/ti_armv7_common.env>
-#include <environment/ti/mmc.env>
-#include <environment/ti/k3_dfu.env>
+#include <env/ti/ti_armv7_common.env>
+#include <env/ti/mmc.env>
+#include <env/ti/k3_dfu.env>
 
 findfdt=
 	if test $board_name = am64x_gpevm; then
board/ti/am65x/am65x.env +4 -4
index 036f4752835a..755bff2707c8 100644
@@ -1,8 +1,8 @@
-#include <environment/ti/ti_armv7_common.env>
-#include <environment/ti/mmc.env>
-#include <environment/ti/k3_dfu.env>
+#include <env/ti/ti_armv7_common.env>
+#include <env/ti/mmc.env>
+#include <env/ti/k3_dfu.env>
 #if CONFIG_CMD_REMOTEPROC
-#include <environment/ti/k3_rproc.env>
+#include <env/ti/k3_rproc.env>
 #endif
 
 findfdt=
board/ti/j721e/j721e.env +5 -5
index f7a4880bf835..2f2fb0591279 100644
@@ -1,10 +1,10 @@
-#include <environment/ti/ti_armv7_common.env>
-#include <environment/ti/mmc.env>
-#include <environment/ti/ufs.env>
-#include <environment/ti/k3_dfu.env>
+#include <env/ti/ti_armv7_common.env>
+#include <env/ti/mmc.env>
+#include <env/ti/ufs.env>
+#include <env/ti/k3_dfu.env>
 
 #if CONFIG_CMD_REMOTEPROC
-#include <environment/ti/k3_rproc.env>
+#include <env/ti/k3_rproc.env>
 #endif
 
 default_device_tree=ti/k3-j721e-common-proc-board.dtb
board/ti/j721s2/j721s2.env +5 -5
index 2ec652dbdd3e..6825b1469854 100644
@@ -1,10 +1,10 @@
-#include <environment/ti/ti_armv7_common.env>
-#include <environment/ti/mmc.env>
-#include <environment/ti/ufs.env>
-#include <environment/ti/k3_dfu.env>
+#include <env/ti/ti_armv7_common.env>
+#include <env/ti/mmc.env>
+#include <env/ti/ufs.env>
+#include <env/ti/k3_dfu.env>
 
 #if CONFIG_CMD_REMOTEPROC
-#include <environment/ti/k3_rproc.env>
+#include <env/ti/k3_rproc.env>
 #endif
 
 default_device_tree=ti/k3-j721s2-common-proc-board.dtb
board/ti/ks2_evm/k2e_evm.env +2 -2
index 746e4065a2c0..a145db53e5fa 100644
@@ -1,5 +1,5 @@
-#include <environment/ti/ti_armv7_common.env>
-#include <environment/ti/ti_armv7_keystone2.env>
+#include <env/ti/ti_armv7_common.env>
+#include <env/ti/ti_armv7_keystone2.env>
 
 findfdt=setenv fdtfile ${name_fdt}
 boot=ubi
board/ti/ks2_evm/k2g_evm.env +3 -3
index 72807ac87a6a..4f4941dd0907 100644
@@ -1,6 +1,6 @@
-#include <environment/ti/ti_armv7_common.env>
-#include <environment/ti/ti_armv7_keystone2.env>
-#include <environment/ti/mmc.env>
+#include <env/ti/ti_armv7_common.env>
+#include <env/ti/ti_armv7_keystone2.env>
+#include <env/ti/mmc.env>
 
 set_name_pmmc=setenv name_pmmc ti-sci-firmware-k2g.bin
 dev_pmmc=0
board/ti/ks2_evm/k2hk_evm.env +2 -2
index f1cdc7060368..0714a51090ef 100644
@@ -1,5 +1,5 @@
-#include <environment/ti/ti_armv7_common.env>
-#include <environment/ti/ti_armv7_keystone2.env>
+#include <env/ti/ti_armv7_common.env>
+#include <env/ti/ti_armv7_keystone2.env>
 
 findfdt=setenv fdtfile ${name_fdt}
 boot=ubi
board/ti/ks2_evm/k2l_evm.env +2 -2
index ddb5cd4aadc6..e8a803a4ed76 100644
@@ -1,5 +1,5 @@
-#include <environment/ti/ti_armv7_common.env>
-#include <environment/ti/ti_armv7_keystone2.env>
+#include <env/ti/ti_armv7_common.env>
+#include <env/ti/ti_armv7_keystone2.env>
 
 findfdt=setenv fdtfile ${name_fdt}
 boot=ubi
include/configs/am335x_evm.h +1 -1
index 5b4777851742..504b1f02283e 100644
@@ -76,7 +76,7 @@
 #include <config_distro_bootcmd.h>
 
 #ifndef CONFIG_SPL_BUILD
-#include <environment/ti/dfu.h>
+#include <env/ti/dfu.h>
 
 #define CFG_EXTRA_ENV_SETTINGS \
 	DEFAULT_LINUX_BOOT_ENV \
include/configs/am43xx_evm.h +1 -1
index a2f73c475434..7ee7b7e4f4fb 100644
@@ -64,7 +64,7 @@
 #include <config_distro_bootcmd.h>
 
 #ifndef CONFIG_SPL_BUILD
-#include <environment/ti/dfu.h>
+#include <env/ti/dfu.h>
 
 #define CFG_EXTRA_ENV_SETTINGS \
 	DEFAULT_LINUX_BOOT_ENV \
include/configs/am57xx_evm.h +1 -1
index ba91f2b0545b..06edde69028d 100644
@@ -11,7 +11,7 @@
 #ifndef __CONFIG_AM57XX_EVM_H
 #define __CONFIG_AM57XX_EVM_H
 
-#include <environment/ti/dfu.h>
+#include <env/ti/dfu.h>
 #include <linux/sizes.h>
 
 #define CFG_SYS_NS16550_COM1		UART1_BASE	/* Base EVM has UART0 */
include/configs/am62ax_evm.h +2 -2
index 3997ce558a45..57003f120f9a 100644
@@ -9,8 +9,8 @@
 #define __CONFIG_AM62AX_EVM_H
 
 #include <linux/sizes.h>
-#include <environment/ti/mmc.h>
-#include <environment/ti/k3_dfu.h>
+#include <env/ti/mmc.h>
+#include <env/ti/k3_dfu.h>
 
 /* DDR Configuration */
 #define CFG_SYS_SDRAM_BASE1		0x880000000
include/configs/am62x_evm.h +1 -1
index 6b2a6ee0d0ca..44180dc7687b 100644
@@ -10,7 +10,7 @@
 #define __CONFIG_AM625_EVM_H
 
 #include <config_distro_bootcmd.h>
-#include <environment/ti/mmc.h>
+#include <env/ti/mmc.h>
 
 /* DDR Configuration */
 #define CFG_SYS_SDRAM_BASE1		0x880000000
include/configs/am64x_evm.h +2 -2
index 1e37ab47b9a3..062102a610d3 100644
@@ -11,9 +11,9 @@
 
 #include <linux/sizes.h>
 #include <config_distro_bootcmd.h>
-#include <environment/ti/mmc.h>
+#include <env/ti/mmc.h>
 #include <asm/arch/am64_hardware.h>
-#include <environment/ti/k3_dfu.h>
+#include <env/ti/k3_dfu.h>
 
 /* DDR Configuration */
 #define CFG_SYS_SDRAM_BASE1		0x880000000
include/configs/am65x_evm.h +3 -3
index 2fa658d53961..9e90239a1c18 100644
@@ -10,9 +10,9 @@
 #define __CONFIG_AM654_EVM_H
 
 #include <linux/sizes.h>
-#include <environment/ti/mmc.h>
-#include <environment/ti/k3_rproc.h>
-#include <environment/ti/k3_dfu.h>
+#include <env/ti/mmc.h>
+#include <env/ti/k3_rproc.h>
+#include <env/ti/k3_dfu.h>
 
 /* DDR Configuration */
 #define CFG_SYS_SDRAM_BASE1		0x880000000
include/configs/da850evm.h +1 -1
index 736af88a0247..cef404218ed4 100644
@@ -143,7 +143,7 @@
 	"fdtaddr=0xc0600000\0" \
 	"scriptaddr=0xc0600000\0"
 
-#include <environment/ti/mmc.h>
+#include <env/ti/mmc.h>
 
 #define CFG_EXTRA_ENV_SETTINGS \
 	DEFAULT_LINUX_BOOT_ENV \
include/configs/dra7xx_evm.h +1 -1
index ef1d5a112608..633ec1f32fa5 100644
@@ -11,7 +11,7 @@
 #ifndef __CONFIG_DRA7XX_EVM_H
 #define __CONFIG_DRA7XX_EVM_H
 
-#include <environment/ti/dfu.h>
+#include <env/ti/dfu.h>
 
 #define CFG_MAX_MEM_MAPPED		0x80000000
 
include/configs/omap3_evm.h +1 -1
index adb25a62970c..f44967787c97 100644
@@ -67,7 +67,7 @@
 
 #include <config_distro_bootcmd.h>
 
-#include <environment/ti/mmc.h>
+#include <env/ti/mmc.h>
 
 #define CFG_EXTRA_ENV_SETTINGS \
 	DEFAULT_LINUX_BOOT_ENV \
include/configs/omapl138_lcdk.h +1 -1
index af0093511a02..fc2655a17b91 100644
@@ -135,7 +135,7 @@
 	"fdtaddr=0xc0600000\0" \
 	"scriptaddr=0xc0600000\0"
 
-#include <environment/ti/mmc.h>
+#include <env/ti/mmc.h>
 
 #define CFG_EXTRA_ENV_SETTINGS \
 	DEFAULT_LINUX_BOOT_ENV \
include/configs/phycore_am335x_r2.h +2 -2
index 4e6dc79f41b2..8668da6eba5d 100644
@@ -59,8 +59,8 @@
 	func(NAND, nand, 0)
 
 #include <config_distro_bootcmd.h>
-#include <environment/ti/dfu.h>
-#include <environment/ti/mmc.h>
+#include <env/ti/dfu.h>
+#include <env/ti/mmc.h>
 
 #define CFG_EXTRA_ENV_SETTINGS \
 	DEFAULT_MMC_TI_ARGS \
include/configs/sifive-unleashed.h +1 -1
index f208f5e20db9..2996b375723a 100644
@@ -26,7 +26,7 @@
 	func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>
-#include <environment/distro/sf.h>
+#include <env/distro/sf.h>
 
 #define TYPE_GUID_LOADER1	"5B193300-FC78-40CD-8002-E86C45580B47"
 #define TYPE_GUID_LOADER2	"2E54B353-1271-4842-806F-E436D6AF6985"
include/configs/ti_omap4_common.h +1 -1
index 9e312ac16d1a..c4f116aabf80 100644
@@ -56,7 +56,7 @@
 	func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>
-#include <environment/ti/mmc.h>
+#include <env/ti/mmc.h>
 
 #define CFG_EXTRA_ENV_SETTINGS \
 	DEFAULT_LINUX_BOOT_ENV \
include/configs/ti_omap5_common.h +2 -2
index 74a39c40785c..4e5aa74147d4 100644
@@ -39,8 +39,8 @@
 #define DFUARGS
 #endif
 
-#include <environment/ti/mmc.h>
-#include <environment/ti/nand.h>
+#include <env/ti/mmc.h>
+#include <env/ti/nand.h>
 
 #ifndef CONSOLEDEV
 #define CONSOLEDEV "ttyS2"
include/env/distro/sf.h renamed from include/environment/distro/sf.h +0 -0
similarity index 100%
rename from include/environment/distro/sf.h
rename to include/env/distro/sf.h
include/env/pg-wcom/common.env renamed from include/environment/pg-wcom/common.env +0 -0
similarity index 100%
rename from include/environment/pg-wcom/common.env
rename to include/env/pg-wcom/common.env
include/env/pg-wcom/ls102xa.env renamed from include/environment/pg-wcom/ls102xa.env +1 -1
similarity index 95%
rename from include/environment/pg-wcom/ls102xa.env
rename to include/env/pg-wcom/ls102xa.env
index 5b5bda95e283..abbec4245742 100644
@@ -1,6 +1,6 @@
 #define WCOM_UBI_PARTITION_APP
 
-#include <environment/pg-wcom/common.env>
+#include <env/pg-wcom/common.env>
 
 EEprom_ivm=pca9547:70:9
 boot=bootm $load_addr_r - $fdt_addr_r
include/env/pg-wcom/powerpc.env renamed from include/environment/pg-wcom/powerpc.env +0 -0
similarity index 100%
rename from include/environment/pg-wcom/powerpc.env
rename to include/env/pg-wcom/powerpc.env
include/env/ti/dfu.h renamed from include/environment/ti/dfu.h +0 -0
similarity index 100%
rename from include/environment/ti/dfu.h
rename to include/env/ti/dfu.h
include/env/ti/k3_dfu.env renamed from include/environment/ti/k3_dfu.env +0 -0
similarity index 100%
rename from include/environment/ti/k3_dfu.env
rename to include/env/ti/k3_dfu.env
include/env/ti/k3_dfu.h renamed from include/environment/ti/k3_dfu.h +0 -0
similarity index 100%
rename from include/environment/ti/k3_dfu.h
rename to include/env/ti/k3_dfu.h
include/env/ti/k3_rproc.env renamed from include/environment/ti/k3_rproc.env +0 -0
similarity index 100%
rename from include/environment/ti/k3_rproc.env
rename to include/env/ti/k3_rproc.env
include/env/ti/k3_rproc.h renamed from include/environment/ti/k3_rproc.h +0 -0
similarity index 100%
rename from include/environment/ti/k3_rproc.h
rename to include/env/ti/k3_rproc.h
include/env/ti/mmc.env renamed from include/environment/ti/mmc.env +0 -0
similarity index 100%
rename from include/environment/ti/mmc.env
rename to include/env/ti/mmc.env
include/env/ti/mmc.h renamed from include/environment/ti/mmc.h +0 -0
similarity index 100%
rename from include/environment/ti/mmc.h
rename to include/env/ti/mmc.h
include/env/ti/nand.env renamed from include/environment/ti/nand.env +0 -0
similarity index 100%
rename from include/environment/ti/nand.env
rename to include/env/ti/nand.env
include/env/ti/nand.h renamed from include/environment/ti/nand.h +0 -0
similarity index 100%
rename from include/environment/ti/nand.h
rename to include/env/ti/nand.h
include/env/ti/ti_armv7_common.env renamed from include/environment/ti/ti_armv7_common.env +0 -0
similarity index 100%
rename from include/environment/ti/ti_armv7_common.env
rename to include/env/ti/ti_armv7_common.env
include/env/ti/ti_armv7_keystone2.env renamed from include/environment/ti/ti_armv7_keystone2.env +0 -0
similarity index 100%
rename from include/environment/ti/ti_armv7_keystone2.env
rename to include/env/ti/ti_armv7_keystone2.env
include/env/ti/ufs.env renamed from include/environment/ti/ufs.env +0 -0
similarity index 100%
rename from include/environment/ti/ufs.env
rename to include/env/ti/ufs.env
include/env/ti/ufs.h renamed from include/environment/ti/ufs.h +0 -0
similarity index 100%
rename from include/environment/ti/ufs.h
rename to include/env/ti/ufs.h
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#3 lore raw

PATCH 3/22 env: Explain how to use #include files in text environment

In reply to Simon Glass

Provide documentation on how to share common settings among boards.

---

 doc/usage/environment.rst | 6 ++++++
 1 file changed, 6 insertions(+)
doc/usage/environment.rst +6 -0
index 91dc07b17bce..c6439dde6689 100644
@@ -81,6 +81,12 @@ Example::
         echo CONFIG_SYS_BOARD boot failed - please check your image
         echo Load address is CONFIG_SYS_LOAD_ADDR
 
+Settings which are common to a group of boards can use #include to bring in
+a common file in the `include/env` directory, containing environment
+settings. For example::
+
+   #include <env/ti/mmc.env>
+
 If CONFIG_ENV_SOURCE_FILE is empty and the default filename is not present, then
 the old-style C environment is used instead. See below.
 
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#4 lore raw

PATCH 4/22 x86: Drop CFG_SYS_STACK_SIZE

In reply to Simon Glass

This is only used in one file and the value is the same for both boards which define it. Use the fixed value of 32KB and drop the CFG. This will allow removal of the config.h files.

---

 arch/x86/lib/physmem.c       |  3 ++-
 include/configs/edison.h     |  4 ----
 include/configs/x86-common.h | 10 ----------
 3 files changed, 2 insertions(+), 15 deletions(-)
arch/x86/lib/physmem.c +2 -1
index 1eb97ac5bb17..382f768149f4 100644
@@ -14,6 +14,7 @@
 #include <asm/cpu.h>
 #include <asm/global_data.h>
 #include <linux/compiler.h>
+#include <linux/sizes.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -144,7 +145,7 @@ static void x86_phys_memset_page(phys_addr_t map_addr, uintptr_t offset, int c,
 
 	/* Make sure the window is below U-Boot. */
 	assert(window + LARGE_PAGE_SIZE <
-	       gd->relocaddr - CONFIG_SYS_MALLOC_LEN - CFG_SYS_STACK_SIZE);
+	       gd->relocaddr - CONFIG_SYS_MALLOC_LEN - SZ_32K);
 	/* Map the page into the window and then memset the appropriate part. */
 	x86_phys_map_page(window, map_addr, 1);
 	memset((void *)(window + offset), c, size);
include/configs/edison.h +0 -4
index 455a889b64c1..558c74d7b469 100644
@@ -8,8 +8,4 @@
 
 #include <asm/ibmpc.h>
 
-/* Miscellaneous configurable options */
-
-#define CFG_SYS_STACK_SIZE			(32 * 1024)
-
 #endif
include/configs/x86-common.h +0 -10
index c1c5a09a35c7..608c5ba7b0a6 100644
@@ -10,16 +10,6 @@
 #ifndef __CONFIG_X86_COMMON_H
 #define __CONFIG_X86_COMMON_H
 
-/*-----------------------------------------------------------------------
- * CPU Features
- */
-
-#define CFG_SYS_STACK_SIZE			(32 * 1024)
-
-/*-----------------------------------------------------------------------
- * Environment configuration
- */
-
 /*-----------------------------------------------------------------------
  * USB configuration
  */
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#5 lore raw

PATCH 5/22 x86: i8254: Include required ibmpc.h header

In reply to Simon Glass

This is needed for this file, so include it here explicitly.

---

 arch/x86/lib/i8254.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/lib/i8254.c +1 -0
index 0f975389103d..a8d1db188ece 100644
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <asm/io.h>
 #include <asm/i8254.h>
+#include <asm/ibmpc.h>
 
 #define TIMER1_VALUE		18	/* 15.6us */
 #define BEEP_FREQUENCY_HZ	440
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#6 lore raw

PATCH 6/22 x86: edison: Drop inclusion of ibmpc.h

In reply to Simon Glass

This should be included by files that need it, not the config.h file. Drop it.

---

 include/configs/edison.h | 7 -------
 1 file changed, 7 deletions(-)
include/configs/edison.h +0 -7
index 558c74d7b469..127c2c4546e0 100644
@@ -2,10 +2,3 @@
 /*
  * Copyright (c) 2017 Intel Corp.
  */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <asm/ibmpc.h>
-
-#endif
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#7 lore raw

PATCH 7/22 x86: Drop inclusion of ibmpc.h

In reply to Simon Glass

This is not needed in this file anymore. Drop it.

---

 include/configs/x86-common.h | 2 --
 1 file changed, 2 deletions(-)
include/configs/x86-common.h +0 -2
index 608c5ba7b0a6..e05f667d7226 100644
@@ -5,8 +5,6 @@
  * Graeme Russ, [email protected].
  */
 
-#include <asm/ibmpc.h>
-
 #ifndef __CONFIG_X86_COMMON_H
 #define __CONFIG_X86_COMMON_H
 
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#8 lore raw

PATCH 8/22 x86: Drop unused distro settings

In reply to Simon Glass

No x86 board uses distro boot, so drop these settings.

---

 include/configs/x86-common.h | 7 -------
 1 file changed, 7 deletions(-)
include/configs/x86-common.h +0 -7
index e05f667d7226..8bd0716c08d2 100644
@@ -20,18 +20,11 @@
 #define CFG_OTHBOOTARGS	"othbootargs=acpi=off\0"
 #endif
 
-#if defined(CONFIG_DISTRO_DEFAULTS)
-#define DISTRO_BOOTENV		BOOTENV
-#else
-#define DISTRO_BOOTENV
-#endif
-
 #ifndef SPLASH_SETTINGS
 #define SPLASH_SETTINGS
 #endif
 
 #define CFG_EXTRA_ENV_SETTINGS			\
-	DISTRO_BOOTENV					\
 	CFG_STD_DEVICES_SETTINGS			\
 	SPLASH_SETTINGS					\
 	"pciconfighost=1\0"				\
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#9 lore raw

PATCH 9/22 x86: Add a common include for environment settings

In reply to Simon Glass

Create a text-file version of x86-common.h which can be used by x86 boards.

---

 include/env/x86.env | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 include/env/x86.env
include/env/x86.env new file +20 -0
new file mode 100644
index 000000000000..d00d98f70a1f
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+
+/*
+ * Copyright (c) 2011 The Chromium OS Authors.
+ * (C) Copyright 2008
+ * Graeme Russ, [email protected]
+ */
+
+pciconfighost=1
+netdev=eth0
+consoledev=ttyS0
+scriptaddr=0x7000000
+kernel_addr_r=0x1000000
+ramdisk_addr_r=0x4000000
+ramdiskfile=initramfs.gz
+
+/* common console settings */
+stdin=serial,i8042-kbd,usbkbd
+stdout=serial,vidconsole
+stderr=serial,vidconsole
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#10 lore raw

PATCH 10/22 x86: coreboot: Convert to text environment

In reply to Simon Glass

Use the common include and add some options specific to this board.

Drop everything from the config.h file.

---

 board/coreboot/coreboot/coreboot.env |  9 +++++++++
 include/configs/coreboot.h           | 20 --------------------
 2 files changed, 9 insertions(+), 20 deletions(-)
 create mode 100644 board/coreboot/coreboot/coreboot.env
board/coreboot/coreboot/coreboot.env new file +9 -0
new file mode 100644
index 000000000000..0f5bb6fb624b
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2018, Bin Meng <[email protected]>
+ */
+
+#include <env/x86.env>
+
+splashsource=virtio_fs
+splashimage=0x1000000
include/configs/coreboot.h +0 -20
index b4f49bf5289d..e00c408f29a5 100644
@@ -2,23 +2,3 @@
 /*
  * Copyright (C) 2018, Bin Meng <[email protected]>
  */
-
-/*
- * board/config.h - configuration options, board specific
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#define SPLASH_SETTINGS "splashsource=virtio_fs\0" \
-	"splashimage=0x1000000\0"
-
-#include <configs/x86-common.h>
-
-#define CFG_STD_DEVICES_SETTINGS	"stdin=serial,i8042-kbd,usbkbd\0" \
-					"stdout=serial,vidconsole\0" \
-					"stderr=serial,vidconsole\0"
-
-/* ATA/IDE support */
-
-#endif	/* __CONFIG_H */
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#11 lore raw

PATCH 11/22 x86: crownbay: Convert to text environment

In reply to Simon Glass

Use the common include.

Drop everything from the config.h file.

---

 board/intel/crownbay/crownbay.env |  6 ++++++
 include/configs/crownbay.h        | 17 -----------------
 2 files changed, 6 insertions(+), 17 deletions(-)
 create mode 100644 board/intel/crownbay/crownbay.env
board/intel/crownbay/crownbay.env new file +6 -0
new file mode 100644
index 000000000000..9e95414c002e
@@ -0,0 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2014, Bin Meng <[email protected]>
+ */
+
+#include <env/x86.env>
include/configs/crownbay.h +0 -17
index 387bb8800e89..0c842dd01ebe 100644
@@ -2,20 +2,3 @@
 /*
  * Copyright (C) 2014, Bin Meng <[email protected]>
  */
-
-/*
- * board/config.h - configuration options, board specific
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <configs/x86-common.h>
-
-#define CFG_STD_DEVICES_SETTINGS	"stdin=serial,i8042-kbd,usbkbd\0" \
-					"stdout=serial,vidconsole\0" \
-					"stderr=serial,vidconsole\0"
-
-/* Environment configuration */
-
-#endif	/* __CONFIG_H */
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#12 lore raw

PATCH 12/22 x86: bayleybay: Convert to text environment

In reply to Simon Glass

Use the common include.

Drop everything from the config.h file.

---

 board/intel/bayleybay/bayleybay.env |  9 +++++++++
 include/configs/bayleybay.h         | 17 -----------------
 2 files changed, 9 insertions(+), 17 deletions(-)
 create mode 100644 board/intel/bayleybay/bayleybay.env
board/intel/bayleybay/bayleybay.env new file +9 -0
new file mode 100644
index 000000000000..89e1849fa83a
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2015, Bin Meng <[email protected]>
+ */
+
+#include <env/x86.env>
+
+/* don't use i8042-kbd */
+stdin=serial,usbkbd
include/configs/bayleybay.h +0 -17
index b0df328cd84b..9b0f5cedcd79 100644
@@ -2,20 +2,3 @@
 /*
  * Copyright (C) 2015, Bin Meng <[email protected]>
  */
-
-/*
- * board/config.h - configuration options, board specific
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <configs/x86-common.h>
-
-#define CFG_STD_DEVICES_SETTINGS	"stdin=serial,usbkbd\0" \
-					"stdout=serial,vidconsole\0" \
-					"stderr=serial,vidconsole\0"
-
-/* Environment configuration */
-
-#endif	/* __CONFIG_H */
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#13 lore raw

PATCH 13/22 x86: galileo: Convert to text environment

In reply to Simon Glass

Use the common include.

Drop everything from the config.h file.

---

 board/intel/galileo/galileo.env | 11 +++++++++++
 include/configs/galileo.h       | 19 -------------------
 2 files changed, 11 insertions(+), 19 deletions(-)
 create mode 100644 board/intel/galileo/galileo.env
board/intel/galileo/galileo.env new file +11 -0
new file mode 100644
index 000000000000..83e77bb300ac
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2015, Bin Meng <[email protected]>
+ */
+
+#include <env/x86.env>
+
+/* use just serial */
+stdin=serial
+stdout=serial
+stderr=serial
include/configs/galileo.h +0 -19
index 0380ac287be2..9b0f5cedcd79 100644
@@ -2,22 +2,3 @@
 /*
  * Copyright (C) 2015, Bin Meng <[email protected]>
  */
-
-/*
- * board/config.h - configuration options, board specific
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <configs/x86-common.h>
-
-/* ns16550 UART is memory-mapped in Quark SoC */
-
-#define CFG_STD_DEVICES_SETTINGS	"stdin=serial\0" \
-					"stdout=serial\0" \
-					"stderr=serial\0"
-
-/* Environment configuration */
-
-#endif	/* __CONFIG_H */
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#14 lore raw

PATCH 14/22 x86: edison: Convert to text environment

In reply to Simon Glass

Don't use the common include since Edison's environment is empty.

---

 board/intel/edison/edison.env | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 board/intel/edison/edison.env
board/intel/edison/edison.env new file +6 -0
new file mode 100644
index 000000000000..c7d4de7b0399
@@ -0,0 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (c) 2017 Intel Corp.
+ */
+
+/* empty environment */
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#15 lore raw

PATCH 15/22 x86: cherryhill: Convert to text environment

In reply to Simon Glass

Use the common include.

Drop everything from the config.h file.

---

 board/intel/cherryhill/cherryhill.env |  9 +++++++++
 include/configs/cherryhill.h          | 13 -------------
 2 files changed, 9 insertions(+), 13 deletions(-)
 create mode 100644 board/intel/cherryhill/cherryhill.env
board/intel/cherryhill/cherryhill.env new file +9 -0
new file mode 100644
index 000000000000..929b6a18a745
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2017, Bin Meng <[email protected]>
+ */
+
+#include <env/x86.env>
+
+/* don't use i8042-kbd */
+stdin=serial,usbkbd
include/configs/cherryhill.h +0 -13
index d6ce70a96aea..a3009571de98 100644
@@ -2,16 +2,3 @@
 /*
  * Copyright (C) 2017, Bin Meng <[email protected]>
  */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <configs/x86-common.h>
-
-#define CFG_STD_DEVICES_SETTINGS	"stdin=usbkbd,serial\0" \
-					"stdout=vidconsole,serial\0" \
-					"stderr=vidconsole,serial\0"
-
-/* Environment configuration */
-
-#endif	/* __CONFIG_H */
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#16 lore raw

PATCH 16/22 x86: cougarcanyon2: Convert to text environment

In reply to Simon Glass

Use the common include. The existing environment includes "vga" but that is not valid anymore, so let it use vidconsole

Drop everything from the config.h file.

---

 board/intel/cougarcanyon2/cougarcanyon2.env |  6 ++++++
 include/configs/cougarcanyon2.h             | 13 -------------
 2 files changed, 6 insertions(+), 13 deletions(-)
 create mode 100644 board/intel/cougarcanyon2/cougarcanyon2.env
board/intel/cougarcanyon2/cougarcanyon2.env new file +6 -0
new file mode 100644
index 000000000000..6329b0f330bf
@@ -0,0 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2016, Bin Meng <[email protected]>
+ */
+
+#include <env/x86.env>
include/configs/cougarcanyon2.h +0 -13
index 31639e48da88..0406786f7c66 100644
@@ -2,16 +2,3 @@
 /*
  * Copyright (C) 2016, Bin Meng <[email protected]>
  */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <configs/x86-common.h>
-
-#define CFG_STD_DEVICES_SETTINGS	"stdin=serial,i8042-kbd,usbkbd\0" \
-					"stdout=serial,vga\0" \
-					"stderr=serial,vga\0"
-
-/* Environment configuration */
-
-#endif	/* __CONFIG_H */
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#17 lore raw

PATCH 17/22 x86: minnowmax: Convert to text environment

In reply to Simon Glass

Use the common include along with some additions.

Drop everything from the config.h file.

---

 board/intel/minnowmax/minnowmax.env | 11 +++++++++++
 include/configs/minnowmax.h         | 16 ----------------
 2 files changed, 11 insertions(+), 16 deletions(-)
 create mode 100644 board/intel/minnowmax/minnowmax.env
board/intel/minnowmax/minnowmax.env new file +11 -0
new file mode 100644
index 000000000000..71f3607843b3
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2015 Google, Inc
+ */
+
+#include <env/x86.env>
+
+/* don't use i8042-kbd */
+stdin=usbkbd,serial
+
+usb_pgood_delay=40
include/configs/minnowmax.h +0 -16
index 842672d55751..068a2af2c1fc 100644
@@ -2,19 +2,3 @@
 /*
  * Copyright (C) 2015 Google, Inc
  */
-
-/*
- * board/config.h - configuration options, board specific
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <configs/x86-common.h>
-
-#define CFG_STD_DEVICES_SETTINGS	"stdin=usbkbd,serial\0" \
-					"stdout=vidconsole,serial\0" \
-					"stderr=vidconsole,serial\0" \
-					"usb_pgood_delay=40\0"
-
-#endif	/* __CONFIG_H */
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#18 lore raw

PATCH 18/22 x86: slimbootloader: Convert to text environment

In reply to Simon Glass

Use the common include along with some additions.

Drop everything from the config.h file.

---

 board/intel/slimbootloader/slimbootloader.env | 25 +++++++++++++
 include/configs/slimbootloader.h              | 35 -------------------
 2 files changed, 25 insertions(+), 35 deletions(-)
 create mode 100644 board/intel/slimbootloader/slimbootloader.env
board/intel/slimbootloader/slimbootloader.env new file +25 -0
new file mode 100644
index 000000000000..5fceb808a946
@@ -0,0 +1,25 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2019 Intel Corporation <www.intel.com>
+ */
+
+#include <env/x86.env>
+
+/* don't use video */
+stdout=serial
+stderr=serial
+
+usb_pgood_delay=40
+
+netdev=eth0
+consoledev=ttyS0
+ramdiskaddr=0x4000000
+ramdiskfile=initrd
+bootdev=usb
+bootdevnum=0
+bootdevpart=0
+bootfsload=fatload
+bootusb=setenv bootdev usb; boot
+bootscsi=setenv bootdev scsi; boot
+bootmmc=setenv bootdev mmc; boot
+bootargs=console=ttyS0,115200 console=tty0
include/configs/slimbootloader.h +0 -35
index 20b99a1021df..85f6a968e040 100644
@@ -2,38 +2,3 @@
 /*
  * Copyright (C) 2019 Intel Corporation <www.intel.com>
  */
-
-#ifndef __SLIMBOOTLOADER_CONFIG_H__
-#define __SLIMBOOTLOADER_CONFIG_H__
-
-#include <configs/x86-common.h>
-
-#define CFG_STD_DEVICES_SETTINGS		\
-	"stdin=serial,i8042-kbd,usbkbd\0"	\
-	"stdout=serial\0"			\
-	"stderr=serial\0"
-
-/*
- * Override CFG_EXTRA_ENV_SETTINGS in x86-common.h
- */
-#undef CFG_EXTRA_ENV_SETTINGS
-#define CFG_EXTRA_ENV_SETTINGS		\
-	CFG_STD_DEVICES_SETTINGS		\
-	"netdev=eth0\0"				\
-	"consoledev=ttyS0\0"			\
-	"ramdiskaddr=0x4000000\0"		\
-	"ramdiskfile=initrd\0"			\
-	"bootdev=usb\0"				\
-	"bootdevnum=0\0"			\
-	"bootdevpart=0\0"			\
-	"bootfsload=fatload\0"			\
-	"bootusb=setenv bootdev usb; boot\0"	\
-	"bootscsi=setenv bootdev scsi; boot\0"	\
-	"bootmmc=setenv bootdev mmc; boot\0"	\
-	"bootargs=console=ttyS0,115200 console=tty0\0"
-
-/*
- * Override CONFIG_BOOTCOMMAND in x86-common.h
- */
-
-#endif /* __SLIMBOOTLOADER_CONFIG_H__ */
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#19 lore raw

Re: [PATCH 18/22] x86: slimbootloader: Convert to text environment

Quoted 24 lines · Simon Glass

Use the common include along with some additions.

Drop everything from the config.h file.

---

 board/intel/slimbootloader/slimbootloader.env | 25 +++++++++++++
 include/configs/slimbootloader.h              | 35 -------------------
 2 files changed, 25 insertions(+), 35 deletions(-)
 create mode 100644 board/intel/slimbootloader/slimbootloader.env
board/intel/slimbootloader/slimbootloader.env new file +5 -0
new file mode 100644
index 000000000000..5fceb808a946
@@ -0,0 +1,25 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2019 Intel Corporation <www.intel.com>
+ */
+

board/intel/slimbootloader/slimbootloader.env line 15

Quoted 10 lines
board/intel/slimbootloader/slimbootloader.env new file +10 -0
+#include <env/x86.env>
+
+/* don't use video */
+stdout=serial
+stderr=serial
+
+usb_pgood_delay=40
+
+netdev=eth0
+consoledev=ttyS0

The above 2 are not needed since they are in x86.env

Quoted 44 lines
board/intel/slimbootloader/slimbootloader.env new file +10 -0
+ramdiskaddr=0x4000000
+ramdiskfile=initrd
+bootdev=usb
+bootdevnum=0
+bootdevpart=0
+bootfsload=fatload
+bootusb=setenv bootdev usb; boot
+bootscsi=setenv bootdev scsi; boot
+bootmmc=setenv bootdev mmc; boot
+bootargs=console=ttyS0,115200 console=tty0
include/configs/slimbootloader.h +0 -26
index 20b99a1021df..85f6a968e040 100644
@@ -2,38 +2,3 @@
 /*
  * Copyright (C) 2019 Intel Corporation <www.intel.com>
  */
-
-#ifndef __SLIMBOOTLOADER_CONFIG_H__
-#define __SLIMBOOTLOADER_CONFIG_H__
-
-#include <configs/x86-common.h>
-
-#define CFG_STD_DEVICES_SETTINGS               \
-       "stdin=serial,i8042-kbd,usbkbd\0"       \
-       "stdout=serial\0"                       \
-       "stderr=serial\0"
-
-/*
- * Override CFG_EXTRA_ENV_SETTINGS in x86-common.h
- */
-#undef CFG_EXTRA_ENV_SETTINGS
-#define CFG_EXTRA_ENV_SETTINGS         \
-       CFG_STD_DEVICES_SETTINGS                \
-       "netdev=eth0\0"                         \
-       "consoledev=ttyS0\0"                    \
-       "ramdiskaddr=0x4000000\0"               \
-       "ramdiskfile=initrd\0"                  \
-       "bootdev=usb\0"                         \
-       "bootdevnum=0\0"                        \
-       "bootdevpart=0\0"                       \
-       "bootfsload=fatload\0"                  \
-       "bootusb=setenv bootdev usb; boot\0"    \

include/configs/slimbootloader.h

Quoted 10 lines
include/configs/slimbootloader.h +0 -10
-       "bootscsi=setenv bootdev scsi; boot\0"  \
-       "bootmmc=setenv bootdev mmc; boot\0"    \
-       "bootargs=console=ttyS0,115200 console=tty0\0"
-
-/*
- * Override CONFIG_BOOTCOMMAND in x86-common.h
- */
-
-#endif /* __SLIMBOOTLOADER_CONFIG_H__ */
--

Otherwise LGTM

#20 lore raw

PATCH 19/22 x86: efi-x86_app: Convert to text environment

In reply to Simon Glass

Use the common include. Drop the unnecessary changes, since missing stdio drivers will be ignored.

Drop everything from the config.h file.

---

 board/efi/efi-x86_app/efi-x86_app.env |  6 ++++++
 include/configs/efi-x86_app.h         | 11 -----------
 2 files changed, 6 insertions(+), 11 deletions(-)
 create mode 100644 board/efi/efi-x86_app/efi-x86_app.env
board/efi/efi-x86_app/efi-x86_app.env new file +6 -0
new file mode 100644
index 000000000000..106836af1ff8
@@ -0,0 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (c) 2015 Google, Inc
+ */
+
+#include <env/x86.env>
include/configs/efi-x86_app.h +0 -11
index 843ed8b9d1db..d5824049d697 100644
@@ -2,14 +2,3 @@
 /*
  * Copyright (c) 2015 Google, Inc
  */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <configs/x86-common.h>
-
-#define CFG_STD_DEVICES_SETTINGS	"stdin=serial\0" \
-					"stdout=vidconsole\0" \
-					"stderr=vidconsole\0"
-
-#endif
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#21 lore raw

PATCH 20/22 x86: efi-x86_payload: Convert to text environment

In reply to Simon Glass

Use the common include.

Drop everything from the config.h file.

---

 board/efi/efi-x86_payload/efi-x86_payload.env |  6 ++++++
 include/configs/efi-x86_payload.h             | 17 -----------------
 2 files changed, 6 insertions(+), 17 deletions(-)
 create mode 100644 board/efi/efi-x86_payload/efi-x86_payload.env
board/efi/efi-x86_payload/efi-x86_payload.env new file +6 -0
new file mode 100644
index 000000000000..6a656287060d
@@ -0,0 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2018, Bin Meng <[email protected]>
+ */
+
+#include <env/x86.env>
include/configs/efi-x86_payload.h +0 -17
index c72b067c367d..e00c408f29a5 100644
@@ -2,20 +2,3 @@
 /*
  * Copyright (C) 2018, Bin Meng <[email protected]>
  */
-
-/*
- * board/config.h - configuration options, board specific
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <configs/x86-common.h>
-
-#define CFG_STD_DEVICES_SETTINGS	"stdin=serial,i8042-kbd,usbkbd\0" \
-					"stdout=serial,vidconsole\0" \
-					"stderr=serial,vidconsole\0"
-
-/* ATA/IDE support */
-
-#endif	/* __CONFIG_H */
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#22 lore raw

PATCH 21/22 x86: qemu: Add required linux/sizes.h include

In reply to Simon Glass

These files rely on the config.h file provided this include. Add it explictily so we can move to a text environment.

---

 arch/x86/cpu/qemu/dram.c | 1 +
 arch/x86/cpu/qemu/e820.c | 1 +
 2 files changed, 2 insertions(+)
arch/x86/cpu/qemu/dram.c +1 -0
index 595c397d4a4f..1a52d1dc5228 100644
@@ -8,6 +8,7 @@
 #include <asm/global_data.h>
 #include <asm/post.h>
 #include <asm/arch/qemu.h>
+#include <linux/sizes.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
arch/x86/cpu/qemu/e820.c +1 -0
index 19e54c5202a9..ebfe5956442a 100644
@@ -12,6 +12,7 @@
 #include <asm/e820.h>
 #include <asm/arch/qemu.h>
 #include <asm/global_data.h>
+#include <linux/sizes.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#23 lore raw

PATCH 22/22 x86: qemu-x86: Convert to text environment

In reply to Simon Glass

Use the common include.

Drop everything from the config.h file.

---

 board/emulation/qemu-x86/qemu-x86.env |  6 ++++++
 include/configs/qemu-x86.h            | 23 -----------------------
 2 files changed, 6 insertions(+), 23 deletions(-)
 create mode 100644 board/emulation/qemu-x86/qemu-x86.env
board/emulation/qemu-x86/qemu-x86.env new file +6 -0
new file mode 100644
index 000000000000..adcc1c53bd22
@@ -0,0 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2015, Bin Meng <[email protected]>
+ */
+
+#include <env/x86.env>
include/configs/qemu-x86.h +0 -23
index 3e5235291a28..9b0f5cedcd79 100644
@@ -2,26 +2,3 @@
 /*
  * Copyright (C) 2015, Bin Meng <[email protected]>
  */
-
-/*
- * board/config.h - configuration options, board specific
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <linux/sizes.h>
-
-#include <configs/x86-common.h>
-
-#define CFG_STD_DEVICES_SETTINGS	"stdin=serial,i8042-kbd\0" \
-					"stdout=serial,vidconsole\0" \
-					"stderr=serial,vidconsole\0"
-
-/*
- * ATA/SATA support for QEMU x86 targets
- *   - Only legacy IDE controller is supported for QEMU '-M pc' target
- *   - AHCI controller is supported for QEMU '-M q35' target
- */
-
-#endif	/* __CONFIG_H */
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
Reviewed-by on the v1 series
#24 lore raw
In reply to Simon Glass
Quoted 6 lines · Simon Glass

This series starts the process of moving x86 boards to a text environment.

This includes conversions for about half the boards.

The rest (including the more complicated Chromebooks) can come in a later series.

Patch wise it looks good to me

Where can I read about this new edison.env file and what is expected to be there?

Quoted 136 lines

doc: Explain how to avoid the distro-boot scripts
env: Use include/env for text-environment includes
env: Explain how to use #include files in text environment
x86: Drop CFG_SYS_STACK_SIZE
x86: i8254: Include required ibmpc.h header
x86: edison: Drop inclusion of ibmpc.h
x86: Drop inclusion of ibmpc.h
x86: Drop unused distro settings
x86: Add a common include for environment settings
x86: coreboot: Convert to text environment
x86: crownbay: Convert to text environment
x86: bayleybay: Convert to text environment
x86: galileo: Convert to text environment
x86: edison: Convert to text environment
x86: cherryhill: Convert to text environment
x86: cougarcanyon2: Convert to text environment
x86: minnowmax: Convert to text environment
x86: slimbootloader: Convert to text environment
x86: efi-x86_app: Convert to text environment
x86: efi-x86_payload: Convert to text environment
x86: qemu: Add required linux/sizes.h include
x86: qemu-x86: Convert to text environment

 arch/x86/cpu/qemu/dram.c                      |  1 +
 arch/x86/cpu/qemu/e820.c                      |  1 +
 arch/x86/lib/i8254.c                          |  1 +
 arch/x86/lib/physmem.c                        |  3 +-
 board/coreboot/coreboot/coreboot.env          |  9 +++++
 board/efi/efi-x86_app/efi-x86_app.env         |  6 ++++
 board/efi/efi-x86_payload/efi-x86_payload.env |  6 ++++
 board/emulation/qemu-x86/qemu-x86.env         |  6 ++++
 board/intel/bayleybay/bayleybay.env           |  9 +++++
 board/intel/cherryhill/cherryhill.env         |  9 +++++
 board/intel/cougarcanyon2/cougarcanyon2.env   |  6 ++++
 board/intel/crownbay/crownbay.env             |  6 ++++
 board/intel/edison/edison.env                 |  6 ++++
 board/intel/galileo/galileo.env               | 11 ++++++
 board/intel/minnowmax/minnowmax.env           | 11 ++++++
 board/intel/slimbootloader/slimbootloader.env | 25 +++++++++++++
 board/keymile/km83xx/km83xx.env               |  4 +--
 board/keymile/kmcent2/kmcent2.env             |  2 +-
 .../keymile/pg-wcom-ls102xa/pg-wcom-expu1.env |  2 +-
 .../keymile/pg-wcom-ls102xa/pg-wcom-seli8.env |  2 +-
 board/siemens/iot2050/iot2050.env             |  2 +-
 board/ti/am62ax/am62ax.env                    |  4 +--
 board/ti/am62x/am62x.env                      |  4 +--
 board/ti/am64x/am64x.env                      |  6 ++--
 board/ti/am65x/am65x.env                      |  8 ++---
 board/ti/j721e/j721e.env                      | 10 +++---
 board/ti/j721s2/j721s2.env                    | 10 +++---
 board/ti/ks2_evm/k2e_evm.env                  |  4 +--
 board/ti/ks2_evm/k2g_evm.env                  |  6 ++--
 board/ti/ks2_evm/k2hk_evm.env                 |  4 +--
 board/ti/ks2_evm/k2l_evm.env                  |  4 +--
 doc/usage/environment.rst                     |  8 ++++-
 include/configs/am335x_evm.h                  |  2 +-
 include/configs/am43xx_evm.h                  |  2 +-
 include/configs/am57xx_evm.h                  |  2 +-
 include/configs/am62ax_evm.h                  |  4 +--
 include/configs/am62x_evm.h                   |  2 +-
 include/configs/am64x_evm.h                   |  4 +--
 include/configs/am65x_evm.h                   |  6 ++--
 include/configs/bayleybay.h                   | 17 ---------
 include/configs/cherryhill.h                  | 13 -------
 include/configs/coreboot.h                    | 20 -----------
 include/configs/cougarcanyon2.h               | 13 -------
 include/configs/crownbay.h                    | 17 ---------
 include/configs/da850evm.h                    |  2 +-
 include/configs/dra7xx_evm.h                  |  2 +-
 include/configs/edison.h                      | 11 ------
 include/configs/efi-x86_app.h                 | 11 ------
 include/configs/efi-x86_payload.h             | 17 ---------
 include/configs/galileo.h                     | 19 ----------
 include/configs/minnowmax.h                   | 16 ---------
 include/configs/omap3_evm.h                   |  2 +-
 include/configs/omapl138_lcdk.h               |  2 +-
 include/configs/phycore_am335x_r2.h           |  4 +--
 include/configs/qemu-x86.h                    | 23 ------------
 include/configs/sifive-unleashed.h            |  2 +-
 include/configs/slimbootloader.h              | 35 -------------------
 include/configs/ti_omap4_common.h             |  2 +-
 include/configs/ti_omap5_common.h             |  4 +--
 include/configs/x86-common.h                  | 19 ----------
 include/{environment => env}/distro/sf.h      |  0
 .../{environment => env}/pg-wcom/common.env   |  0
 .../{environment => env}/pg-wcom/ls102xa.env  |  2 +-
 .../{environment => env}/pg-wcom/powerpc.env  |  0
 include/{environment => env}/ti/dfu.h         |  0
 include/{environment => env}/ti/k3_dfu.env    |  0
 include/{environment => env}/ti/k3_dfu.h      |  0
 include/{environment => env}/ti/k3_rproc.env  |  0
 include/{environment => env}/ti/k3_rproc.h    |  0
 include/{environment => env}/ti/mmc.env       |  0
 include/{environment => env}/ti/mmc.h         |  0
 include/{environment => env}/ti/nand.env      |  0
 include/{environment => env}/ti/nand.h        |  0
 .../ti/ti_armv7_common.env                    |  0
 .../ti/ti_armv7_keystone2.env                 |  0
 include/{environment => env}/ti/ufs.env       |  0
 include/{environment => env}/ti/ufs.h         |  0
 include/env/x86.env                           | 20 +++++++++++
 78 files changed, 200 insertions(+), 291 deletions(-)
 create mode 100644 board/coreboot/coreboot/coreboot.env
 create mode 100644 board/efi/efi-x86_app/efi-x86_app.env
 create mode 100644 board/efi/efi-x86_payload/efi-x86_payload.env
 create mode 100644 board/emulation/qemu-x86/qemu-x86.env
 create mode 100644 board/intel/bayleybay/bayleybay.env
 create mode 100644 board/intel/cherryhill/cherryhill.env
 create mode 100644 board/intel/cougarcanyon2/cougarcanyon2.env
 create mode 100644 board/intel/crownbay/crownbay.env
 create mode 100644 board/intel/edison/edison.env
 create mode 100644 board/intel/galileo/galileo.env
 create mode 100644 board/intel/minnowmax/minnowmax.env
 create mode 100644 board/intel/slimbootloader/slimbootloader.env
 rename include/{environment => env}/distro/sf.h (100%)
 rename include/{environment => env}/pg-wcom/common.env (100%)
 rename include/{environment => env}/pg-wcom/ls102xa.env (95%)
 rename include/{environment => env}/pg-wcom/powerpc.env (100%)
 rename include/{environment => env}/ti/dfu.h (100%)
 rename include/{environment => env}/ti/k3_dfu.env (100%)
 rename include/{environment => env}/ti/k3_dfu.h (100%)
 rename include/{environment => env}/ti/k3_rproc.env (100%)
 rename include/{environment => env}/ti/k3_rproc.h (100%)
 rename include/{environment => env}/ti/mmc.env (100%)
 rename include/{environment => env}/ti/mmc.h (100%)
 rename include/{environment => env}/ti/nand.env (100%)
 rename include/{environment => env}/ti/nand.h (100%)
 rename include/{environment => env}/ti/ti_armv7_common.env (100%)
 rename include/{environment => env}/ti/ti_armv7_keystone2.env (100%)
 rename include/{environment => env}/ti/ufs.env (100%)
 rename include/{environment => env}/ti/ufs.h (100%)
 create mode 100644 include/env/x86.env
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
Signature · 2 lines
With Best Regards,
Andy Shevchenko
#25 lore raw

Hi Andy,

Quoted 6 lines · Andy Shevchenko
Quoted 4 lines · Simon Glass

This series starts the process of moving x86 boards to a text environment.

This includes conversions for about half the boards.

Quoted 7 lines
Quoted 2 lines

The rest (including the more complicated Chromebooks) can come in a later series.

Patch wise it looks good to me

Where can I read about this new edison.env file and what is expected to be there?

Thanks. It is here:

https://u-boot.readthedocs.io/en/latest/usage/environment.html#text-based-environment

[..]

Regards,
Simon

Reviewed-by
#26 lore raw
In reply to Andy Shevchenko
Quoted 11 lines · Andy Shevchenko
Quoted 6 lines · Simon Glass

This series starts the process of moving x86 boards to a text environment.

This includes conversions for about half the boards.

The rest (including the more complicated Chromebooks) can come in a later series.

Patch wise it looks good to me

Series LGTM too.

Quoted 3 lines

Where can I read about this new edison.env file and what is expected to be there?

Regards,
Bin

#27 lore raw
Quoted 12 lines · Bin Meng
Quoted 9 lines · Andy Shevchenko
Quoted 6 lines · Simon Glass

This series starts the process of moving x86 boards to a text environment.

This includes conversions for about half the boards.

The rest (including the more complicated Chromebooks) can come in a later series.

Quoted 7 lines
Quoted 2 lines

Patch wise it looks good to me

Series LGTM too.

Edited "[18/22] x86: slimbootloader: Convert to text environment ",

series applied to u-boot-x86, thanks!

#28 lore raw
In reply to Simon Glass

I'm not x86 maintainer, and I'm not going to review changes. So please do not send me these emails. I have expressed it many times.

Quoted 145 lines · On Sunday 30 July 2023 21:01:43 Simon Glass wrote:

This series starts the process of moving x86 boards to a text environment.

This includes conversions for about half the boards.

The rest (including the more complicated Chromebooks) can come in a later series.

Simon Glass (22):
doc: Explain how to avoid the distro-boot scripts
env: Use include/env for text-environment includes
env: Explain how to use #include files in text environment
x86: Drop CFG_SYS_STACK_SIZE
x86: i8254: Include required ibmpc.h header
x86: edison: Drop inclusion of ibmpc.h
x86: Drop inclusion of ibmpc.h
x86: Drop unused distro settings
x86: Add a common include for environment settings
x86: coreboot: Convert to text environment
x86: crownbay: Convert to text environment
x86: bayleybay: Convert to text environment
x86: galileo: Convert to text environment
x86: edison: Convert to text environment
x86: cherryhill: Convert to text environment
x86: cougarcanyon2: Convert to text environment
x86: minnowmax: Convert to text environment
x86: slimbootloader: Convert to text environment
x86: efi-x86_app: Convert to text environment
x86: efi-x86_payload: Convert to text environment
x86: qemu: Add required linux/sizes.h include
x86: qemu-x86: Convert to text environment

 arch/x86/cpu/qemu/dram.c                      |  1 +
 arch/x86/cpu/qemu/e820.c                      |  1 +
 arch/x86/lib/i8254.c                          |  1 +
 arch/x86/lib/physmem.c                        |  3 +-
 board/coreboot/coreboot/coreboot.env          |  9 +++++
 board/efi/efi-x86_app/efi-x86_app.env         |  6 ++++
 board/efi/efi-x86_payload/efi-x86_payload.env |  6 ++++
 board/emulation/qemu-x86/qemu-x86.env         |  6 ++++
 board/intel/bayleybay/bayleybay.env           |  9 +++++
 board/intel/cherryhill/cherryhill.env         |  9 +++++
 board/intel/cougarcanyon2/cougarcanyon2.env   |  6 ++++
 board/intel/crownbay/crownbay.env             |  6 ++++
 board/intel/edison/edison.env                 |  6 ++++
 board/intel/galileo/galileo.env               | 11 ++++++
 board/intel/minnowmax/minnowmax.env           | 11 ++++++
 board/intel/slimbootloader/slimbootloader.env | 25 +++++++++++++
 board/keymile/km83xx/km83xx.env               |  4 +--
 board/keymile/kmcent2/kmcent2.env             |  2 +-
 .../keymile/pg-wcom-ls102xa/pg-wcom-expu1.env |  2 +-
 .../keymile/pg-wcom-ls102xa/pg-wcom-seli8.env |  2 +-
 board/siemens/iot2050/iot2050.env             |  2 +-
 board/ti/am62ax/am62ax.env                    |  4 +--
 board/ti/am62x/am62x.env                      |  4 +--
 board/ti/am64x/am64x.env                      |  6 ++--
 board/ti/am65x/am65x.env                      |  8 ++---
 board/ti/j721e/j721e.env                      | 10 +++---
 board/ti/j721s2/j721s2.env                    | 10 +++---
 board/ti/ks2_evm/k2e_evm.env                  |  4 +--
 board/ti/ks2_evm/k2g_evm.env                  |  6 ++--
 board/ti/ks2_evm/k2hk_evm.env                 |  4 +--
 board/ti/ks2_evm/k2l_evm.env                  |  4 +--
 doc/usage/environment.rst                     |  8 ++++-
 include/configs/am335x_evm.h                  |  2 +-
 include/configs/am43xx_evm.h                  |  2 +-
 include/configs/am57xx_evm.h                  |  2 +-
 include/configs/am62ax_evm.h                  |  4 +--
 include/configs/am62x_evm.h                   |  2 +-
 include/configs/am64x_evm.h                   |  4 +--
 include/configs/am65x_evm.h                   |  6 ++--
 include/configs/bayleybay.h                   | 17 ---------
 include/configs/cherryhill.h                  | 13 -------
 include/configs/coreboot.h                    | 20 -----------
 include/configs/cougarcanyon2.h               | 13 -------
 include/configs/crownbay.h                    | 17 ---------
 include/configs/da850evm.h                    |  2 +-
 include/configs/dra7xx_evm.h                  |  2 +-
 include/configs/edison.h                      | 11 ------
 include/configs/efi-x86_app.h                 | 11 ------
 include/configs/efi-x86_payload.h             | 17 ---------
 include/configs/galileo.h                     | 19 ----------
 include/configs/minnowmax.h                   | 16 ---------
 include/configs/omap3_evm.h                   |  2 +-
 include/configs/omapl138_lcdk.h               |  2 +-
 include/configs/phycore_am335x_r2.h           |  4 +--
 include/configs/qemu-x86.h                    | 23 ------------
 include/configs/sifive-unleashed.h            |  2 +-
 include/configs/slimbootloader.h              | 35 -------------------
 include/configs/ti_omap4_common.h             |  2 +-
 include/configs/ti_omap5_common.h             |  4 +--
 include/configs/x86-common.h                  | 19 ----------
 include/{environment => env}/distro/sf.h      |  0
 .../{environment => env}/pg-wcom/common.env   |  0
 .../{environment => env}/pg-wcom/ls102xa.env  |  2 +-
 .../{environment => env}/pg-wcom/powerpc.env  |  0
 include/{environment => env}/ti/dfu.h         |  0
 include/{environment => env}/ti/k3_dfu.env    |  0
 include/{environment => env}/ti/k3_dfu.h      |  0
 include/{environment => env}/ti/k3_rproc.env  |  0
 include/{environment => env}/ti/k3_rproc.h    |  0
 include/{environment => env}/ti/mmc.env       |  0
 include/{environment => env}/ti/mmc.h         |  0
 include/{environment => env}/ti/nand.env      |  0
 include/{environment => env}/ti/nand.h        |  0
 .../ti/ti_armv7_common.env                    |  0
 .../ti/ti_armv7_keystone2.env                 |  0
 include/{environment => env}/ti/ufs.env       |  0
 include/{environment => env}/ti/ufs.h         |  0
 include/env/x86.env                           | 20 +++++++++++
 78 files changed, 200 insertions(+), 291 deletions(-)
 create mode 100644 board/coreboot/coreboot/coreboot.env
 create mode 100644 board/efi/efi-x86_app/efi-x86_app.env
 create mode 100644 board/efi/efi-x86_payload/efi-x86_payload.env
 create mode 100644 board/emulation/qemu-x86/qemu-x86.env
 create mode 100644 board/intel/bayleybay/bayleybay.env
 create mode 100644 board/intel/cherryhill/cherryhill.env
 create mode 100644 board/intel/cougarcanyon2/cougarcanyon2.env
 create mode 100644 board/intel/crownbay/crownbay.env
 create mode 100644 board/intel/edison/edison.env
 create mode 100644 board/intel/galileo/galileo.env
 create mode 100644 board/intel/minnowmax/minnowmax.env
 create mode 100644 board/intel/slimbootloader/slimbootloader.env
 rename include/{environment => env}/distro/sf.h (100%)
 rename include/{environment => env}/pg-wcom/common.env (100%)
 rename include/{environment => env}/pg-wcom/ls102xa.env (95%)
 rename include/{environment => env}/pg-wcom/powerpc.env (100%)
 rename include/{environment => env}/ti/dfu.h (100%)
 rename include/{environment => env}/ti/k3_dfu.env (100%)
 rename include/{environment => env}/ti/k3_dfu.h (100%)
 rename include/{environment => env}/ti/k3_rproc.env (100%)
 rename include/{environment => env}/ti/k3_rproc.h (100%)
 rename include/{environment => env}/ti/mmc.env (100%)
 rename include/{environment => env}/ti/mmc.h (100%)
 rename include/{environment => env}/ti/nand.env (100%)
 rename include/{environment => env}/ti/nand.h (100%)
 rename include/{environment => env}/ti/ti_armv7_common.env (100%)
 rename include/{environment => env}/ti/ti_armv7_keystone2.env (100%)
 rename include/{environment => env}/ti/ufs.env (100%)
 rename include/{environment => env}/ti/ufs.h (100%)
 create mode 100644 include/env/x86.env
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
#29 lore raw

Hi Pali,

Quoted 3 lines · Pali Rohár

I'm not x86 maintainer, and I'm not going to review changes. So please do not send me these emails. I have expressed it many times.

You were sent one patch (and the cover letter) because you are the second committer on arch/x86/cpu/qemu/dram.c

Quoted 143 lines · On Sunday 30 July 2023 21:01:43 Simon Glass wrote:
Quoted 142 lines

This series starts the process of moving x86 boards to a text environment.

This includes conversions for about half the boards.

The rest (including the more complicated Chromebooks) can come in a later series.

Simon Glass (22):
doc: Explain how to avoid the distro-boot scripts
env: Use include/env for text-environment includes
env: Explain how to use #include files in text environment
x86: Drop CFG_SYS_STACK_SIZE
x86: i8254: Include required ibmpc.h header
x86: edison: Drop inclusion of ibmpc.h
x86: Drop inclusion of ibmpc.h
x86: Drop unused distro settings
x86: Add a common include for environment settings
x86: coreboot: Convert to text environment
x86: crownbay: Convert to text environment
x86: bayleybay: Convert to text environment
x86: galileo: Convert to text environment
x86: edison: Convert to text environment
x86: cherryhill: Convert to text environment
x86: cougarcanyon2: Convert to text environment
x86: minnowmax: Convert to text environment
x86: slimbootloader: Convert to text environment
x86: efi-x86_app: Convert to text environment
x86: efi-x86_payload: Convert to text environment
x86: qemu: Add required linux/sizes.h include
x86: qemu-x86: Convert to text environment

 arch/x86/cpu/qemu/dram.c                      |  1 +
 arch/x86/cpu/qemu/e820.c                      |  1 +
 arch/x86/lib/i8254.c                          |  1 +
 arch/x86/lib/physmem.c                        |  3 +-
 board/coreboot/coreboot/coreboot.env          |  9 +++++
 board/efi/efi-x86_app/efi-x86_app.env         |  6 ++++
 board/efi/efi-x86_payload/efi-x86_payload.env |  6 ++++
 board/emulation/qemu-x86/qemu-x86.env         |  6 ++++
 board/intel/bayleybay/bayleybay.env           |  9 +++++
 board/intel/cherryhill/cherryhill.env         |  9 +++++
 board/intel/cougarcanyon2/cougarcanyon2.env   |  6 ++++
 board/intel/crownbay/crownbay.env             |  6 ++++
 board/intel/edison/edison.env                 |  6 ++++
 board/intel/galileo/galileo.env               | 11 ++++++
 board/intel/minnowmax/minnowmax.env           | 11 ++++++
 board/intel/slimbootloader/slimbootloader.env | 25 +++++++++++++
 board/keymile/km83xx/km83xx.env               |  4 +--
 board/keymile/kmcent2/kmcent2.env             |  2 +-
 .../keymile/pg-wcom-ls102xa/pg-wcom-expu1.env |  2 +-
 .../keymile/pg-wcom-ls102xa/pg-wcom-seli8.env |  2 +-
 board/siemens/iot2050/iot2050.env             |  2 +-
 board/ti/am62ax/am62ax.env                    |  4 +--
 board/ti/am62x/am62x.env                      |  4 +--
 board/ti/am64x/am64x.env                      |  6 ++--
 board/ti/am65x/am65x.env                      |  8 ++---
 board/ti/j721e/j721e.env                      | 10 +++---
 board/ti/j721s2/j721s2.env                    | 10 +++---
 board/ti/ks2_evm/k2e_evm.env                  |  4 +--
 board/ti/ks2_evm/k2g_evm.env                  |  6 ++--
 board/ti/ks2_evm/k2hk_evm.env                 |  4 +--
 board/ti/ks2_evm/k2l_evm.env                  |  4 +--
 doc/usage/environment.rst                     |  8 ++++-
 include/configs/am335x_evm.h                  |  2 +-
 include/configs/am43xx_evm.h                  |  2 +-
 include/configs/am57xx_evm.h                  |  2 +-
 include/configs/am62ax_evm.h                  |  4 +--
 include/configs/am62x_evm.h                   |  2 +-
 include/configs/am64x_evm.h                   |  4 +--
 include/configs/am65x_evm.h                   |  6 ++--
 include/configs/bayleybay.h                   | 17 ---------
 include/configs/cherryhill.h                  | 13 -------
 include/configs/coreboot.h                    | 20 -----------
 include/configs/cougarcanyon2.h               | 13 -------
 include/configs/crownbay.h                    | 17 ---------
 include/configs/da850evm.h                    |  2 +-
 include/configs/dra7xx_evm.h                  |  2 +-
 include/configs/edison.h                      | 11 ------
 include/configs/efi-x86_app.h                 | 11 ------
 include/configs/efi-x86_payload.h             | 17 ---------
 include/configs/galileo.h                     | 19 ----------
 include/configs/minnowmax.h                   | 16 ---------
 include/configs/omap3_evm.h                   |  2 +-
 include/configs/omapl138_lcdk.h               |  2 +-
 include/configs/phycore_am335x_r2.h           |  4 +--
 include/configs/qemu-x86.h                    | 23 ------------
 include/configs/sifive-unleashed.h            |  2 +-
 include/configs/slimbootloader.h              | 35 -------------------
 include/configs/ti_omap4_common.h             |  2 +-
 include/configs/ti_omap5_common.h             |  4 +--
 include/configs/x86-common.h                  | 19 ----------
 include/{environment => env}/distro/sf.h      |  0
 .../{environment => env}/pg-wcom/common.env   |  0
 .../{environment => env}/pg-wcom/ls102xa.env  |  2 +-
 .../{environment => env}/pg-wcom/powerpc.env  |  0
 include/{environment => env}/ti/dfu.h         |  0
 include/{environment => env}/ti/k3_dfu.env    |  0
 include/{environment => env}/ti/k3_dfu.h      |  0
 include/{environment => env}/ti/k3_rproc.env  |  0
 include/{environment => env}/ti/k3_rproc.h    |  0
 include/{environment => env}/ti/mmc.env       |  0
 include/{environment => env}/ti/mmc.h         |  0
 include/{environment => env}/ti/nand.env      |  0
 include/{environment => env}/ti/nand.h        |  0
 .../ti/ti_armv7_common.env                    |  0
 .../ti/ti_armv7_keystone2.env                 |  0
 include/{environment => env}/ti/ufs.env       |  0
 include/{environment => env}/ti/ufs.h         |  0
 include/env/x86.env                           | 20 +++++++++++
 78 files changed, 200 insertions(+), 291 deletions(-)
 create mode 100644 board/coreboot/coreboot/coreboot.env
 create mode 100644 board/efi/efi-x86_app/efi-x86_app.env
 create mode 100644 board/efi/efi-x86_payload/efi-x86_payload.env
 create mode 100644 board/emulation/qemu-x86/qemu-x86.env
 create mode 100644 board/intel/bayleybay/bayleybay.env
 create mode 100644 board/intel/cherryhill/cherryhill.env
 create mode 100644 board/intel/cougarcanyon2/cougarcanyon2.env
 create mode 100644 board/intel/crownbay/crownbay.env
 create mode 100644 board/intel/edison/edison.env
 create mode 100644 board/intel/galileo/galileo.env
 create mode 100644 board/intel/minnowmax/minnowmax.env
 create mode 100644 board/intel/slimbootloader/slimbootloader.env
 rename include/{environment => env}/distro/sf.h (100%)
 rename include/{environment => env}/pg-wcom/common.env (100%)
 rename include/{environment => env}/pg-wcom/ls102xa.env (95%)
 rename include/{environment => env}/pg-wcom/powerpc.env (100%)
 rename include/{environment => env}/ti/dfu.h (100%)
 rename include/{environment => env}/ti/k3_dfu.env (100%)
 rename include/{environment => env}/ti/k3_dfu.h (100%)
 rename include/{environment => env}/ti/k3_rproc.env (100%)
 rename include/{environment => env}/ti/k3_rproc.h (100%)
 rename include/{environment => env}/ti/mmc.env (100%)
 rename include/{environment => env}/ti/mmc.h (100%)
 rename include/{environment => env}/ti/nand.env (100%)
 rename include/{environment => env}/ti/nand.h (100%)
 rename include/{environment => env}/ti/ti_armv7_common.env (100%)
 rename include/{environment => env}/ti/ti_armv7_keystone2.env (100%)
 rename include/{environment => env}/ti/ufs.env (100%)
 rename include/{environment => env}/ti/ufs.h (100%)
 create mode 100644 include/env/x86.env
Quoted 3 lines
Quoted 3 lines

--
2.41.0.487.g6d72f3e995-goog

Regards,
Simon

#30 lore raw
Quoted 9 lines · On Sunday 06 August 2023 08:39:43 Simon Glass wrote:

Hi Pali,

Quoted 3 lines · Pali Rohár

I'm not x86 maintainer, and I'm not going to review changes. So please do not send me these emails. I have expressed it many times.

You were sent one patch (and the cover letter) because you are the second committer on arch/x86/cpu/qemu/dram.c

I'm not maintainer of arch/x86/cpu/qemu/dram.c. How many times I have to repeat it? You do not understand? Or what you are trying to do now?

Quoted 149 lines
Quoted 143 lines · On Sunday 30 July 2023 21:01:43 Simon Glass wrote:
Quoted 142 lines

This series starts the process of moving x86 boards to a text environment.

This includes conversions for about half the boards.

The rest (including the more complicated Chromebooks) can come in a later series.

Simon Glass (22):
doc: Explain how to avoid the distro-boot scripts
env: Use include/env for text-environment includes
env: Explain how to use #include files in text environment
x86: Drop CFG_SYS_STACK_SIZE
x86: i8254: Include required ibmpc.h header
x86: edison: Drop inclusion of ibmpc.h
x86: Drop inclusion of ibmpc.h
x86: Drop unused distro settings
x86: Add a common include for environment settings
x86: coreboot: Convert to text environment
x86: crownbay: Convert to text environment
x86: bayleybay: Convert to text environment
x86: galileo: Convert to text environment
x86: edison: Convert to text environment
x86: cherryhill: Convert to text environment
x86: cougarcanyon2: Convert to text environment
x86: minnowmax: Convert to text environment
x86: slimbootloader: Convert to text environment
x86: efi-x86_app: Convert to text environment
x86: efi-x86_payload: Convert to text environment
x86: qemu: Add required linux/sizes.h include
x86: qemu-x86: Convert to text environment

 arch/x86/cpu/qemu/dram.c                      |  1 +
 arch/x86/cpu/qemu/e820.c                      |  1 +
 arch/x86/lib/i8254.c                          |  1 +
 arch/x86/lib/physmem.c                        |  3 +-
 board/coreboot/coreboot/coreboot.env          |  9 +++++
 board/efi/efi-x86_app/efi-x86_app.env         |  6 ++++
 board/efi/efi-x86_payload/efi-x86_payload.env |  6 ++++
 board/emulation/qemu-x86/qemu-x86.env         |  6 ++++
 board/intel/bayleybay/bayleybay.env           |  9 +++++
 board/intel/cherryhill/cherryhill.env         |  9 +++++
 board/intel/cougarcanyon2/cougarcanyon2.env   |  6 ++++
 board/intel/crownbay/crownbay.env             |  6 ++++
 board/intel/edison/edison.env                 |  6 ++++
 board/intel/galileo/galileo.env               | 11 ++++++
 board/intel/minnowmax/minnowmax.env           | 11 ++++++
 board/intel/slimbootloader/slimbootloader.env | 25 +++++++++++++
 board/keymile/km83xx/km83xx.env               |  4 +--
 board/keymile/kmcent2/kmcent2.env             |  2 +-
 .../keymile/pg-wcom-ls102xa/pg-wcom-expu1.env |  2 +-
 .../keymile/pg-wcom-ls102xa/pg-wcom-seli8.env |  2 +-
 board/siemens/iot2050/iot2050.env             |  2 +-
 board/ti/am62ax/am62ax.env                    |  4 +--
 board/ti/am62x/am62x.env                      |  4 +--
 board/ti/am64x/am64x.env                      |  6 ++--
 board/ti/am65x/am65x.env                      |  8 ++---
 board/ti/j721e/j721e.env                      | 10 +++---
 board/ti/j721s2/j721s2.env                    | 10 +++---
 board/ti/ks2_evm/k2e_evm.env                  |  4 +--
 board/ti/ks2_evm/k2g_evm.env                  |  6 ++--
 board/ti/ks2_evm/k2hk_evm.env                 |  4 +--
 board/ti/ks2_evm/k2l_evm.env                  |  4 +--
 doc/usage/environment.rst                     |  8 ++++-
 include/configs/am335x_evm.h                  |  2 +-
 include/configs/am43xx_evm.h                  |  2 +-
 include/configs/am57xx_evm.h                  |  2 +-
 include/configs/am62ax_evm.h                  |  4 +--
 include/configs/am62x_evm.h                   |  2 +-
 include/configs/am64x_evm.h                   |  4 +--
 include/configs/am65x_evm.h                   |  6 ++--
 include/configs/bayleybay.h                   | 17 ---------
 include/configs/cherryhill.h                  | 13 -------
 include/configs/coreboot.h                    | 20 -----------
 include/configs/cougarcanyon2.h               | 13 -------
 include/configs/crownbay.h                    | 17 ---------
 include/configs/da850evm.h                    |  2 +-
 include/configs/dra7xx_evm.h                  |  2 +-
 include/configs/edison.h                      | 11 ------
 include/configs/efi-x86_app.h                 | 11 ------
 include/configs/efi-x86_payload.h             | 17 ---------
 include/configs/galileo.h                     | 19 ----------
 include/configs/minnowmax.h                   | 16 ---------
 include/configs/omap3_evm.h                   |  2 +-
 include/configs/omapl138_lcdk.h               |  2 +-
 include/configs/phycore_am335x_r2.h           |  4 +--
 include/configs/qemu-x86.h                    | 23 ------------
 include/configs/sifive-unleashed.h            |  2 +-
 include/configs/slimbootloader.h              | 35 -------------------
 include/configs/ti_omap4_common.h             |  2 +-
 include/configs/ti_omap5_common.h             |  4 +--
 include/configs/x86-common.h                  | 19 ----------
 include/{environment => env}/distro/sf.h      |  0
 .../{environment => env}/pg-wcom/common.env   |  0
 .../{environment => env}/pg-wcom/ls102xa.env  |  2 +-
 .../{environment => env}/pg-wcom/powerpc.env  |  0
 include/{environment => env}/ti/dfu.h         |  0
 include/{environment => env}/ti/k3_dfu.env    |  0
 include/{environment => env}/ti/k3_dfu.h      |  0
 include/{environment => env}/ti/k3_rproc.env  |  0
 include/{environment => env}/ti/k3_rproc.h    |  0
 include/{environment => env}/ti/mmc.env       |  0
 include/{environment => env}/ti/mmc.h         |  0
 include/{environment => env}/ti/nand.env      |  0
 include/{environment => env}/ti/nand.h        |  0
 .../ti/ti_armv7_common.env                    |  0
 .../ti/ti_armv7_keystone2.env                 |  0
 include/{environment => env}/ti/ufs.env       |  0
 include/{environment => env}/ti/ufs.h         |  0
 include/env/x86.env                           | 20 +++++++++++
 78 files changed, 200 insertions(+), 291 deletions(-)
 create mode 100644 board/coreboot/coreboot/coreboot.env
 create mode 100644 board/efi/efi-x86_app/efi-x86_app.env
 create mode 100644 board/efi/efi-x86_payload/efi-x86_payload.env
 create mode 100644 board/emulation/qemu-x86/qemu-x86.env
 create mode 100644 board/intel/bayleybay/bayleybay.env
 create mode 100644 board/intel/cherryhill/cherryhill.env
 create mode 100644 board/intel/cougarcanyon2/cougarcanyon2.env
 create mode 100644 board/intel/crownbay/crownbay.env
 create mode 100644 board/intel/edison/edison.env
 create mode 100644 board/intel/galileo/galileo.env
 create mode 100644 board/intel/minnowmax/minnowmax.env
 create mode 100644 board/intel/slimbootloader/slimbootloader.env
 rename include/{environment => env}/distro/sf.h (100%)
 rename include/{environment => env}/pg-wcom/common.env (100%)
 rename include/{environment => env}/pg-wcom/ls102xa.env (95%)
 rename include/{environment => env}/pg-wcom/powerpc.env (100%)
 rename include/{environment => env}/ti/dfu.h (100%)
 rename include/{environment => env}/ti/k3_dfu.env (100%)
 rename include/{environment => env}/ti/k3_dfu.h (100%)
 rename include/{environment => env}/ti/k3_rproc.env (100%)
 rename include/{environment => env}/ti/k3_rproc.h (100%)
 rename include/{environment => env}/ti/mmc.env (100%)
 rename include/{environment => env}/ti/mmc.h (100%)
 rename include/{environment => env}/ti/nand.env (100%)
 rename include/{environment => env}/ti/nand.h (100%)
 rename include/{environment => env}/ti/ti_armv7_common.env (100%)
 rename include/{environment => env}/ti/ti_armv7_keystone2.env (100%)
 rename include/{environment => env}/ti/ufs.env (100%)
 rename include/{environment => env}/ti/ufs.h (100%)
 create mode 100644 include/env/x86.env
Quoted 3 lines
Quoted 3 lines

--
2.41.0.487.g6d72f3e995-goog

Regards,
Simon

#31 lore raw

Hi Pali,

Quoted 6 lines · Pali Rohár
Quoted 4 lines · On Sunday 06 August 2023 08:39:43 Simon Glass wrote:

Hi Pali,

Quoted 1 line · Pali Rohár
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I'm not x86 maintainer, and I'm not going to review changes. So please do not send me these emails. I have expressed it many times.

You were sent one patch (and the cover letter) because you are the second committer on arch/x86/cpu/qemu/dram.c

I'm not maintainer of arch/x86/cpu/qemu/dram.c. How many times I have to repeat it? You do not understand? Or what you are trying to do now?

I believe this cc list comes from patman which calls get_maintainer.pl to get the cc list.
get_maintainer.pl determines the person names from 1. MAINTAINERS of the changed file 2. git commit history of the changed file.

I can see the philosophy was that someone who touched the changed file should be copied for review.
We certainly could argue that and just get the list solely from the MAINTAINERS file.

Regards,
Bin

#32 lore raw

So remove me from that list of dram.c file. I'm not interested to receive emails from people who are ignoring me about unrelated things.

Quoted 30 lines · On Monday 07 August 2023 09:43:01 Bin Meng wrote:

Hi Pali,

Quoted 6 lines · Pali Rohár
Quoted 4 lines · On Sunday 06 August 2023 08:39:43 Simon Glass wrote:

Hi Pali,

Quoted 1 line · Pali Rohár
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I'm not x86 maintainer, and I'm not going to review changes. So please do not send me these emails. I have expressed it many times.

You were sent one patch (and the cover letter) because you are the second committer on arch/x86/cpu/qemu/dram.c

I'm not maintainer of arch/x86/cpu/qemu/dram.c. How many times I have to repeat it? You do not understand? Or what you are trying to do now?

I believe this cc list comes from patman which calls get_maintainer.pl to get the cc list.
get_maintainer.pl determines the person names from 1. MAINTAINERS of the changed file 2. git commit history of the changed file.

I can see the philosophy was that someone who touched the changed file should be copied for review.
We certainly could argue that and just get the list solely from the MAINTAINERS file.

Regards,
Bin

#33 lore raw

Hi Pali

Can you just filter emails on your side?

Michael

Quoted 35 lines · Pali Rohár

So remove me from that list of dram.c file. I'm not interested to receive emails from people who are ignoring me about unrelated things.

Quoted 30 lines · On Monday 07 August 2023 09:43:01 Bin Meng wrote:

Hi Pali,

Quoted 6 lines · Pali Rohár
Quoted 4 lines · On Sunday 06 August 2023 08:39:43 Simon Glass wrote:

Hi Pali,

Quoted 1 line · Pali Rohár
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I'm not x86 maintainer, and I'm not going to review changes. So please do not send me these emails. I have expressed it many times.

You were sent one patch (and the cover letter) because you are the second committer on arch/x86/cpu/qemu/dram.c

I'm not maintainer of arch/x86/cpu/qemu/dram.c. How many times I have to repeat it? You do not understand? Or what you are trying to do now?

I believe this cc list comes from patman which calls get_maintainer.pl to get the cc list.
get_maintainer.pl determines the person names from 1. MAINTAINERS of the changed file 2. git commit history of the changed file.

I can see the philosophy was that someone who touched the changed file should be copied for review.
We certainly could argue that and just get the list solely from the MAINTAINERS file.

Regards,
Bin

Signature · 11 lines
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
[email protected]
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
[email protected]
www.amarulasolutions.com
#34 lore raw
Quoted 3 lines · Michael Nazzareno Trimarchi

Hi Pali

Can you just filter emails on your side?

Independently on the question is default setup is good or not (from _this_ point of view, I *disagree* with Pali), we have to have a possibility to filter on _our_ side the email addresses to make people happy. If Pali by some reasons does not want to see, it must be easy to keep some deny list in the repository.

What you are suggesting is not polite I believe.

Quoted 51 lines · Pali Rohár
Quoted 35 lines

So remove me from that list of dram.c file. I'm not interested to receive emails from people who are ignoring me about unrelated things.

Quoted 30 lines · On Monday 07 August 2023 09:43:01 Bin Meng wrote:

Hi Pali,

Quoted 6 lines · Pali Rohár
Quoted 4 lines · On Sunday 06 August 2023 08:39:43 Simon Glass wrote:

Hi Pali,

Quoted 1 line · Pali Rohár
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I'm not x86 maintainer, and I'm not going to review changes. So please do not send me these emails. I have expressed it many times.

You were sent one patch (and the cover letter) because you are the second committer on arch/x86/cpu/qemu/dram.c

I'm not maintainer of arch/x86/cpu/qemu/dram.c. How many times I have to repeat it? You do not understand? Or what you are trying to do now?

I believe this cc list comes from patman which calls get_maintainer.pl to get the cc list.
get_maintainer.pl determines the person names from 1. MAINTAINERS of the changed file 2. git commit history of the changed file.

I can see the philosophy was that someone who touched the changed file should be copied for review.
We certainly could argue that and just get the list solely from the MAINTAINERS file.

Regards,
Bin

Signature · 11 lines
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
[email protected]
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
[email protected]
www.amarulasolutions.com
Signature · 2 lines
With Best Regards,
Andy Shevchenko
#35 lore raw
Quoted 5 lines · Andy Shevchenko
Quoted 3 lines · Michael Nazzareno Trimarchi

Hi Pali

Can you just filter emails on your side?

Quoted 7 lines

Independently on the question is default setup is good or not (from _this_ point of view, I *disagree* with Pali), we have to have a possibility to filter on _our_ side the email addresses to make people happy. If Pali by some reasons does not want to see, it must be easy to keep some deny list in the repository.

What you are suggesting is not polite I believe.

I have to admit I didn't notice ".get_maintainer.ignore" until now. So yes, it sounds like we can do that too.

Quoted 58 lines
Quoted 52 lines · Pali Rohár
Quoted 35 lines

So remove me from that list of dram.c file. I'm not interested to receive emails from people who are ignoring me about unrelated things.

Quoted 30 lines · On Monday 07 August 2023 09:43:01 Bin Meng wrote:

Hi Pali,

Quoted 6 lines · Pali Rohár
Quoted 4 lines · On Sunday 06 August 2023 08:39:43 Simon Glass wrote:

Hi Pali,

Quoted 1 line · Pali Rohár
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I'm not x86 maintainer, and I'm not going to review changes. So please do not send me these emails. I have expressed it many times.

You were sent one patch (and the cover letter) because you are the second committer on arch/x86/cpu/qemu/dram.c

I'm not maintainer of arch/x86/cpu/qemu/dram.c. How many times I have to repeat it? You do not understand? Or what you are trying to do now?

I believe this cc list comes from patman which calls get_maintainer.pl to get the cc list.
get_maintainer.pl determines the person names from 1. MAINTAINERS of the changed file 2. git commit history of the changed file.

I can see the philosophy was that someone who touched the changed file should be copied for review.
We certainly could argue that and just get the list solely from the MAINTAINERS file.

Regards,
Bin

Signature · 11 lines
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
[email protected]
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
[email protected]
www.amarulasolutions.com
Signature · 2 lines
With Best Regards,
Andy Shevchenko
Signature · 1 line
Tom
#36 lore raw
In reply to Andy Shevchenko

Hi Andy

Quoted 6 lines · Andy Shevchenko
Quoted 3 lines · Michael Nazzareno Trimarchi

Hi Pali

Can you just filter emails on your side?

Quoted 7 lines

Independently on the question is default setup is good or not (from _this_ point of view, I *disagree* with Pali), we have to have a possibility to filter on _our_ side the email addresses to make people happy. If Pali by some reasons does not want to see, it must be easy to keep some deny list in the repository.

What you are suggesting is not polite I believe.

I understand what you mean, I never consider emails to me as a problem if I'm working
on an opensource project and mostly of the time I'm happy to receive them

Michael

Quoted 58 lines
Quoted 47 lines · Pali Rohár
Quoted 35 lines

So remove me from that list of dram.c file. I'm not interested to receive emails from people who are ignoring me about unrelated things.

Quoted 30 lines · On Monday 07 August 2023 09:43:01 Bin Meng wrote:

Hi Pali,

Quoted 6 lines · Pali Rohár
Quoted 4 lines · On Sunday 06 August 2023 08:39:43 Simon Glass wrote:

Hi Pali,

Quoted 1 line · Pali Rohár
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I'm not x86 maintainer, and I'm not going to review changes. So please do not send me these emails. I have expressed it many times.

You were sent one patch (and the cover letter) because you are the second committer on arch/x86/cpu/qemu/dram.c

I'm not maintainer of arch/x86/cpu/qemu/dram.c. How many times I have to repeat it? You do not understand? Or what you are trying to do now?

I believe this cc list comes from patman which calls get_maintainer.pl to get the cc list.
get_maintainer.pl determines the person names from 1. MAINTAINERS of the changed file 2. git commit history of the changed file.

I can see the philosophy was that someone who touched the changed file should be copied for review.
We certainly could argue that and just get the list solely from the MAINTAINERS file.

Regards,
Bin

--
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
[email protected]
__________________________________

Quoted 5 lines

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
[email protected]
www.amarulasolutions.com

--
With Best Regards,
Andy Shevchenko

Signature · 11 lines
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
[email protected]
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
[email protected]
www.amarulasolutions.com
#37 lore raw
Quoted 13 lines · Michael Nazzareno Trimarchi
Quoted 11 lines · Andy Shevchenko
Quoted 3 lines · Michael Nazzareno Trimarchi

Hi Pali

Can you just filter emails on your side?

Independently on the question is default setup is good or not (from _this_ point of view, I *disagree* with Pali), we have to have a possibility to filter on _our_ side the email addresses to make people happy. If Pali by some reasons does not want to see, it must be easy to keep some deny list in the repository.

Quoted 5 lines
Quoted 1 line

What you are suggesting is not polite I believe.

I understand what you mean, I never consider emails to me as a problem if I'm working
on an opensource project and mostly of the time I'm happy to receive them

It really depends. I agree with Bin on that, but we should respect someone's wishes (in case it's done automatically by heuristics [git history] rather than letter of law [MAINTAINERS database]).

Quoted 33 lines
Quoted 33 lines
Quoted 33 lines · Pali Rohár
Quoted 32 lines

So remove me from that list of dram.c file. I'm not interested to receive emails from people who are ignoring me about unrelated things.

Quoted 27 lines · On Monday 07 August 2023 09:43:01 Bin Meng wrote:

Hi Pali,

Quoted 6 lines · Pali Rohár
Quoted 4 lines · On Sunday 06 August 2023 08:39:43 Simon Glass wrote:

Hi Pali,

Quoted 1 line · Pali Rohár
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I'm not x86 maintainer, and I'm not going to review changes. So please do not send me these emails. I have expressed it many times.

You were sent one patch (and the cover letter) because you are the second committer on arch/x86/cpu/qemu/dram.c

I'm not maintainer of arch/x86/cpu/qemu/dram.c. How many times I have to repeat it? You do not understand? Or what you are trying to do now?

I believe this cc list comes from patman which calls get_maintainer.pl to get the cc list.
get_maintainer.pl determines the person names from 1. MAINTAINERS of the changed file 2. git commit history of the changed file.

I can see the philosophy was that someone who touched the changed file should be copied for review.
We certainly could argue that and just get the list solely from the MAINTAINERS file.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#38 lore raw
In reply to Michael Nazzareno Trimarchi
Quoted 16 lines · On Monday 07 August 2023 15:30:25 Michael Nazzareno Trimarchi wrote:

Hi Andy

Quoted 12 lines · Andy Shevchenko
Quoted 3 lines · Michael Nazzareno Trimarchi

Hi Pali

Can you just filter emails on your side?

Independently on the question is default setup is good or not (from _this_ point of view, I *disagree* with Pali), we have to have a possibility to filter on _our_ side the email addresses to make people happy. If Pali by some reasons does not want to see, it must be easy to keep some deny list in the repository.

Quoted 5 lines
Quoted 1 line

What you are suggesting is not polite I believe.

I understand what you mean, I never consider emails to me as a problem if I'm working
on an opensource project and mostly of the time I'm happy to receive them

No, I'm really not happy to receive emails from people who either implicity or explicitly said that will ignore all my contributions there and trying to convince me to go away and at the same time they want from me to do review on their own changes in my free time. I was patient, I wait one year to see if something happen - but absolutely nothing.

So why you cannot understand that if you are not interested in my patches, then I'm obviously not interested in yours? Or you are continuing trying to say that I'm idiot who should do exactly what you wrote? No! You would have to find another fool who would follow these your ideas.

Quoted 74 lines

Michael

Quoted 58 lines
Quoted 47 lines · Pali Rohár
Quoted 35 lines

So remove me from that list of dram.c file. I'm not interested to receive emails from people who are ignoring me about unrelated things.

Quoted 30 lines · On Monday 07 August 2023 09:43:01 Bin Meng wrote:

Hi Pali,

Quoted 6 lines · Pali Rohár
Quoted 4 lines · On Sunday 06 August 2023 08:39:43 Simon Glass wrote:

Hi Pali,

Quoted 1 line · Pali Rohár
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I'm not x86 maintainer, and I'm not going to review changes. So please do not send me these emails. I have expressed it many times.

You were sent one patch (and the cover letter) because you are the second committer on arch/x86/cpu/qemu/dram.c

I'm not maintainer of arch/x86/cpu/qemu/dram.c. How many times I have to repeat it? You do not understand? Or what you are trying to do now?

I believe this cc list comes from patman which calls get_maintainer.pl to get the cc list.
get_maintainer.pl determines the person names from 1. MAINTAINERS of the changed file 2. git commit history of the changed file.

I can see the philosophy was that someone who touched the changed file should be copied for review.
We certainly could argue that and just get the list solely from the MAINTAINERS file.

Regards,
Bin

--
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
[email protected]
__________________________________

Quoted 5 lines

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
[email protected]
www.amarulasolutions.com

--
With Best Regards,
Andy Shevchenko

Signature · 11 lines
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
[email protected]
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
[email protected]
www.amarulasolutions.com