]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/barco/barco_svc.h
imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
[karo-tx-uboot.git] / board / barco / barco_svc.h
1 /********************************************************************
2  *
3  * Unless otherwise specified, Copyright (C) 2004-2005 Barco Control Rooms
4  *
5  * $Source$
6  * $Revision$
7  * $Author$
8  * $Date$
9  *
10  * Last ChangeLog Entry
11  * $Log$
12  * Revision 1.1.5.1  2011-02-28 14:41:59  lothar
13  * imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
14  *
15  * Revision 1.2  2005/02/21 12:48:58  mleeman
16  * update of copyright years (feedback wd)
17  *
18  * Revision 1.1  2005/02/14 09:31:07  mleeman
19  * renaming of files
20  *
21  * Revision 1.1  2005/02/14 09:23:46  mleeman
22  * - moved 'barcohydra' directory to a more generic barco; since we will be
23  *   supporting and adding multiple boards
24  *
25  * Revision 1.1  2005/02/08 15:40:19  mleeman
26  * modified and added platform files
27  *
28  * Revision 1.2  2005/01/25 08:05:04  mleeman
29  * more cleanup of the code
30  *
31  * Revision 1.1  2004/07/20 08:49:55  mleeman
32  * Working version of the default and nfs kernel booting.
33  *
34  *
35  *******************************************************************/
36
37 #ifndef _LOCAL_BARCOHYDRA_H_
38 #define _LOCAL_BARCOHYDRA_H_
39
40 #include <flash.h>
41 #include <asm/io.h>
42
43 /* Defines for the barcohydra board */
44 #ifndef CONFIG_SYS_FLASH_ERASE_SECTOR_LENGTH
45 #define CONFIG_SYS_FLASH_ERASE_SECTOR_LENGTH (0x10000)
46 #endif
47
48 #ifndef CONFIG_SYS_DEFAULT_KERNEL_ADDRESS
49 #define CONFIG_SYS_DEFAULT_KERNEL_ADDRESS (CONFIG_SYS_FLASH_BASE + 0x30000)
50 #endif
51
52 #ifndef CONFIG_SYS_WORKING_KERNEL_ADDRESS
53 #define CONFIG_SYS_WORKING_KERNEL_ADDRESS (0xFFE00000)
54 #endif
55
56
57 typedef struct SBootInfo {
58         unsigned int address;
59         unsigned int size;
60         unsigned char state;
61 }TSBootInfo;
62
63 /* barcohydra.c */
64 int checkboard(void);
65 phys_size_t initdram(int board_type);
66 void pci_init_board(void);
67 void check_flash(void);
68 int write_flash(char *addr, char value);
69 TSBootInfo* find_boot_info(void);
70 void final_boot(void);
71 #endif