- bootloader: read boot image offset from via board provided method

- bootloader_with_flash: fixed apperent bug with GPIO alignmentand masking



git-svn-id: http://moon:8086/svn/mips@134 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2017-01-28 09:56:43 +00:00
parent 6fbd1fbf38
commit 4dbc4695fb
4 changed files with 22 additions and 9 deletions
+5
View File
@@ -55,6 +55,11 @@ char dbg_getchar()
}
#endif
uint32_t getBootOffset(uint32_t sel)
{
return 0x100000 *(1+sel);
}
void board_init(void)
{