#include <arch/cm3.h>
#include <inttypes.h>
#include <sys/timer.h>
#include <arch/cm3/nxp/lpc177x_8x_clk.h>
#include <arch/cm3/nxp/lpc177x_8x_emc.h>
#include <dev/gpio.h>
#include <dev/sdram.h>
#include <sys/heap.h>
Defines | |
#define | SDRAM_BASE_ADDR 0xA0000000 |
#define | SDRAM_SIZE 0x04000000 |
Functions | |
void | NutBoardInit (void) |
Early KSK LPC1788 SK hardware initialization. Especialy SD-RAM. | |
void | NutIdleInit (void) |
Extended system initialisation. Add sdram memory to the available memory. |
#define SDRAM_BASE_ADDR 0xA0000000 |
#define SDRAM_SIZE 0x04000000 |
void NutBoardInit | ( | void | ) |
Early KSK LPC1788 SK hardware initialization. Especialy SD-RAM.
Early AT91SAM7X-EK hardware initialization.
This routine is called during system initalization.
References GPIO_CFG_PERIPHERAL1, GPIO_CFG_REPEATER, GpioPinConfigSet(), Lpc177x_8x_EmcInit(), Lpc177x_8x_EmcSDRAMInit(), NUTGPIO_PORT2, NUTGPIO_PORT3, and NUTGPIO_PORT4.
void NutIdleInit | ( | void | ) |
Extended system initialisation. Add sdram memory to the available memory.
Late Gameboy Advance hardware initialization.
This routine is called during system initialisation right before the idle thread is created. We will use it to add the SDRAM memory space to out heap.
References _sdram_params::base_addr, Lpc177x_8x_EmcSDRAMCheck(), NULL, NutHeapAdd, NutTimerStart(), and _sdram_params::size.