CK HU has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/44433 )
Change subject: soc/mediatek/mt8192: Initialize mmu in bootblock ......................................................................
soc/mediatek/mt8192: Initialize mmu in bootblock
Initialize CPU mmu and config range.
Signed-off-by: CK Hu ck.hu@mediatek.com Change-Id: I5ba405dab87d51d373704657ccb44c07c7249041 --- M src/soc/mediatek/mt8192/Makefile.inc A src/soc/mediatek/mt8192/bootblock.c 2 files changed, 11 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/33/44433/1
diff --git a/src/soc/mediatek/mt8192/Makefile.inc b/src/soc/mediatek/mt8192/Makefile.inc index b0faf62..0ba9feb 100644 --- a/src/soc/mediatek/mt8192/Makefile.inc +++ b/src/soc/mediatek/mt8192/Makefile.inc @@ -1,6 +1,8 @@ ifeq ($(CONFIG_SOC_MEDIATEK_MT8192),y)
+bootblock-y += bootblock.c bootblock-y += ../common/gpio.c gpio.c +bootblock-y += ../common/mmu_operations.c bootblock-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c bootblock-y += ../common/timer.c bootblock-y += ../common/uart.c diff --git a/src/soc/mediatek/mt8192/bootblock.c b/src/soc/mediatek/mt8192/bootblock.c new file mode 100755 index 0000000..f48e78c --- /dev/null +++ b/src/soc/mediatek/mt8192/bootblock.c @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <bootblock_common.h> +#include <soc/mmu_operations.h> + +void bootblock_soc_init(void) +{ + mtk_mmu_init(); +}
Hung-Te Lin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44433 )
Change subject: soc/mediatek/mt8192: Initialize mmu in bootblock ......................................................................
Patch Set 1:
File src/soc/mediatek/mt8192/bootblock.c has one or more executable bits set in the file permissions.
Hello Hung-Te Lin, build bot (Jenkins), Patrick Georgi, Martin Roth, Julius Werner, Yu-Ping Wu,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/44433
to look at the new patch set (#2).
Change subject: soc/mediatek/mt8192: Initialize mmu in bootblock ......................................................................
soc/mediatek/mt8192: Initialize mmu in bootblock
Initialize CPU mmu and config range.
Signed-off-by: CK Hu ck.hu@mediatek.com Change-Id: I5ba405dab87d51d373704657ccb44c07c7249041 --- M src/soc/mediatek/mt8192/Makefile.inc A src/soc/mediatek/mt8192/bootblock.c 2 files changed, 11 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/33/44433/2
CK HU has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44433 )
Change subject: soc/mediatek/mt8192: Initialize mmu in bootblock ......................................................................
Patch Set 2:
Patch Set 1:
File src/soc/mediatek/mt8192/bootblock.c has one or more executable bits set in the file permissions.
Done
Hung-Te Lin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44433 )
Change subject: soc/mediatek/mt8192: Initialize mmu in bootblock ......................................................................
Patch Set 2: Code-Review+1
wait for builder &patch check results
Hung-Te Lin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/44433 )
Change subject: soc/mediatek/mt8192: Initialize mmu in bootblock ......................................................................
Patch Set 2: Code-Review+2
Hung-Te Lin has submitted this change. ( https://review.coreboot.org/c/coreboot/+/44433 )
Change subject: soc/mediatek/mt8192: Initialize mmu in bootblock ......................................................................
soc/mediatek/mt8192: Initialize mmu in bootblock
Initialize CPU mmu and config range.
Signed-off-by: CK Hu ck.hu@mediatek.com Change-Id: I5ba405dab87d51d373704657ccb44c07c7249041 Reviewed-on: https://review.coreboot.org/c/coreboot/+/44433 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Hung-Te Lin hungte@chromium.org --- M src/soc/mediatek/mt8192/Makefile.inc A src/soc/mediatek/mt8192/bootblock.c 2 files changed, 11 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Hung-Te Lin: Looks good to me, approved
diff --git a/src/soc/mediatek/mt8192/Makefile.inc b/src/soc/mediatek/mt8192/Makefile.inc index b0faf62..0ba9feb 100644 --- a/src/soc/mediatek/mt8192/Makefile.inc +++ b/src/soc/mediatek/mt8192/Makefile.inc @@ -1,6 +1,8 @@ ifeq ($(CONFIG_SOC_MEDIATEK_MT8192),y)
+bootblock-y += bootblock.c bootblock-y += ../common/gpio.c gpio.c +bootblock-y += ../common/mmu_operations.c bootblock-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c bootblock-y += ../common/timer.c bootblock-y += ../common/uart.c diff --git a/src/soc/mediatek/mt8192/bootblock.c b/src/soc/mediatek/mt8192/bootblock.c new file mode 100644 index 0000000..f48e78c --- /dev/null +++ b/src/soc/mediatek/mt8192/bootblock.c @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <bootblock_common.h> +#include <soc/mmu_operations.h> + +void bootblock_soc_init(void) +{ + mtk_mmu_init(); +}