From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sean Anderson Date: Fri, 5 Mar 2021 09:57:12 -0500 Subject: [PATCH 2/5] sysinfo: Provide some global/default IDs In-Reply-To: References: <20210301204603.2730666-1-sean.anderson@seco.com> <20210301204603.2730666-3-sean.anderson@seco.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 3/4/21 11:08 PM, Simon Glass wrote: > Hi Sean, > > On Mon, 1 Mar 2021 at 15:46, Sean Anderson wrote: >> >> This adds an ID for a board revision. Existing IDs have been moved above >> SYSINFO_ID_END to allow for future expansion. >> >> Signed-off-by: Sean Anderson >> --- >> >> drivers/sysinfo/gazerbeam.h | 10 +++++----- >> drivers/sysinfo/sandbox.h | 10 ++++------ >> include/sysinfo.h | 13 +++++++++++++ >> 3 files changed, 22 insertions(+), 11 deletions(-) > > Can we keep the enums? They are easier to maintain that #define and > the debugger understands them. Yes, I will change that for v2. --Sean > > Regards, > Simon >