From: Jaehoon Chung Date: Mon, 4 Dec 2017 10:58:21 +0000 (+0900) Subject: artik530: modify how to read the boot device X-Git-Tag: submit/tizen/20190213.074817~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21417d773f12b4dce1c507b0b5901fab6b50b233;p=profile%2Fcommon%2Fplatform%2Fkernel%2Fu-boot-artik7.git artik530: modify how to read the boot device It's changed the reading boot device. - Refer to below: commit 6d2fdb585eb2 "board: artik530_ratpor: modify read boot device" Change-Id: I1148ce2bc7b8498f2c9672697ddb36193da6cb60 Signed-off-by: Jaehoon Chung --- diff --git a/board/nexell/s5p4418/artik530_raptor/board.c b/board/nexell/s5p4418/artik530_raptor/board.c index 2fd0e11488..a121c6317f 100644 --- a/board/nexell/s5p4418/artik530_raptor/board.c +++ b/board/nexell/s5p4418/artik530_raptor/board.c @@ -215,7 +215,7 @@ static void set_booting_device(void) int boot_mode = readl(PHY_BASEADDR_CLKPWR + SYSRSTCONFIG); if ((boot_mode & BOOTMODE_MASK) == BOOTMODE_SDMMC) { - port_num = readl(PHY_BASEADDR_SRAM + DEVICEBOOTINFO); + port_num = readl(SCR_ARM_SECOND_BOOT_REG1); /* * Kernel will be detected as the below block devices. * mmcblk0 - eMMC card