From 0a9d7cab6d76d1203d46e51140ad97d0b5cace56 Mon Sep 17 00:00:00 2001
From: David Brownell <dbrownell@users.sourceforge.net>
Date: Sat, 12 Dec 2009 15:43:02 -0800
Subject: LPC2000: rename "r13_svc" as "sp_svc"

This driver didn't get updated when the name changed.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
---
 src/flash/nor/lpc2000.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/flash/nor')

diff --git a/src/flash/nor/lpc2000.c b/src/flash/nor/lpc2000.c
index 18896f7b..ae0a384b 100644
--- a/src/flash/nor/lpc2000.c
+++ b/src/flash/nor/lpc2000.c
@@ -343,7 +343,7 @@ static int lpc2000_iap_call(struct flash_bank *bank, int code, uint32_t param_ta
 		case lpc2000_v1:
 		case lpc2000_v2:
 			/* IAP stack */
-			init_reg_param(&reg_params[3], "r13_svc", 32, PARAM_OUT);
+			init_reg_param(&reg_params[3], "sp_svc", 32, PARAM_OUT);
 			buf_set_u32(reg_params[3].value, 0, 32, lpc2000_info->iap_working_area->address + 0xb4);
 
 			/* return address */
-- 
cgit v1.2.3