From: Wolfgang Denk Date: Mon, 09 Sep 2013 16:06:29 +0200 Subject: [U-Boot] [PATCH] config: consolidate CONFIG_SYS_HZ definition In-Reply-To: <1378670088-17602-1-git-send-email-robherring2@gmail.com> References: <1378670088-17602-1-git-send-email-robherring2@gmail.com> Message-ID: <20130909140629.4614D380DE2@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Rob Herring, In message <1378670088-17602-1-git-send-email-robherring2@gmail.com> you wrote: > ... > diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h > index e59ee96..4c25289 100644 > --- a/include/config_fallbacks.h > +++ b/include/config_fallbacks.h > @@ -53,4 +53,8 @@ > #define HAVE_BLOCK_DEVICE > #endif > > +#ifndef CONFIG_SYS_HZ > +#define CONFIG_SYS_HZ 1000 > +#endif This should be not a fallback (i. e. default value) which can be silently overwritten - this should be a mandatory definition that causes build errors if somebody tries to define a different value. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Steal five dollars and you were a petty thief. Steal thousands of dollars and you are either a government or a hero. - Terry Pratchett, _Going_Postal_