Skip to contentSkip to conversation

amlogic: Remove ARCH= references from documentation

PATCH Superseded Tom Rini 5 participants 13 messages May 19, 2020 – May 25, 2020

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/7 amlogic: Remove ARCH= references from documentation

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.

Cc Beniamino Galvani <[email protected]>
Cc Neil Armstrong <[email protected]>
Cc u-boot-amlogic at groups.io

---
As an aside, these files should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks!

---
 board/amlogic/p200/README.nanopi-k2    | 1 -
 board/amlogic/p200/README.odroid-c2    | 1 -
 board/amlogic/p200/README.p200         | 1 -
 board/amlogic/p201/README.p201         | 1 -
 board/amlogic/p212/README.khadas-vim   | 1 -
 board/amlogic/p212/README.libretech-ac | 1 -
 board/amlogic/p212/README.libretech-cc | 1 -
 board/amlogic/p212/README.p212         | 1 -
 board/amlogic/q200/README.khadas-vim2  | 1 -
 board/amlogic/q200/README.q200         | 1 -
 board/amlogic/s400/README              | 1 -
 board/amlogic/sei510/README            | 1 -
 board/amlogic/sei610/README            | 1 -
 board/amlogic/u200/README              | 1 -
 board/amlogic/w400/README.khadas-vim3  | 1 -
 board/amlogic/w400/README.khadas-vim3l | 1 -
 board/amlogic/w400/README.odroid-n2    | 1 -
 board/amlogic/w400/README.w400         | 1 -
 18 files changed, 18 deletions(-)
board/amlogic/p200/README.nanopi-k2 +0 -1
index d450d3c2b2af..c8dec3569b4d 100644
@@ -24,7 +24,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make nanopi-k2_defconfig
  > make
board/amlogic/p200/README.odroid-c2 +0 -1
index bed48c5728ba..3b9f80df29d8 100644
@@ -29,7 +29,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make odroid-c2_defconfig
  > make
board/amlogic/p200/README.p200 +0 -1
index 01d82d1e79e3..84d5ca535691 100644
@@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make p200_defconfig
  > make
board/amlogic/p201/README.p201 +0 -1
index c251096ce142..4bb5e9590532 100644
@@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make p201_defconfig
  > make
board/amlogic/p212/README.khadas-vim +0 -1
index a2c7606454f8..ccf933861b79 100644
@@ -30,7 +30,6 @@ Currently the u-boot port supports the following devices:
 U-Boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make khadas-vim_defconfig
  > make
board/amlogic/p212/README.libretech-ac +0 -1
index 538604261b84..3f713ec32634 100644
@@ -25,7 +25,6 @@ Currently the U-Boot port supports the following devices:
 U-Boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make libretech-ac_defconfig
  > make
board/amlogic/p212/README.libretech-cc +0 -1
index 6af7de3cfa79..74434d4435ec 100644
@@ -30,7 +30,6 @@ Currently the U-Boot port supports the following devices:
 U-Boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make libretech-cc_defconfig
  > make
board/amlogic/p212/README.p212 +0 -1
index ef5370c763c4..3776f2449391 100644
@@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make p212_defconfig
  > make
board/amlogic/q200/README.khadas-vim2 +0 -1
index 8bcfc296f3e0..595998c4fabb 100644
@@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices:
 U-Boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make khadas-vim2_defconfig
  > make
board/amlogic/q200/README.q200 +0 -1
index 55d730a0d200..d4142c88bd42 100644
@@ -30,7 +30,6 @@ Currently the u-boot port supports the following devices:
 U-Boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make khadas-vim2_defconfig
  > make
board/amlogic/s400/README +0 -1
index ab21998dc836..a48db22a4282 100644
@@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make s400_defconfig
  > make
board/amlogic/sei510/README +0 -1
index e47ebc7b3a5a..d9358aa50183 100644
@@ -22,7 +22,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make sei510_defconfig
  > make
board/amlogic/sei610/README +0 -1
index 1cc2b3c2a4e9..d96a94b5e970 100644
@@ -18,7 +18,6 @@ specifications:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make sei610_defconfig
  > make
board/amlogic/u200/README +0 -1
index bffac5e7ae0a..a4080eb299c4 100644
@@ -27,7 +27,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make u200_defconfig
  > make
