Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libplatsupport: separate drivers from platforms #157

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

axel-h
Copy link
Member

@axel-h axel-h commented May 8, 2023

Many platform use the same peripherals, so code duplication can be avoided if we provide generic drivers.

@axel-h axel-h added enhancement hw-build all sel4test hardware builds hw-test sel4test hardware builds + runs labels May 8, 2023
@axel-h axel-h marked this pull request as draft May 8, 2023 01:19
@kent-mcleod
Copy link
Member

Many platform use the same peripherals, so code duplication can be avoided if we provide generic drivers.

The original thought was to use a similar strategy as the kernel does for querying a platform device tree and a configuration file for what compatibility strings to match on and then pulling in source files based on these match strings.

@axel-h
Copy link
Member Author

axel-h commented May 8, 2023

So, I'd say this PR is a step into that direction then?

@axel-h axel-h force-pushed the patch-axel-6 branch 6 times, most recently from ccdeacf to 9386bf9 Compare May 9, 2023 16:05
@axel-h axel-h force-pushed the patch-axel-6 branch 2 times, most recently from 3a59b10 to e6425fe Compare May 23, 2023 09:38
@axel-h axel-h marked this pull request as ready for review January 11, 2024 15:40
@axel-h axel-h force-pushed the patch-axel-6 branch 3 times, most recently from 4ea387a to 35ec9c7 Compare January 11, 2024 16:27
@axel-h axel-h marked this pull request as draft January 11, 2024 17:42
@axel-h axel-h force-pushed the patch-axel-6 branch 4 times, most recently from 1509027 to 3549932 Compare January 11, 2024 18:10
@axel-h axel-h force-pushed the patch-axel-6 branch 5 times, most recently from 6e1c59d to 0c84064 Compare January 12, 2024 12:06
@axel-h axel-h marked this pull request as ready for review January 12, 2024 12:08
@axel-h axel-h removed the hw-test sel4test hardware builds + runs label Jan 12, 2024
@axel-h axel-h force-pushed the patch-axel-6 branch 3 times, most recently from 7c2f74a to 5bbb8d1 Compare March 11, 2024 12:56
Axel Heider added 6 commits May 21, 2024 12:52
Fix the bug that LF CR is printed instead of CR LF.

Signed-off-by: Axel Heider <[email protected]>
Separate timer drivers

Signed-off-by: Axel Heider <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement hw-build all sel4test hardware builds
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants