Home
last modified time | relevance | path

Searched refs:AST_SDMC_PROTECT (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/arch/arm/mach-aspeed/ast2400/
H A Dboard_common.c20 #define AST_SDMC_PROTECT 0x00 macro
55 sdmc_unlocked = readl(ASPEED_SDRAM_CTRL + AST_SDMC_PROTECT); in isolate_bmc()
57 writel(SDRAM_UNLOCK_KEY, ASPEED_SDRAM_CTRL + AST_SDMC_PROTECT); in isolate_bmc()
69 writel(~SDRAM_UNLOCK_KEY, ASPEED_SDRAM_CTRL + AST_SDMC_PROTECT); in isolate_bmc()
/openbmc/u-boot/arch/arm/mach-aspeed/ast2500/
H A Dboard_common.c24 # define AST_SDMC_PROTECT 0x00 macro
65 sdmc_unlocked = readl(ASPEED_SDRAM_CTRL + AST_SDMC_PROTECT); in isolate_bmc()
67 writel(SDRAM_UNLOCK_KEY, ASPEED_SDRAM_CTRL + AST_SDMC_PROTECT); in isolate_bmc()
79 writel(~SDRAM_UNLOCK_KEY, ASPEED_SDRAM_CTRL + AST_SDMC_PROTECT); in isolate_bmc()
/openbmc/openbmc/meta-phosphor/dynamic-layers/aspeed-layer/recipes-bsp/u-boot/files/
H A D0001-aspeed-Disable-unnecessary-features.patch109 #define AST_SDMC_PROTECT 0x00 /* protection key register */
113 /* AST_SDMC_PROTECT: 0x00 - protection key register */
180 + sdmc_unlocked = readl(AST_SDMC_BASE + AST_SDMC_PROTECT);
182 + writel(SDMC_PROTECT_UNLOCK, AST_SDMC_BASE + AST_SDMC_PROTECT);
194 + writel(~SDMC_PROTECT_UNLOCK, AST_SDMC_BASE + AST_SDMC_PROTECT);
254 + sdmc_unlocked = readl(AST_SDMC_BASE + AST_SDMC_PROTECT);
256 + writel(SDMC_PROTECT_UNLOCK, AST_SDMC_BASE + AST_SDMC_PROTECT);
268 + writel(~SDMC_PROTECT_UNLOCK, AST_SDMC_BASE + AST_SDMC_PROTECT);