diff mbox

[U-Boot] fsl_sec.h: Fix thinko

Message ID 1425563907-14710-1-git-send-email-trini@konsulko.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Tom Rini March 5, 2015, 1:58 p.m. UTC
In 0200020 we added a number of tests for 'if
defined(CONFIG_SYS_FSL_SEC_LE) && !defined(CONFIG_MX6)' and
accidentally did one as 'ifdef defined...'

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 include/fsl_sec.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini March 5, 2015, 2 p.m. UTC | #1
On Thu, Mar 05, 2015 at 08:58:27AM -0500, Tom Rini wrote:

> In 0200020 we added a number of tests for 'if
> defined(CONFIG_SYS_FSL_SEC_LE) && !defined(CONFIG_MX6)' and
> accidentally did one as 'ifdef defined...'
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/fsl_sec.h b/include/fsl_sec.h
index dbfae68..ebb1ac6 100644
--- a/include/fsl_sec.h
+++ b/include/fsl_sec.h
@@ -180,7 +180,7 @@  struct jr_regs {
  * related information
  */
 struct sg_entry {
-#ifdef defined(CONFIG_SYS_FSL_SEC_LE) && !defined(CONFIG_MX6)
+#if defined(CONFIG_SYS_FSL_SEC_LE) && !defined(CONFIG_MX6)
 	uint32_t addr_lo;	/* Memory Address - lo */
 	uint16_t addr_hi;	/* Memory Address of start of buffer - hi */
 	uint16_t reserved_zero;