diff mbox series

[2/7] imx: Remove ARCH= references from documentation

Message ID 20200519145111.21515-2-trini@konsulko.com
State New
Headers show
Series [1/7] amlogic: Remove ARCH= references from documentation | expand

Commit Message

Tom Rini May 19, 2020, 2:51 p.m. UTC
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 <aford173 at gmail.com>
Cc: Vanessa Maegima <vanessa.maegima at nxp.com>
Cc: Otavio Salvador <otavio at ossystems.com.br>
Cc: Igor Opaniuk <igor.opaniuk at toradex.com>
Cc: Amit Singh Tomar <amittomer25 at gmail.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam at linaro.org>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
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(-)

Comments

Amit Tomer May 19, 2020, 3:11 p.m. UTC | #1
Hi

On Tue, May 19, 2020 at 8:21 PM Tom Rini <trini at konsulko.com> wrote:
>
> 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 <aford173 at gmail.com>
> Cc: Vanessa Maegima <vanessa.maegima at nxp.com>
> Cc: Otavio Salvador <otavio at ossystems.com.br>
> Cc: Igor Opaniuk <igor.opaniuk at toradex.com>
> Cc: Amit Singh Tomar <amittomer25 at gmail.com>
> Cc: Manivannan Sadhasivam <manivannan.sadhasivam at linaro.org>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> 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 +-

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

Thanks
-Amit
Tom Rini May 19, 2020, 3:23 p.m. UTC | #2
On Tue, May 19, 2020 at 08:41:45PM +0530, Amit Tomer wrote:
> Hi
> 
> On Tue, May 19, 2020 at 8:21 PM Tom Rini <trini at konsulko.com> wrote:
> >
> > 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 <aford173 at gmail.com>
> > Cc: Vanessa Maegima <vanessa.maegima at nxp.com>
> > Cc: Otavio Salvador <otavio at ossystems.com.br>
> > Cc: Igor Opaniuk <igor.opaniuk at toradex.com>
> > Cc: Amit Singh Tomar <amittomer25 at gmail.com>
> > Cc: Manivannan Sadhasivam <manivannan.sadhasivam at linaro.org>
> > Signed-off-by: Tom Rini <trini at konsulko.com>
> > ---
> > 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 +-
> 
> 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.
diff mbox series

Patch

diff --git a/board/beacon/imx8mm/README b/board/beacon/imx8mm/README
index 4223fbd15dd6..dce176fa0b23 100644
--- a/board/beacon/imx8mm/README
+++ b/board/beacon/imx8mm/README
@@ -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
 ===========================
diff --git a/board/logicpd/imx6/README b/board/logicpd/imx6/README
index 26d053a32c3b..19f79c5734bc 100644
--- a/board/logicpd/imx6/README
+++ b/board/logicpd/imx6/README
@@ -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
diff --git a/board/technexion/pico-imx7d/README.pico-imx7d_BL33 b/board/technexion/pico-imx7d/README.pico-imx7d_BL33
index 40324ffe5f34..1b346093b88d 100644
--- a/board/technexion/pico-imx7d/README.pico-imx7d_BL33
+++ b/board/technexion/pico-imx7d/README.pico-imx7d_BL33
@@ -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
 
diff --git a/doc/board/actions/cubieboard7.rst b/doc/board/actions/cubieboard7.rst
index e01d2d0370a1..74f2b12e41fe 100644
--- a/doc/board/actions/cubieboard7.rst
+++ b/doc/board/actions/cubieboard7.rst
@@ -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.
diff --git a/doc/board/toradex/colibri_imx7.rst b/doc/board/toradex/colibri_imx7.rst
index 6fb952666661..a30e721379ee 100644
--- a/doc/board/toradex/colibri_imx7.rst
+++ b/doc/board/toradex/colibri_imx7.rst
@@ -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