From: Lothar Waßmann Date: Fri, 8 Aug 2014 12:40:50 +0000 (+0200) Subject: karo: tx51: use .error asm instruction to print error message if DCD is too large X-Git-Tag: KARO-TX51-2014-08-08~4 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=b1e6c92bd4846148bc9e8b34a6a45b5e0d959b50 karo: tx51: use .error asm instruction to print error message if DCD is too large --- diff --git a/board/karo/tx51/lowlevel_init.S b/board/karo/tx51/lowlevel_init.S index 9038b3a84f..af0f601708 100644 --- a/board/karo/tx51/lowlevel_init.S +++ b/board/karo/tx51/lowlevel_init.S @@ -192,8 +192,8 @@ dcd_start: DCDGEN(4, IOMUXC_BASE_ADDR + 0x574, 0x20a4) @ NANDF_D1 DCDGEN(4, IOMUXC_BASE_ADDR + 0x578, 0x20a4) @ NANDF_D0 dcd_end: - .ifgt dcd_end - dcd_start - 720 - DCD too large! + .ifgt dcd_end - dcd_start - 60 * 12 + .error "DCD too large!" .endif image_len: .long CONFIG_U_BOOT_IMG_SIZE