u-boot-brain/board/renesas/sh7757lcr
Tom Rini 83d290c56f SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini <trini@konsulko.com>
2018-05-07 09:34:12 -04:00
..
Kconfig sh: consolidate CONFIG_SYS_CPU defines 2014-11-13 08:48:48 +09:00
lowlevel_init.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
MAINTAINERS MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
README.sh7757lcr doc: cleanup - move board READMEs into respective board directories 2012-07-29 15:42:02 +02:00
sh7757lcr.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spi-boot.c Coding Style cleanup: remove trailing empty lines 2011-03-27 21:48:08 +02:00

========================================
Renesas R0P7757LC0030RL board
========================================

This board specification:
=========================

The R0P7757LC0030RL(board config name:sh7757lcr) has the following device:

 - SH7757 (SH-4A)
 - DDR3-SDRAM 256MB (with ECC)
 - SPI ROM 8MB
 - 2D Graphic controller
 - Ethernet controller
 - eMMC 2GB


configuration for This board:
=============================

You can select the configuration as follows:

 - make sh7785lcr_config


This board specific command:
============================

This board has the following its specific command:

 - sh_g200
 - write_mac


1. sh_g200

If we run this command, SH4 can control the G200.
The default setting is that SH4 cannot control the G200.


2. write_mac

You can write MAC address to SPI ROM.

 Usage 1) Write MAC address

   write_mac [ETHERC ch0] [ETHERC ch1] [GETHERC ch0] [GETHERC ch1]

	For example)
	 => write_mac 00:00:87:6c:21:80 00:00:87:6c:21:81 00:00:87:6c:21:82 00:00:87:6c:21:83
		*) We have to input the command as a single line
		   (without carriage return)
		*) We have to reset after input the command.

 Usage 2) Show current data

   write_mac

	For example)
		=> write_mac
		 ETHERC ch0 = 00:00:87:6c:21:80
		 ETHERC ch1 = 00:00:87:6c:21:81
		GETHERC ch0 = 00:00:87:6c:21:82
		GETHERC ch1 = 00:00:87:6c:21:83


Update SPI ROM:
============================

1. Copy u-boot image to RAM area.
2. Probe SPI device.
   => sf probe 0
   8192 KiB M25P64 at 0:0 is now current device
3. Erase SPI ROM.
   => sf erase 0 80000
4. Write u-boot image to SPI ROM.
   => sf write 0x89000000 0 80000