board/amlogic/w400/README.khadas-vim3 +0 -1
index 45ef90c1b0a9..399bf49295f6 100644
@@ -29,7 +29,6 @@ Currently the U-Boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make khadas-vim3_defconfig
  > make
board/amlogic/w400/README.khadas-vim3l +0 -1
index 0afff16c0c26..b2d9abbfd9b2 100644
@@ -29,7 +29,6 @@ Currently the U-Boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make khadas-vim3l_defconfig
  > make
board/amlogic/w400/README.odroid-n2 +0 -1
index a8f2c3d7daa6..8142eebea007 100644
@@ -28,7 +28,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make odroid-n2_defconfig
  > make
board/amlogic/w400/README.w400 +0 -1
index 25b786d817c4..c129717a1189 100644
@@ -27,7 +27,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make w400_defconfig
  > make
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/7 imx: Remove ARCH= references from documentation

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.

Cc Adam Ford <[email protected]>
Cc Vanessa Maegima <[email protected]>
Cc Otavio Salvador <[email protected]>
Cc Igor Opaniuk <[email protected]>
Cc Amit Singh Tomar <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>

---
As an aside, the README files that haven't already been converted to rST should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks!

---
 board/beacon/imx8mm/README                         | 2 +-
 board/logicpd/imx6/README                          | 2 +-
 board/technexion/pico-imx7d/README.pico-imx7d_BL33 | 2 +-
 doc/board/actions/cubieboard7.rst                  | 2 +-
 doc/board/toradex/colibri_imx7.rst                 | 1 -
 5 files changed, 4 insertions(+), 5 deletions(-)
board/beacon/imx8mm/README +1 -1
index 4223fbd15dd6..dce176fa0b23 100644
@@ -26,7 +26,7 @@ $ cp firmware-imx-8.5/firmware/ddr/synopsys/lpddr4*.bin $(srctree)
 Build U-Boot
 ============
 $ make imx8mm_beacon_defconfig
-$ make flash.bin ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- ATF_LOAD_ADDR=0x920000
+$ make flash.bin CROSS_COMPILE=aarch64-linux-gnu- ATF_LOAD_ADDR=0x920000
 
 Burn U-Boot to microSD Card
 ===========================
board/logicpd/imx6/README +1 -1
index 26d053a32c3b..19f79c5734bc 100644
@@ -17,7 +17,7 @@ Building U-Boot for Logic PD Development Kit
 To build U-Boot for the Dual and Quad variants:
 
  make imx6q_logic_defconfig
- make u-boot.imx ARCH=arm CROSS_COMPILE=arm-linux-
+ make u-boot.imx CROSS_COMPILE=arm-linux-
 
 
 Flashing U-Boot into the SD card
board/technexion/pico-imx7d/README.pico-imx7d_BL33 +1 -1
index 40324ffe5f34..1b346093b88d 100644
@@ -4,7 +4,7 @@ The boot sequence is ATF -> OPTEE -> U-Boot -> Linux. U-Boot is in non-secure
 world in this case.
 
 - Build u-boot
-    Set environment variable of CROSS_COMPILE for your toolchain and ARCH=arm
+    Set environment variable of CROSS_COMPILE for your toolchain
     $ make pico-imx7d_bl33_defconfig
     $ make all
 
doc/board/actions/cubieboard7.rst +1 -1
index e01d2d0370a1..74f2b12e41fe 100644
@@ -102,7 +102,7 @@ Building U-BOOT proper image
 
    $ make clean
    $ export CROSS_COMPILE=aarch64-linux-gnu-
-   $ make ARCH=arm cubieboard7_defconfig
+   $ make cubieboard7_defconfig
    $ make u-boot-dtb.img -j16
 
 u-boot-dtb.img can now be flashed to debian image partition mounted on host machine.
doc/board/toradex/colibri_imx7.rst +0 -1
index 6fb952666661..a30e721379ee 100644
@@ -18,7 +18,6 @@ Build U-Boot
 .. code-block:: bash
 
     $ export CROSS_COMPILE=arm-linux-gnueabi-
-    $ export ARCH=arm
     $ make colibri_imx7_emmc_defconfig # For NAND: colibri_imx7_defconfig
     $ make
 
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/7 imx: Remove ARCH= references from documentation

