Commit 50e5f371 authored by Alexander Potashev's avatar Alexander Potashev

RT77788. k70-som, twr-k70f120m: Fix typos in names of definitions (cosmetic)

parent 6aa5a983
......@@ -109,9 +109,9 @@ struct kinetis_ddr_regs {
/*
* DDR Control Register 8 (DDR_CR08)
*/
#define KINETIS_DDR_CR07_TDAL_BITS 24
#define KINETIS_DDR_CR07_TWR_BITS 16
#define KINETIS_DDR_CR07_TRASDI_BITS 8
#define KINETIS_DDR_CR08_TDAL_BITS 24
#define KINETIS_DDR_CR08_TWR_BITS 16
#define KINETIS_DDR_CR08_TRASDI_BITS 8
#define KINETIS_DDR_CR08_TRAS_MSK (1 << 0)
/*
* DDR Control Register 9 (DDR_CR09)
......@@ -671,9 +671,9 @@ int dram_init(void)
(KINETIS_DDR_TCKESR << KINETIS_DDR_CR07_TCKESR_BITS) |
(KINETIS_DDR_CLKPW << KINETIS_DDR_CR07_CLKPW_BITS);
KINETIS_DDR->cr[8] =
(KINETIS_DDR_TDAL << KINETIS_DDR_CR07_TDAL_BITS) |
(KINETIS_DDR_TWR << KINETIS_DDR_CR07_TWR_BITS) |
(KINETIS_DDR_TRASDI << KINETIS_DDR_CR07_TRASDI_BITS);
(KINETIS_DDR_TDAL << KINETIS_DDR_CR08_TDAL_BITS) |
(KINETIS_DDR_TWR << KINETIS_DDR_CR08_TWR_BITS) |
(KINETIS_DDR_TRASDI << KINETIS_DDR_CR08_TRASDI_BITS);
KINETIS_DDR->cr[9] =
KINETIS_DDR_CR09_BSTLEN_8W |
(KINETIS_DDR_TDLL << KINETIS_DDR_CR09_TDLL_BITS);
......
......@@ -107,9 +107,9 @@ struct kinetis_ddr_regs {
/*
* DDR Control Register 8 (DDR_CR08)
*/
#define KINETIS_DDR_CR07_TDAL_BITS 24
#define KINETIS_DDR_CR07_TWR_BITS 16
#define KINETIS_DDR_CR07_TRASDI_BITS 8
#define KINETIS_DDR_CR08_TDAL_BITS 24
#define KINETIS_DDR_CR08_TWR_BITS 16
#define KINETIS_DDR_CR08_TRASDI_BITS 8
#define KINETIS_DDR_CR08_TRAS_MSK (1 << 0)
/*
* DDR Control Register 9 (DDR_CR09)
......@@ -700,9 +700,9 @@ int dram_init(void)
(KINETIS_DDR_TCKESR << KINETIS_DDR_CR07_TCKESR_BITS) |
(KINETIS_DDR_CLKPW << KINETIS_DDR_CR07_CLKPW_BITS);
KINETIS_DDR->cr[8] =
(KINETIS_DDR_TDAL << KINETIS_DDR_CR07_TDAL_BITS) |
(KINETIS_DDR_TWR << KINETIS_DDR_CR07_TWR_BITS) |
(KINETIS_DDR_TRASDI << KINETIS_DDR_CR07_TRASDI_BITS) |
(KINETIS_DDR_TDAL << KINETIS_DDR_CR08_TDAL_BITS) |
(KINETIS_DDR_TWR << KINETIS_DDR_CR08_TWR_BITS) |
(KINETIS_DDR_TRASDI << KINETIS_DDR_CR08_TRASDI_BITS) |
KINETIS_DDR_CR08_TRAS_MSK;
KINETIS_DDR->cr[9] =
KINETIS_DDR_CR09_BSTLEN_4W |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment