32 lines
1.4 KiB
C
32 lines
1.4 KiB
C
![]() |
/*****************************************************************************
|
||
|
*
|
||
|
* Copyright(C) 2011, Embedded Artists AB
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
******************************************************************************
|
||
|
* Software that is described herein is for illustrative purposes only
|
||
|
* which provides customers with programming information regarding the
|
||
|
* products. This software is supplied "AS IS" without any warranties.
|
||
|
* Embedded Artists AB assumes no responsibility or liability for the
|
||
|
* use of the software, conveys no license or title under any patent,
|
||
|
* copyright, or mask work right to the product. Embedded Artists AB
|
||
|
* reserves the right to make changes in the software without
|
||
|
* notification. Embedded Artists AB also make no representation or
|
||
|
* warranty that such application will be suitable for the specified
|
||
|
* use without further testing or modification.
|
||
|
*****************************************************************************/
|
||
|
#ifndef __SDRAM_H
|
||
|
#define __SDRAM_H
|
||
|
|
||
|
#define SDRAM_SIZE 0x2000000 /* 256Mbit = 32MB */
|
||
|
|
||
|
#define SDRAM_BASE 0x28000000 /*CS0*/
|
||
|
|
||
|
extern uint32_t sdram_init(void);
|
||
|
extern uint32_t sdram_test(void);
|
||
|
|
||
|
#endif /* end __SDRAM_H */
|
||
|
/****************************************************************************
|
||
|
** End Of File
|
||
|
*****************************************************************************/
|