Hi

Quoted 15 lines · Tom Rini

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.

Cc Adam Ford <[email protected]>
Cc Vanessa Maegima <[email protected]>
Cc Otavio Salvador <[email protected]>
Cc Igor Opaniuk <[email protected]>
Cc Amit Singh Tomar <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>

---
As an aside, the README files that haven't already been converted to rST should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks!

Quoted 5 lines
---
 board/beacon/imx8mm/README                         | 2 +-
 board/logicpd/imx6/README                          | 2 +-
 board/technexion/pico-imx7d/README.pico-imx7d_BL33 | 2 +-
 doc/board/actions/cubieboard7.rst                  | 2 +-

It is clubbed with imx platform but cubieboard7.rst is for Actions platform which is completely different from imx.

Thanks
-Amit

author
#3 lore raw

PATCH 2/7 imx: Remove ARCH= references from documentation

Quoted 24 lines · Amit Tomer

Hi

Quoted 15 lines · Tom Rini

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.

Cc Adam Ford <[email protected]>
Cc Vanessa Maegima <[email protected]>
Cc Otavio Salvador <[email protected]>
Cc Igor Opaniuk <[email protected]>
Cc Amit Singh Tomar <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>

---
As an aside, the README files that haven't already been converted to rST should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks!

Quoted 5 lines
---
 board/beacon/imx8mm/README                         | 2 +-
 board/logicpd/imx6/README                          | 2 +-
 board/technexion/pico-imx7d/README.pico-imx7d_BL33 | 2 +-
 doc/board/actions/cubieboard7.rst                  | 2 +-
Quoted 2 lines

It is clubbed with imx platform but cubieboard7.rst is for Actions platform which is completely different from imx.

Whoops, gotta update my mental mapping, sorry.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200519/41f25577/attachment.sig>
author
#4 lore raw

PATCH 3/7 powerpc: Remove ARCH= references from documentation

In reply to Tom Rini

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.

---
As an aside, these files should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks!

---
 board/freescale/c29xpcie/README             | 1 -
 board/freescale/p1010rdb/README.P1010RDB-PA | 1 -
 board/freescale/p1010rdb/README.P1010RDB-PB | 1 -
 3 files changed, 3 deletions(-)
board/freescale/c29xpcie/README +0 -1
index 2e249cbb3a2e..a6120f1845d2 100644
@@ -56,7 +56,6 @@ Note: 1 stands for 'off', 0 stands for 'on'
 Build and program U-Boot to NOR flash
 ==================================
 1. Build u-boot.bin image example:
-	export ARCH=powerpc
 	export CROSS_COMPILE=/your_path/powerpc-linux-gnu-
 	make C293PCIE
 
board/freescale/p1010rdb/README.P1010RDB-PA +0 -1
index 105942f7a54f..46c61237c727 100644
@@ -98,7 +98,6 @@ instead of to CAN/UART1.
 Build and burn U-Boot to NOR flash
 ==================================
 1. Build u-boot.bin image
-	export ARCH=powerpc
 	export CROSS_COMPILE=/your_path/powerpc-linux-gnu-
 	make P1010RDB_NOR
 
board/freescale/p1010rdb/README.P1010RDB-PB +0 -1
index dc82f0df0984..4a3b389877fc 100644
@@ -128,7 +128,6 @@ To enable IFC in case of SD boot
 Build images for different boot mode
 ====================================
 First setup cross compile environment on build host
-   $ export ARCH=powerpc
    $ export CROSS_COMPILE=<your-compiler-path>/powerpc-linux-gnu-
 
 1. For NOR boot
Signature · 1 line
2.17.1
author
#5 lore raw

PATCH 4/7 rockchip: Remove ARCH= references from documentation

In reply to Tom Rini

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.

Cc Kever Yang <[email protected]>
Cc Simon Glass <[email protected]>
Cc Philipp Tomsich <[email protected]>
Cc Klaus Goger <[email protected]>
Cc Jagan Teki <[email protected]>

---
As an aside, these files should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks!

