]> git.sur5r.net Git - u-boot/blobdiff - arch/sandbox/cpu/state.c
Rename reset to sysreset
[u-boot] / arch / sandbox / cpu / state.c
index d2a7dc9b450f8845811c9575a5731b0557c959c0..2b4dbd341ff3c538cbcc34c100d421a34c2fe8f5 100644 (file)
@@ -360,8 +360,8 @@ int state_init(void)
        assert(state->ram_buf);
 
        /* No reset yet, so mark it as such. Always allow power reset */
-       state->last_reset = RESET_COUNT;
-       state->reset_allowed[RESET_POWER] = true;
+       state->last_sysreset = SYSRESET_COUNT;
+       state->sysreset_allowed[SYSRESET_POWER] = true;
 
        /*
         * Example of how to use GPIOs: