diff options
author | Jens Kuske <jenskuske@gmail.com> | 2015-11-17 14:12:59 (GMT) |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-11-22 10:31:00 (GMT) |
commit | 0404d53f2f2024312b108a1b692bf668545b772b (patch) | |
tree | 3627fae25cff99092808ad3e125ecd171b877e44 /arch/arm/include/asm/arch-sunxi/clock_sun6i.h | |
parent | 1c27b7dcd06e605ed042d928665d26edab8429e4 (diff) | |
download | u-boot-fsl-qoriq-0404d53f2f2024312b108a1b692bf668545b772b.tar.xz |
sunxi: Add H3 DRAM initialization support
Based on existing A23/A33 code and the original H3 boot0.
Signed-off-by: Jens Kuske <jenskuske@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/clock_sun6i.h')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun6i.h b/arch/arm/include/asm/arch-sunxi/clock_sun6i.h index 9b7b90c..584d351 100644 --- a/arch/arm/include/asm/arch-sunxi/clock_sun6i.h +++ b/arch/arm/include/asm/arch-sunxi/clock_sun6i.h @@ -282,6 +282,9 @@ struct sunxi_ccm_reg { #define CCM_DRAMCLK_CFG_DIV_MASK (0xf << 0) #define CCM_DRAMCLK_CFG_DIV0(x) ((x - 1) << 8) #define CCM_DRAMCLK_CFG_DIV0_MASK (0xf << 8) +#define CCM_DRAMCLK_CFG_SRC_PLL5 (0x0 << 20) +#define CCM_DRAMCLK_CFG_SRC_PLL6x2 (0x1 << 20) +#define CCM_DRAMCLK_CFG_SRC_MASK (0x3 << 20) #define CCM_DRAMCLK_CFG_UPD (0x1 << 16) #define CCM_DRAMCLK_CFG_RST (0x1 << 31) |