util_libs icon indicating copy to clipboard operation
util_libs copied to clipboard

libplatsupport: separate drivers from platforms

Open axel-h opened this issue 2 years ago • 2 comments
trafficstars

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

axel-h avatar May 08 '23 01:05 axel-h

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.

kent-mcleod avatar May 08 '23 21:05 kent-mcleod

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

axel-h avatar May 08 '23 22:05 axel-h