u-boot/board/Arcturus/ucp1020
Simon Glass 203e94f6c9 env: Add an enum for environment state
At present we have three states for the environment, numbered 0, 1 and 2.
Add an enum to record this to avoid open-coded values.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
2017-08-15 08:18:51 -04:00
..
cmd_arc.c powerpc/mpc85xx: Add board support for ucp1020 2015-05-04 09:26:26 -07: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: Add board support for ucp1020 2015-05-04 09:26:26 -07:00
ucp1020.c usb: fsl: Rename fdt_fixup_dr_usb 2016-09-27 23:30:27 +02: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