diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-09-06 16:27:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-09-06 16:27:37 +0000 |
commit | 56231056ea784f1cec6450f649b1adaed1f56366 (patch) | |
tree | 7b130d72d854cde2bcd3af8b11bd0f7be3dbff6a /target/linux/at91/image/dfboot/src/main.h | |
parent | e1184aaa1a7a5e5eeef8e072bf0ea98c291be22a (diff) | |
download | upstream-56231056ea784f1cec6450f649b1adaed1f56366.tar.gz upstream-56231056ea784f1cec6450f649b1adaed1f56366.tar.bz2 upstream-56231056ea784f1cec6450f649b1adaed1f56366.zip |
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
SVN-Revision: 8653
Diffstat (limited to 'target/linux/at91/image/dfboot/src/main.h')
-rw-r--r-- | target/linux/at91/image/dfboot/src/main.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/target/linux/at91/image/dfboot/src/main.h b/target/linux/at91/image/dfboot/src/main.h new file mode 100644 index 0000000000..a8cd325ca9 --- /dev/null +++ b/target/linux/at91/image/dfboot/src/main.h @@ -0,0 +1,43 @@ +//*---------------------------------------------------------------------------- +//* ATMEL Microcontroller Software Support - ROUSSET - +//*---------------------------------------------------------------------------- +//* The software is delivered "AS IS" without warranty or condition of any +//* kind, either express, implied or statutory. This includes without +//* limitation any warranty or condition with respect to merchantability or +//* fitness for any particular purpose, or against the infringements of +//* intellectual property rights of others. +//*---------------------------------------------------------------------------- +//* File Name : main.h +//* Object : +//* +//* 1.0 27/03/03 HIi : Creation +//* 1.01 03/05/04 HIi : AT9C_VERSION incremented to 1.01 +//* 1.02 15/06/04 HIi : AT9C_VERSION incremented to 1.02 ==> +//* Add crc32 to verify dataflash download +//* 1.03 18/04/05 MLC : AT91C_VERSION incremented to 1.03g +//* Repeat boot on CRC Failure +//* Change Page Size to 1056 +//* Reduce SPI speed to 4 Mbit +//* Change U-Boot boot address to a 1056 byte page boundary +//* 1.04 30/04/05 USA : AT91C_VERSION incremented to 1.04 +//* 1.05 07/08/06 USA : AT91C_VERSION incremented to 1.05 +//* Will only support loading Dataflashboot.bin and U-Boot +//*---------------------------------------------------------------------------- + +#ifndef main_h +#define main_h + +#include "embedded_services.h" + +#define AT91C_DOWNLOAD_BASE_ADDRESS 0x20000000 +#define AT91C_DOWNLOAD_MAX_SIZE 0x00040000 + +#define AT91C_OFFSET_VECT6 0x14 //* Offset for ARM vector 6 + +#define AT91C_VERSION "VER 1.05" + + +// Global variables and functions definition +extern unsigned int GetTickCount(void); +#endif + |