Skip to content

Conversation

@crawfxrd
Copy link
Member

@crawfxrd crawfxrd commented Dec 9, 2025

Move early init logic out of app code and into SoC code.

  • Architecture (8051)
    • It initializes Timer 0 as the systick; other SoCs may use a different configuration
  • GCTRL
    • GCTRL is a ITE system block; other SoCs may not have something called "GCTRL"

@crawfxrd crawfxrd requested review from a team December 9, 2025 18:57
@crawfxrd crawfxrd force-pushed the dev/refactor-early-init branch 2 times, most recently from 383bed6 to af11194 Compare December 15, 2025 16:16
@crawfxrd crawfxrd changed the title Refactor early init Minor refactor of early init Dec 16, 2025
Since the architecture is very much SoC-specific, have it perform any
needed configurations.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
GCTRL is an ITE system block. Move it out of common code.

Boards have not needed the header since 1fc832c ("Enable POST codes
in EC init instead of per-board").

Signed-off-by: Tim Crawford <tcrawford@system76.com>
ECPM is an ITE system block. Move it out of common code.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
@crawfxrd crawfxrd force-pushed the dev/refactor-early-init branch from af11194 to 1ddbfac Compare December 16, 2025 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant