
/*
 * A simple program that demonstrates executing NAPA code
 * start in ROM, jump to this program in SRAM - setup TTB entries (for SRAM and NAPA),
 * enables I+D cache, enables MMU and then jump to NAPA.
 * NAPA code mapped at 0x00012500
 *
 */

#include "mmu.h"
#include "proto.h"

extern void initChip();

void
_user_start (void)
{

    initChip();

    // NAPA VA=PA sections

    asm ("ldr sp, =0x00016500");
    asm ("ldr pc, =0x00012000");
}

/* eof */
