On 5/8/19 1:22 PM, Niel Fourie wrote: > Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec > phyBOARD-Wega AM335x. > > CPU : AM335X-GP rev 2.1 > Model: Phytec AM335x phyBOARD-WEGA > DRAM: 256 MiB > NAND: 256 MiB > MMC: OMAP SD/MMC: 0 > eth0: ethernet@4a100000 > > Working: > - Eth0 > - i2C > - MMC/SD > - NAND > - UART > - USB (host) > > Device trees were taken from Linux mainline: > commit 37624b58542f ("Linux 5.1-rc7") > > Signed-off-by: Niel Fourie <lu...@denx.de> > Reviewed-by: Heiko Schocher <h...@denx.de>
Tested-by: Marek Vasut <ma...@denx.de> Minor nits below... [...] > diff --git a/board/phytec/phycore_am335x_r2/board.c > b/board/phytec/phycore_am335x_r2/board.c > new file mode 100644 > index 0000000000..2f5bca27c2 > --- /dev/null > +++ b/board/phytec/phycore_am335x_r2/board.c > @@ -0,0 +1,259 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * board.c > + * > + * Board functions for Phytec phyCORE-AM335x R2 (pcl060) based boards PCL060 / PCM060 [...] > diff --git a/board/phytec/phycore_am335x_r2/board.h > b/board/phytec/phycore_am335x_r2/board.h > new file mode 100644 > index 0000000000..68c3d56aa5 > --- /dev/null > +++ b/board/phytec/phycore_am335x_r2/board.h > @@ -0,0 +1,24 @@ > +/* SPDX-License-Identifier: GPL-2.0+ */ > +/* > + * board.h > + * > + * Phytec phyCORE-AM335x (pcl060) boards information header PCL060 / PCM060 [...] > diff --git a/configs/phycore-am335x-r2-wega_defconfig > b/configs/phycore-am335x-r2-wega_defconfig > new file mode 100644 > index 0000000000..8888d8ff60 > --- /dev/null > +++ b/configs/phycore-am335x-r2-wega_defconfig > @@ -0,0 +1,79 @@ > +CONFIG_ARM=y It would be useful to enable CMD_DHCP and CMD_PING [...] > diff --git a/include/configs/phycore_am335x_r2.h > b/include/configs/phycore_am335x_r2.h > new file mode 100644 > index 0000000000..31a07062a0 > --- /dev/null > +++ b/include/configs/phycore_am335x_r2.h > @@ -0,0 +1,130 @@ > +/* SPDX-License-Identifier: GPL-2.0+ */ > +/* > + * phycore_am335x_r2.h > + * > + * Phytec phyCORE-AM335x R2 (pcl060) boards information header PCL060 / PCM060 [...] -- Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot