- [RFC] Provide a generic interface for getting the SOC ID and version
Re: [RFC] Provide a generic interface for getting the SOC ID and version
toggle quoted messageShow quoted text
From: Boie, Andrew P
Sent: Friday, July 15, 2016 10:56 AM
To: Liu, Baohong <baohong.liu(a)intel.com>; devel(a)lists.zephyrproject.org
Subject: RE: [RFC] Provide a generic interface for getting the SOC ID and
Good questions. My understanding the main idea is the scalability onScalability across HW with the same binary is not one of Zephyr's goals. We
reading these information from registers at run time vs. hardcoding them
at build time.
really try to do everything at build time to make the OS as small and fast as
possible. This is why dynamic interrupts were removed, for example.
So given a choice between doing something at runtime or coding it at build
time, to date the preference has been for the latter.
Actually that's not what this API meant to achieve. Some confusion in the text;
the purpose is to provide a generic API for retrieving this information. How the information
is obtained is implementation detail and in fact, As much possible should be build time
decided as you pointe it out.
Join firstname.lastname@example.org to automatically receive all group messages.