Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- u32 calc_SDRAM_ADDRESS()
- {
- if (IS_CLR(REG32(LF1000_MCU_S_BASE + NFCONTROL), NFBOOTENB)){
- // serio_puts("Nor Boot \n");
- /* NOR BOOT, shadow disabled */
- return(0x80000000); /* TODO: remove hardcoded values */
- }
- else{
- // serio_puts("Nand Boot \n");
- /* NAND BOOT, shadow enabled */
- return(0x00000000); /* TODO: remove hardcoded values */
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement