artik530: modify how to read the boot device
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 4 Dec 2017 10:58:21 +0000 (19:58 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 21 Jan 2019 07:08:00 +0000 (16:08 +0900)
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 <jh80.chung@samsung.com>
board/nexell/s5p4418/artik530_raptor/board.c

index 2fd0e1148852bf573e0f10f9285dd99faea56e08..a121c6317f6d58c18a565af1c0be7ff36c095234 100644 (file)
@@ -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