Skip to content
Snippets Groups Projects
Commit 40587701 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: force all boards to HZ of 1000


Since the Blackfin timer code requires HZ to be 1000, barf on any board
that tries to use a different value.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent f4032d2e
No related branches found
No related tags found
No related merge requests found
......@@ -135,9 +135,13 @@
#ifndef CONFIG_SYS_MAXARGS
# define CONFIG_SYS_MAXARGS 16
#endif
#ifndef CONFIG_SYS_HZ
# define CONFIG_SYS_HZ 1000
#if defined(CONFIG_SYS_HZ)
# if (CONFIG_SYS_HZ != 1000)
# warning "CONFIG_SYS_HZ must always be 1000"
# endif
# undef CONFIG_SYS_HZ
#endif
#define CONFIG_SYS_HZ 1000
#ifndef CONFIG_SYS_BAUDRATE_TABLE
# define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment