Skip to content

Commit

Permalink
Merge pull request #3 from wpd/patches
Browse files Browse the repository at this point in the history
Allow board to override SYS_TEXT_BASE and SYS_AT91_MAIN_CLOCK
  • Loading branch information
JoshWu committed Oct 23, 2015
2 parents 1806ce0 + 1c61d86 commit a9a6808
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/configs/at91-sama5_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@

#include <asm/hardware.h>

#ifndef CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_TEXT_BASE 0x26f00000
#endif

/* ARM asynchronous clock */
#define CONFIG_SYS_AT91_SLOW_CLOCK 32768
#ifndef CONFIG_SYS_AT91_MAIN_CLOCK
#define CONFIG_SYS_AT91_MAIN_CLOCK 12000000 /* from 12 MHz crystal */
#endif

#define CONFIG_ARCH_CPU_INIT

Expand Down

0 comments on commit a9a6808

Please sign in to comment.