u-boot/board/Arcturus/ucp1020
Masahiro Yamada b08c8c4870 libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>
Thomas reported U-Boot failed to build host tools if libfdt-devel
package is installed because tools include libfdt headers from
/usr/include/ instead of using internal ones.

This commit moves the header code:
  include/libfdt.h         -> include/linux/libfdt.h
  include/libfdt_env.h     -> include/linux/libfdt_env.h

and replaces include directives:
  #include <libfdt.h>      -> #include <linux/libfdt.h>
  #include <libfdt_env.h>  -> #include <linux/libfdt_env.h>

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2018-03-05 10:16:28 -05:00
..
cmd_arc.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
ddr.c powerpc/mpc85xx: Add board support for ucp1020 2015-05-04 09:26:26 -07:00
Kconfig Move default y configs out of arch/board Kconfig 2015-06-25 22:17:55 -04:00
law.c powerpc/mpc85xx: Add board support for ucp1020 2015-05-04 09:26:26 -07:00
MAINTAINERS powerpc/mpc85xx: Add board support for ucp1020 2015-05-04 09:26:26 -07:00
Makefile powerpc/mpc85xx: Add board support for ucp1020 2015-05-04 09:26:26 -07:00
README powerpc/mpc85xx: Add board support for ucp1020 2015-05-04 09:26:26 -07:00
spl.c env: Add an enum for environment state 2017-08-15 08:18:51 -04:00
spl_minimal.c powerpc/mpc85xx: Add board support for ucp1020 2015-05-04 09:26:26 -07:00
tlb.c powerpc: mpc85xx: Fix static TLB table for SDRAM 2017-12-06 14:54:12 -08:00
ucp1020.c libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h> 2018-03-05 10:16:28 -05:00
ucp1020.h powerpc/mpc85xx: Add board support for ucp1020 2015-05-04 09:26:26 -07:00

The uCP1020 product family (ucp1020) is an Arcturus Networks Inc. System on Modules
product featuring a Freescale P1020 CPU, optionally populated with 1, 2 or 3 Gig-Ethernet PHYs,
DDR3, NOR Flash, eMMC NAND Flash and/or SPI Flash.

Information on the generic product family can be found here:
	http://www.arcturusnetworks.com/products/ucp1020

The UCP1020 several configurable options
========================================

- the selection of populated phy(s):
	KSZ9031 (current default for eTSEC 1 and 3)

- the selection of boot location:
	SPI Flash or NOR flash

The UCP1020 includes 2 default configurations
=============================================
NOR boot image:
	configs/UCP1020_defconfig
SPI boot image:
	configs/UCP1020_SPIFLASH_defconfig

The UCP1020 adds an additional command in cmd_arc.c to access and program
SPI resident factory defaults for serial number, and 1, 2 or 3 Ethernet
HW Addresses.


Build example
=============

make distclean
make UCP1020_defconfig
make

Default Scripts
===============
A default upgrade scripts is included in the default environment variable example:

B$ run tftpflash

Dual Environment
================

This build enables dual / failover environment environment.

NOR Flash Partition declarations and scripts
============================================
Several scripts are available to allow TFTP of images and programming directly
into defined NOR flash partitions. Examples:

B$ run program0
B$ run program1
B$ run program2