  /*
   * This needs to be defined for the OHCI code to work but it is defined as
   * ATMEL_ID_UHPHS in the CPU specific header files.
-@@ -35,6 +41,15 @@
+@@ -33,6 +39,15 @@
  	(CONFIG_SYS_SDRAM_BASE + 16 * 1024 - GENERATED_GBL_DATA_SIZE)
  #endif
  

--- a/include/configs/sama5d3_xplained.h
+++ b/include/configs/sama5d3_xplained.h
@@ -4,6 +4,8 @@
  * Copyright (C) 2014 Atmel Corporation
  *		      Bo Shen <voice.shen@atmel.com>
  *
+ * Modified for the THOR NX-T1 board 2016-08-01 by Roy Schneider.
+ *
  * SPDX-License-Identifier:	GPL-2.0+
  */
 
@@ -12,6 +14,10 @@
 
 #include "at91-sama5_common.h"
 

+#define CONFIG_SYS_WHITE_ON_BLACK
+
 /* NAND flash */
 #ifdef CONFIG_CMD_NAND
 #define CONFIG_SYS_MAX_NAND_DEVICE	1
@@ -75,7 +90,8 @@
 #define CONFIG_SPL_NAND_DRIVERS
 #define CONFIG_SPL_NAND_BASE
 #endif
-#define CONFIG_SYS_NAND_U_BOOT_OFFS	0x40000
+#define CONFIG_SYS_NAND_U_BOOT_OFFS	0x20000
+#define CONFIG_SYS_NAND_U_BOOT_SIZE	0xA0000