---
 board/rockchip/evb_rk3229/README           | 1 -
 board/rockchip/evb_rk3399/README           | 1 -
 board/theobroma-systems/lion_rk3368/README | 4 ++--
 board/vamrs/rock960_rk3399/README          | 1 -
 4 files changed, 2 insertions(+), 5 deletions(-)
board/rockchip/evb_rk3229/README +0 -1
index 93328c75b204..9068225e2721 100644
@@ -22,7 +22,6 @@ Compile the U-Boot
 
   > cd ../u-boot
   > export CROSS_COMPILE=arm-linux-gnueabihf-
-  > export ARCH=arm
   > make evb-rk3229_defconfig
   > make
   > make u-boot.itb
board/rockchip/evb_rk3399/README +0 -1
index da7ae89ab1e9..c6f58203ebe9 100644
@@ -54,7 +54,6 @@ Compile U-Boot
 ==============
 
   > cd ../u-boot
-  > export ARCH=arm64
   > export CROSS_COMPILE=aarch64-linux-gnu-
   > make evb-rk3399_defconfig
   for firefly-rk3399, use below instead:
board/theobroma-systems/lion_rk3368/README +2 -2
index ad3ac93bd44b..7488b18326b9 100644
@@ -17,12 +17,12 @@ Configure U-Boot
 Build the TPL/SPL stage
 =======================
 
-  > make CROSS_COMPILE=aarch64-unknown-elf- ARCH=arm
+  > make CROSS_COMPILE=aarch64-unknown-elf-
 
 Build the full U-Boot and a FIT image including the ATF
 =======================================================
 
-  > make CROSS_COMPILE=aarch64-unknown-elf- ARCH=arm u-boot.itb
+  > make CROSS_COMPILE=aarch64-unknown-elf- u-boot.itb
 
 Flash the image
 ===============
board/vamrs/rock960_rk3399/README +0 -1
index c5c675c4ead1..15df027fbcd4 100644
@@ -57,7 +57,6 @@ Compile the U-Boot
 
   > cd ../u-boot
   > cp ../rkbin/rk33/rk3399_bl31_v1.00.elf ./bl31.elf
-  > export ARCH=arm64
   > export CROSS_COMPILE=aarch64-linux-gnu-
   > make rock960-rk3399_defconfig
   > make
Signature · 1 line
2.17.1
#6 lore raw

PATCH 4/7 rockchip: Remove ARCH= references from documentation

Quoted 74 lines · Tom Rini

When building U-Boot we select the architecture via Kconfig and not ARCH
being passed in via the environment or make cmdline.

Cc Kever Yang <[email protected]>
Cc Simon Glass <[email protected]>
Cc Philipp Tomsich <[email protected]>
Cc Klaus Goger <[email protected]>
Cc Jagan Teki <[email protected]>

---
As an aside, these files should be converted rST and moved to doc/board/
and the MAINTAINERS file updated to include the new documentation file too. Thanks!

---
 board/rockchip/evb_rk3229/README           | 1 -
 board/rockchip/evb_rk3399/README           | 1 -
 board/theobroma-systems/lion_rk3368/README | 4 ++--
 board/vamrs/rock960_rk3399/README          | 1 -
 4 files changed, 2 insertions(+), 5 deletions(-)
board/rockchip/evb_rk3229/README +0 -1
index 93328c75b204..9068225e2721 100644
@@ -22,7 +22,6 @@ Compile the U-Boot
 
   > cd ../u-boot
   > export CROSS_COMPILE=arm-linux-gnueabihf-
-  > export ARCH=arm
   > make evb-rk3229_defconfig
   > make
   > make u-boot.itb
board/rockchip/evb_rk3399/README +0 -1
index da7ae89ab1e9..c6f58203ebe9 100644
@@ -54,7 +54,6 @@ Compile U-Boot
 ==============
 
   > cd ../u-boot
-  > export ARCH=arm64
   > export CROSS_COMPILE=aarch64-linux-gnu-
   > make evb-rk3399_defconfig
   for firefly-rk3399, use below instead:
board/theobroma-systems/lion_rk3368/README +2 -2
index ad3ac93bd44b..7488b18326b9 100644
@@ -17,12 +17,12 @@ Configure U-Boot
 Build the TPL/SPL stage
 =======================
 
