Sundance SMT365 User Manual
Page 10
Advertising
Version 2.3
Page 10 of 28
SMT365 User Manual
The EMIF settings are set by the boot code so no GEL file is necessary. See TI
documentation for help on creating GEL file.
A GEL file example:
Menuitem "SMT365_Init";
hotmenu SMT365_Reset()
{
GEL_Reset();
SMT365_emif_init();
}
hotmenu SMT365_emif_init()
{
*(int *) 0x01800000 = 0x0001277C; // EMIFA_GCTL
*(int *) 0x01800008 = 0x000000E0; // EMIFA_CE0
*(int *) 0x01800004 = 0x00000030; // EMIFA_CE1
*(int *) 0x01800018 = 0x55227000; // EMIF_SDRAMCTL
*(int *) 0x01800048 = 0x0000001A; // EMIF_CE0_SEC
}
Advertising