diff options
author | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2017-11-17 09:21:59 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-11-17 14:13:40 +0100 |
commit | d00a7d1c22fd6e9965ef22c77aaf3be1b418e694 (patch) | |
tree | a15b5add00ae50b197ebdffdf2c4d02188236c4c /c/src/lib/libbsp/arm/atsam/README | |
parent | bsp/atsam: Make clock application configurable. (diff) | |
download | rtems-d00a7d1c22fd6e9965ef22c77aaf3be1b418e694.tar.bz2 |
bsp/atsam: Move clock and SDRAM init to SRAM.
If necessary, the BSP can now have it's clock and SDRAM initialization
in the SRAM instead of the SDRAM. This allows to change the clock
frequency during the startup of an SDRAM application.
Diffstat (limited to 'c/src/lib/libbsp/arm/atsam/README')
-rw-r--r-- | c/src/lib/libbsp/arm/atsam/README | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/arm/atsam/README b/c/src/lib/libbsp/arm/atsam/README index e21e7ee405..c374e861c3 100644 --- a/c/src/lib/libbsp/arm/atsam/README +++ b/c/src/lib/libbsp/arm/atsam/README @@ -22,8 +22,11 @@ Use ATSAM_MCK=XYZ to set the MCK frequency that should be used. The default case evaluation kit. Some other configurations (e.g. 150MHz) would be too fast on that board. -Your application can also overwrite the clock settings. To overwrite the clock -settings, define the following structures in your application: +Your application can also overwrite the clock settings. If you have a +bootloader with one setting in your internal flash and an application with +another setting in your external SDRAM, you should also use the +ATSAM_CHANGE_CLOCK_FROM_SRAM=1 option. To overwrite the clock settings, define +the following structures in your application: -------- const struct atsam_clock_config atsam_clock_config = { |