u-boot/board/Arcturus/ucp1020
Simon Glass 00caae6d47 env: Rename getenv/_f() to env_get()
We are now using an env_ prefix for environment functions. Rename these
two functions for consistency. Also add function comments in common.h.

Quite a few places use getenv() in a condition context, provoking a
warning from checkpatch. These are fixed up in this patch also.

Suggested-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Simon Glass <sjg@chromium.org>
2017-08-16 08:30:24 -04: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: Add board support for ucp1020 2015-05-04 09:26:26 -07:00
ucp1020.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04: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