-  > make CROSS_COMPILE=aarch64-unknown-elf- ARCH=arm
+  > make CROSS_COMPILE=aarch64-unknown-elf-
 
 Build the full U-Boot and a FIT image including the ATF
 =======================================================
 
-  > make CROSS_COMPILE=aarch64-unknown-elf- ARCH=arm u-boot.itb
+  > make CROSS_COMPILE=aarch64-unknown-elf- u-boot.itb
 
 Flash the image
 ===============
board/vamrs/rock960_rk3399/README +0 -0
index c5c675c4ead1..15df027fbcd4 100644

board/vamrs/rock960_rk3399/README Compile the U-Boot · line 62

Quoted 7 lines
board/vamrs/rock960_rk3399/README +0 -1
@@ -57,7 +57,6 @@ Compile the U-Boot
 
   > cd ../u-boot
   > cp ../rkbin/rk33/rk3399_bl31_v1.00.elf ./bl31.elf
-  > export ARCH=arm64
   > export CROSS_COMPILE=aarch64-linux-gnu-
   > make rock960-rk3399_defconfig
   > make

Thanks for the hint about converting to rST. Will send patches for at least the boards that list me as maintainer.

Best,
Klaus

Reviewed-by on v1 4/7
#7 lore raw

Re: [PATCH 4/7] rockchip: Remove ARCH= references from documentation【请注意,邮件由[email protected]代发】

In reply to Tom Rini
Quoted 9 lines · Tom Rini

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.

Cc Kever Yang <[email protected]>
Cc Simon Glass <[email protected]>
Cc Philipp Tomsich <[email protected]>
Cc Klaus Goger <[email protected]>
Cc Jagan Teki <[email protected]>

Thanks,
- Kever

Quoted 66 lines

---
As an aside, these files should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks!

---
  board/rockchip/evb_rk3229/README           | 1 -
  board/rockchip/evb_rk3399/README           | 1 -
  board/theobroma-systems/lion_rk3368/README | 4 ++--
  board/vamrs/rock960_rk3399/README          | 1 -
  4 files changed, 2 insertions(+), 5 deletions(-)
board/rockchip/evb_rk3229/README +0 -1
index 93328c75b204..9068225e2721 100644
@@ -22,7 +22,6 @@ Compile the U-Boot
 
    > cd ../u-boot
    > export CROSS_COMPILE=arm-linux-gnueabihf-
-  > export ARCH=arm
    > make evb-rk3229_defconfig
    > make
    > make u-boot.itb
board/rockchip/evb_rk3399/README +0 -1
index da7ae89ab1e9..c6f58203ebe9 100644
@@ -54,7 +54,6 @@ Compile U-Boot
  ==============
 
    > cd ../u-boot
-  > export ARCH=arm64
    > export CROSS_COMPILE=aarch64-linux-gnu-
    > make evb-rk3399_defconfig
    for firefly-rk3399, use below instead:
board/theobroma-systems/lion_rk3368/README +2 -2
index ad3ac93bd44b..7488b18326b9 100644
@@ -17,12 +17,12 @@ Configure U-Boot
  Build the TPL/SPL stage
  =======================
 
-  > make CROSS_COMPILE=aarch64-unknown-elf- ARCH=arm
+  > make CROSS_COMPILE=aarch64-unknown-elf-
 
  Build the full U-Boot and a FIT image including the ATF
  =======================================================
 
-  > make CROSS_COMPILE=aarch64-unknown-elf- ARCH=arm u-boot.itb
+  > make CROSS_COMPILE=aarch64-unknown-elf- u-boot.itb
 
  Flash the image
  ===============
board/vamrs/rock960_rk3399/README +0 -1
index c5c675c4ead1..15df027fbcd4 100644
@@ -57,7 +57,6 @@ Compile the U-Boot
 
    > cd ../u-boot
    > cp ../rkbin/rk33/rk3399_bl31_v1.00.elf ./bl31.elf
-  > export ARCH=arm64
    > export CROSS_COMPILE=aarch64-linux-gnu-
    > make rock960-rk3399_defconfig
    > make
author
#8 lore raw

PATCH 5/7 arm: ti: Remove ARCH= references from documentation

In reply to Tom Rini

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.

Cc Lokesh Vutla <[email protected]>
Cc Vitaly Andrianov <[email protected]>

---
As an aside, these README files should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks!

