Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. u32 calc_SDRAM_ADDRESS()
  2. {
  3. if (IS_CLR(REG32(LF1000_MCU_S_BASE + NFCONTROL), NFBOOTENB)){
  4. // serio_puts("Nor Boot \n");
  5. /* NOR BOOT, shadow disabled */
  6. return(0x80000000); /* TODO: remove hardcoded values */
  7. }
  8. else{
  9. // serio_puts("Nand Boot \n");
  10. /* NAND BOOT, shadow enabled */
  11. return(0x00000000); /* TODO: remove hardcoded values */
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement