Skip to content

Minor refactor of early init - #547

Merged
crawfxrd merged 2 commits into
masterfrom
dev/refactor-early-init
Sep 22, 2026
Merged

crawfxrd merged 2 commits into
masterfrom
dev/refactor-early-init

Conversation

@crawfxrd

@crawfxrd crawfxrd commented Dec 9, 2025

Copy link
Copy Markdown
Member

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,ECPM
    • These are ITE system block; other SoCs may not have something called "GCTRL"/"ECPM"

@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
@crawfxrd
crawfxrd force-pushed the dev/refactor-early-init branch from af11194 to 1ddbfac Compare December 16, 2025 20:49
@crawfxrd
crawfxrd force-pushed the dev/refactor-early-init branch from 1ddbfac to 9ac7132 Compare January 7, 2026 20:14
@crawfxrd
crawfxrd force-pushed the dev/refactor-early-init branch from 9ac7132 to 90afad8 Compare January 16, 2026 21:14
jackpot51
jackpot51 previously approved these changes Jan 16, 2026
Since the architecture is very much SoC-specific, have it perform any
needed configurations.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
GCTRL and ECPM are ITE system blocks. Move them out of common code.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
@crawfxrd
crawfxrd force-pushed the dev/refactor-early-init branch from 9937c3a to 9d1902d Compare September 22, 2026 00:34

@leviport leviport left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on darp10-b, didn't see any issues.

@crawfxrd
crawfxrd merged commit 5782570 into master Sep 22, 2026
49 checks passed
@crawfxrd
crawfxrd deleted the dev/refactor-early-init branch September 22, 2026 20:25
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.

3 participants