---
 board/ti/am65x/README               | 8 ++++----
 board/ti/j721e/README               | 8 ++++----
 board/ti/ks2_evm/README             | 2 +-
 doc/uImage.FIT/beaglebone_vboot.txt | 1 -
 4 files changed, 9 insertions(+), 10 deletions(-)
board/ti/am65x/README +4 -4
index 00be1ffe44d6..67081ce349dc 100644
@@ -133,12 +133,12 @@ $ make PLATFORM=k3-am65x CFG_ARM64_core=y
 4. U-Boot:
 
 4.1. R5:
-$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am65x_evm_r5_defconfig O=/tmp/r5
-$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=/tmp/r5
+$ make CROSS_COMPILE=arm-linux-gnueabihf- am65x_evm_r5_defconfig O=/tmp/r5
+$ make CROSS_COMPILE=arm-linux-gnueabihf- O=/tmp/r5
 
 4.2. A53:
-$ make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- am65x_evm_a53_defconfig O=/tmp/a53
-$ make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- ATF=<path to ATF dir>/build/k3/generic/release/bl31.bin TEE=<path to OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin O=/tmp/a53
+$ make CROSS_COMPILE=aarch64-linux-gnu- am65x_evm_a53_defconfig O=/tmp/a53
+$ make CROSS_COMPILE=aarch64-linux-gnu- ATF=<path to ATF dir>/build/k3/generic/release/bl31.bin TEE=<path to OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin O=/tmp/a53
 
 Target Images
 --------------
board/ti/j721e/README +4 -4
index 7dcf33633294..757a59cdb44a 100644
@@ -149,12 +149,12 @@ $ make PLATFORM=k3-j721e CFG_ARM64_core=y
 4. U-Boot:
 
 4.1. R5:
-$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- j721e_evm_r5_defconfig O=/tmp/r5
-$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=/tmp/r5
+$ make CROSS_COMPILE=arm-linux-gnueabihf- j721e_evm_r5_defconfig O=/tmp/r5
+$ make CROSS_COMPILE=arm-linux-gnueabihf- O=/tmp/r5
 
 4.2. A72:
-$ make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- j721e_evm_a72_defconfig O=/tmp/a72
-$ make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- ATF=<path to ATF dir>/build/k3/generic/release/bl31.bin TEE=<path to OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin O=/tmp/a72
+$ make CROSS_COMPILE=aarch64-linux-gnu- j721e_evm_a72_defconfig O=/tmp/a72
+$ make CROSS_COMPILE=aarch64-linux-gnu- ATF=<path to ATF dir>/build/k3/generic/release/bl31.bin TEE=<path to OPTEE OS dir>/out/arm-plat-k3/core/tee-pager_v2.bin O=/tmp/a72
 
 Target Images
 --------------
board/ti/ks2_evm/README +1 -1
index a26b7f813131..ff0ec5a36377 100644
@@ -74,7 +74,7 @@ Supported image formats:
 Build instructions:
 ===================
 Examples for k2hk, for k2e, k2l and k2g just replace k2hk prefix accordingly.
-Don't forget to add ARCH=arm and CROSS_COMPILE.
+Don't forget to add CROSS_COMPILE.
 
 To build u-boot.bin, u-boot-spi.gph, MLO:
   >make k2hk_evm_defconfig
doc/uImage.FIT/beaglebone_vboot.txt +0 -1
index 685ec1f46d96..ebd2068ed38d 100644
@@ -67,7 +67,6 @@ or if you just installed gcc-arm-linux-gnueabi then it might be
 
 b. Configure and build U-Boot with verified boot enabled:
 
-   export ARCH=arm
    export UBOOT=/path/to/u-boot
    cd $UBOOT
    # You can add -j10 if you have 10 CPUs to make it faster
Signature · 1 line
2.17.1
author
#9 lore raw

PATCH 6/7 m68k: Remove ARCH= references from documentation

In reply to Tom Rini

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.

While in here, add the doc file to the MAINTAINERS entry for coldfire.

Cc Huan Wang <[email protected]>
Cc Angelo Dureghello <[email protected]>
---
 MAINTAINERS       | 1 +
 doc/arch/m68k.rst | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
MAINTAINERS +1 -0
index 8add9d4c2ae9..893cac398f84 100644
@@ -590,6 +590,7 @@ M:	Angelo Dureghello <[email protected]>
 S:	Maintained
 T:	git https://gitlab.denx.de/u-boot/custodians/u-boot-coldfire.git
 F:	arch/m68k/
+F:	doc/arch/m68k.rst
 
 DFU
 M:	Lukasz Majewski <[email protected]>
doc/arch/m68k.rst +3 -3
index 34b2593eb85b..44e1a5dfa384 100644
@@ -35,7 +35,7 @@ development boards.
 Supported CPU families
 ----------------------
 
-Please "make menuconfig" with ARCH=m68k, or check arch/m68k/cpu to see the
+Please "make menuconfig" and select "m68k" or check arch/m68k/cpu to see the
 currently supported processor and families.
 
 
@@ -75,8 +75,8 @@ A bash script similar to the one below may be used:
    board=M5475DFE
 
    make distclean
-   make ARCH=m68k ${board}_defconfig
-   make ARCH=m68k KBUILD_VERBOSE=1
+   make ${board}_defconfig
+   make KBUILD_VERBOSE=1
 
 
 Adopted toolchains
Signature · 1 line
2.17.1
author
#10 lore raw

PATCH 7/7 fu540: Remove ARCH= references from documentation

In reply to Tom Rini

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.

While in here, add the doc file to the MAINTAINERS entry for coldfire.

Cc Paul Walmsley <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Anup Patel <[email protected]>
Cc Atish Patra <[email protected]>
---
 board/sifive/fu540/MAINTAINERS | 1 +
 doc/board/sifive/fu540.rst     | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
board/sifive/fu540/MAINTAINERS +1 -0
index 702d803ad809..93df97913355 100644
@@ -5,5 +5,6 @@ M:	Anup Patel <[email protected]>
 M:	Atish Patra <[email protected]>
 S:	Maintained
 F:	board/sifive/fu540/
+F:	doc/board/sifive/fu540.rst
 F:	include/configs/sifive-fu540.h
 F:	configs/sifive_fu540_defconfig
doc/board/sifive/fu540.rst +0 -1
index 610ba87074b4..43402cb2e51e 100644
@@ -39,7 +39,6 @@ Building
 
 .. code-block:: none
 
-   export ARCH=riscv
    export CROSS_COMPILE=<riscv64 toolchain prefix>
 
 3. make sifive_fu540_defconfig
Signature · 1 line
2.17.1
author
#11 lore raw

PATCH 7/7 fu540: Remove ARCH= references from documentation

Quoted 4 lines · Tom Rini

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.

While in here, add the doc file to the MAINTAINERS entry for coldfire.

I've reworded this locally to just be:
While in here, add the doc file to the MAINTAINERS entry.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200519/738d2779/attachment.sig>
#12 lore raw

PATCH 1/7 amlogic: Remove ARCH= references from documentation

In reply to Tom Rini

Hi,

Le 19/05/2020 ? 16:51, Tom Rini a ?crit :

Quoted 11 lines

When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline.

Cc Beniamino Galvani <[email protected]>
Cc Neil Armstrong <[email protected]>
Cc u-boot-amlogic at groups.io

---
As an aside, these files should be converted rST and moved to doc/board/ and the MAINTAINERS file updated to include the new documentation file too. Thanks!

Adding this to my TODO list !

Thanks,
Neil

Quoted 231 lines
---
 board/amlogic/p200/README.nanopi-k2    | 1 -
 board/amlogic/p200/README.odroid-c2    | 1 -
 board/amlogic/p200/README.p200         | 1 -
 board/amlogic/p201/README.p201         | 1 -
 board/amlogic/p212/README.khadas-vim   | 1 -
 board/amlogic/p212/README.libretech-ac | 1 -
 board/amlogic/p212/README.libretech-cc | 1 -
 board/amlogic/p212/README.p212         | 1 -
 board/amlogic/q200/README.khadas-vim2  | 1 -
 board/amlogic/q200/README.q200         | 1 -
 board/amlogic/s400/README              | 1 -
 board/amlogic/sei510/README            | 1 -
 board/amlogic/sei610/README            | 1 -
 board/amlogic/u200/README              | 1 -
 board/amlogic/w400/README.khadas-vim3  | 1 -
 board/amlogic/w400/README.khadas-vim3l | 1 -
 board/amlogic/w400/README.odroid-n2    | 1 -
 board/amlogic/w400/README.w400         | 1 -
 18 files changed, 18 deletions(-)
