Skip to content

arm_reset(void) should not be in arm_common/arm_cpu.c #74

@thomaseichinger

Description

@thomaseichinger

The following arm_reset() code is not valid for the mc1322x so it should be moved or guarded

__attribute__((naked, noreturn)) void arm_reset(void)
{
    dINT();
    WDTC   = 0x00FFF;
    WDMOD  = 0x03;
    WDFEED = 0xAA;
    WDFEED = 0x55;

    while (1);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions