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

Tom Rini trini at konsulko.com
Tue May 19 16:51:07 CEST 2020


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

Cc: Po Liu <po.liu at nxp.com>
Cc: Qiang Zhao <qiang.zhao at nxp.com>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
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(-)

diff --git a/board/freescale/c29xpcie/README b/board/freescale/c29xpcie/README
index 2e249cbb3a2e..a6120f1845d2 100644
--- a/board/freescale/c29xpcie/README
+++ b/board/freescale/c29xpcie/README
@@ -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
 
diff --git a/board/freescale/p1010rdb/README.P1010RDB-PA b/board/freescale/p1010rdb/README.P1010RDB-PA
index 105942f7a54f..46c61237c727 100644
--- a/board/freescale/p1010rdb/README.P1010RDB-PA
+++ b/board/freescale/p1010rdb/README.P1010RDB-PA
@@ -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
 
diff --git a/board/freescale/p1010rdb/README.P1010RDB-PB b/board/freescale/p1010rdb/README.P1010RDB-PB
index dc82f0df0984..4a3b389877fc 100644
--- a/board/freescale/p1010rdb/README.P1010RDB-PB
+++ b/board/freescale/p1010rdb/README.P1010RDB-PB
@@ -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
-- 
2.17.1



More information about the U-Boot mailing list