board/amlogic/p200/README.nanopi-k2 +0 -1
index d450d3c2b2af..c8dec3569b4d 100644
@@ -24,7 +24,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make nanopi-k2_defconfig
  > make
board/amlogic/p200/README.odroid-c2 +0 -1
index bed48c5728ba..3b9f80df29d8 100644
@@ -29,7 +29,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make odroid-c2_defconfig
  > make
board/amlogic/p200/README.p200 +0 -1
index 01d82d1e79e3..84d5ca535691 100644
@@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make p200_defconfig
  > make
board/amlogic/p201/README.p201 +0 -1
index c251096ce142..4bb5e9590532 100644
@@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make p201_defconfig
  > make
board/amlogic/p212/README.khadas-vim +0 -1
index a2c7606454f8..ccf933861b79 100644
@@ -30,7 +30,6 @@ Currently the u-boot port supports the following devices:
 U-Boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make khadas-vim_defconfig
  > make
board/amlogic/p212/README.libretech-ac +0 -1
index 538604261b84..3f713ec32634 100644
@@ -25,7 +25,6 @@ Currently the U-Boot port supports the following devices:
 U-Boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make libretech-ac_defconfig
  > make
board/amlogic/p212/README.libretech-cc +0 -1
index 6af7de3cfa79..74434d4435ec 100644
@@ -30,7 +30,6 @@ Currently the U-Boot port supports the following devices:
 U-Boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make libretech-cc_defconfig
  > make
board/amlogic/p212/README.p212 +0 -1
index ef5370c763c4..3776f2449391 100644
@@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make p212_defconfig
  > make
board/amlogic/q200/README.khadas-vim2 +0 -1
index 8bcfc296f3e0..595998c4fabb 100644
@@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices:
 U-Boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make khadas-vim2_defconfig
  > make
board/amlogic/q200/README.q200 +0 -1
index 55d730a0d200..d4142c88bd42 100644
@@ -30,7 +30,6 @@ Currently the u-boot port supports the following devices:
 U-Boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make khadas-vim2_defconfig
  > make
board/amlogic/s400/README +0 -1
index ab21998dc836..a48db22a4282 100644
@@ -31,7 +31,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make s400_defconfig
  > make
board/amlogic/sei510/README +0 -1
index e47ebc7b3a5a..d9358aa50183 100644
@@ -22,7 +22,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make sei510_defconfig
  > make
board/amlogic/sei610/README +0 -1
index 1cc2b3c2a4e9..d96a94b5e970 100644
@@ -18,7 +18,6 @@ specifications:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make sei610_defconfig
  > make
board/amlogic/u200/README +0 -1
index bffac5e7ae0a..a4080eb299c4 100644
@@ -27,7 +27,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make u200_defconfig
  > make
board/amlogic/w400/README.khadas-vim3 +0 -1
index 45ef90c1b0a9..399bf49295f6 100644
@@ -29,7 +29,6 @@ Currently the U-Boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make khadas-vim3_defconfig
  > make
board/amlogic/w400/README.khadas-vim3l +0 -1
index 0afff16c0c26..b2d9abbfd9b2 100644
@@ -29,7 +29,6 @@ Currently the U-Boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make khadas-vim3l_defconfig
  > make
board/amlogic/w400/README.odroid-n2 +0 -1
index a8f2c3d7daa6..8142eebea007 100644
@@ -28,7 +28,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make odroid-n2_defconfig
  > make
board/amlogic/w400/README.w400 +0 -0
index 25b786d817c4..c129717a1189 100644

board/amlogic/w400/README.w400 Currently the u-boot port supports the following devices: · line 32

Quoted 7 lines
board/amlogic/w400/README.w400 +0 -1
@@ -27,7 +27,6 @@ Currently the u-boot port supports the following devices:
 u-boot compilation
 ==================
 
- > export ARCH=arm
  > export CROSS_COMPILE=aarch64-none-elf-
  > make w400_defconfig
  > make