port generic and ixp4xx kernel patches to 2.6.27 (compiles except for iptables, but...
[openwrt.git] / target / linux / at91 / image / dfboot / src / main.h
1 //*----------------------------------------------------------------------------
2 //* ATMEL Microcontroller Software Support - ROUSSET -
3 //*----------------------------------------------------------------------------
4 //* The software is delivered "AS IS" without warranty or condition of any
5 //* kind, either express, implied or statutory. This includes without
6 //* limitation any warranty or condition with respect to merchantability or
7 //* fitness for any particular purpose, or against the infringements of
8 //* intellectual property rights of others.
9 //*----------------------------------------------------------------------------
10 //* File Name : main.h
11 //* Object :
12 //*
13 //* 1.0 27/03/03 HIi : Creation
14 //* 1.01 03/05/04 HIi : AT9C_VERSION incremented to 1.01
15 //* 1.02 15/06/04 HIi : AT9C_VERSION incremented to 1.02 ==>
16 //* Add crc32 to verify dataflash download
17 //* 1.03 18/04/05 MLC : AT91C_VERSION incremented to 1.03g
18 //* Repeat boot on CRC Failure
19 //* Change Page Size to 1056
20 //* Reduce SPI speed to 4 Mbit
21 //* Change U-Boot boot address to a 1056 byte page boundary
22 //* 1.04 30/04/05 USA : AT91C_VERSION incremented to 1.04
23 //* 1.05 07/08/06 USA : AT91C_VERSION incremented to 1.05
24 //* Will only support loading Dataflashboot.bin and U-Boot
25 //*----------------------------------------------------------------------------
26
27 #ifndef main_h
28 #define main_h
29
30 #include "embedded_services.h"
31
32 #define AT91C_DOWNLOAD_BASE_ADDRESS 0x20000000
33 #define AT91C_DOWNLOAD_MAX_SIZE 0x00040000
34
35 #define AT91C_OFFSET_VECT6 0x14 //* Offset for ARM vector 6
36
37 #define AT91C_VERSION "VER 1.05"
38
39
40 // Global variables and functions definition
41 extern unsigned int GetTickCount(void);
42 #endif
43
This page took 0.050914 seconds and 5 git commands to generate.