summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx/v2020.1/microblaze-kc705-Convert-microblaze-generic-to-k.patch34
1 files changed, 19 insertions, 15 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx/v2020.1/microblaze-kc705-Convert-microblaze-generic-to-k.patch b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx/v2020.1/microblaze-kc705-Convert-microblaze-generic-to-k.patch
index 7e25f87c..e6190acd 100644
--- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx/v2020.1/microblaze-kc705-Convert-microblaze-generic-to-k.patch
+++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx/v2020.1/microblaze-kc705-Convert-microblaze-generic-to-k.patch
@@ -1,6 +1,6 @@
1From afe880f500cff7a9486379c5ad7a4f3379015a62 Mon Sep 17 00:00:00 2001 1From 31883c29633e632a70361b49de40cc71d7287041 Mon Sep 17 00:00:00 2001
2From: Jaewon Lee <jaewon.lee@xilinx.com> 2From: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
3Date: Mon, 14 Jan 2019 11:30:56 -0800 3Date: Thu, 19 Dec 2019 20:09:37 -0800
4Subject: [PATCH] kc705-microblazeel: Convert microblaze-generic to 4Subject: [PATCH] kc705-microblazeel: Convert microblaze-generic to
5 kc705-microblazeel 5 kc705-microblazeel
6 6
@@ -17,9 +17,9 @@ Upstream-Status: Not-Upstreamable [meta-xilinx/kc705 specific]
17--- 17---
18 arch/microblaze/dts/microblaze-generic.dts | 590 ++++++++++++++++++++++++++++- 18 arch/microblaze/dts/microblaze-generic.dts | 590 ++++++++++++++++++++++++++++-
19 board/xilinx/microblaze-generic/config.mk | 28 +- 19 board/xilinx/microblaze-generic/config.mk | 28 +-
20 configs/microblaze-generic_defconfig | 75 ++-- 20 configs/microblaze-generic_defconfig | 77 ++--
21 include/configs/microblaze-generic.h | 348 ++++++++--------- 21 include/configs/microblaze-generic.h | 350 ++++++++---------
22 4 files changed, 782 insertions(+), 259 deletions(-) 22 4 files changed, 782 insertions(+), 263 deletions(-)
23 23
24diff --git a/arch/microblaze/dts/microblaze-generic.dts b/arch/microblaze/dts/microblaze-generic.dts 24diff --git a/arch/microblaze/dts/microblaze-generic.dts b/arch/microblaze/dts/microblaze-generic.dts
25index 08a1396..f8e616b 100644 25index 08a1396..f8e616b 100644
@@ -620,7 +620,7 @@ index 08a1396..f8e616b 100644
620+}; 620+};
621+ 621+
622diff --git a/board/xilinx/microblaze-generic/config.mk b/board/xilinx/microblaze-generic/config.mk 622diff --git a/board/xilinx/microblaze-generic/config.mk b/board/xilinx/microblaze-generic/config.mk
623index a953977..cb75fde 100644 623index a953977..0a0414a 100644
624--- a/board/xilinx/microblaze-generic/config.mk 624--- a/board/xilinx/microblaze-generic/config.mk
625+++ b/board/xilinx/microblaze-generic/config.mk 625+++ b/board/xilinx/microblaze-generic/config.mk
626@@ -1,18 +1,10 @@ 626@@ -1,18 +1,10 @@
@@ -653,10 +653,10 @@ index a953977..cb75fde 100644
653+PLATFORM_CPPFLAGS += -mcpu=v11.0 653+PLATFORM_CPPFLAGS += -mcpu=v11.0
654+PLATFORM_CPPFLAGS += -fgnu89-inline 654+PLATFORM_CPPFLAGS += -fgnu89-inline
655diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig 655diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig
656index 02e62e2..8d64be4 100644 656index b88ce55..8d64be4 100644
657--- a/configs/microblaze-generic_defconfig 657--- a/configs/microblaze-generic_defconfig
658+++ b/configs/microblaze-generic_defconfig 658+++ b/configs/microblaze-generic_defconfig
659@@ -1,73 +1,58 @@ 659@@ -1,75 +1,58 @@
660 CONFIG_MICROBLAZE=y 660 CONFIG_MICROBLAZE=y
661-CONFIG_SYS_TEXT_BASE=0x29000000 661-CONFIG_SYS_TEXT_BASE=0x29000000
662 CONFIG_SPL_LIBCOMMON_SUPPORT=y 662 CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -703,10 +703,12 @@ index 02e62e2..8d64be4 100644
703+CONFIG_CMD_NFS=y 703+CONFIG_CMD_NFS=y
704 CONFIG_CMD_MII=y 704 CONFIG_CMD_MII=y
705 CONFIG_CMD_PING=y 705 CONFIG_CMD_PING=y
706-CONFIG_CMD_CACHE=y
706 CONFIG_CMD_JFFS2=y 707 CONFIG_CMD_JFFS2=y
707-CONFIG_SPL_OF_CONTROL=y 708-CONFIG_SPL_OF_CONTROL=y
708 CONFIG_OF_EMBED=y 709 CONFIG_OF_EMBED=y
709-CONFIG_DEFAULT_DEVICE_TREE="microblaze-generic" 710-CONFIG_DEFAULT_DEVICE_TREE="microblaze-generic"
711-CONFIG_NET_RANDOM_ETHADDR=y
710-CONFIG_NETCONSOLE=y 712-CONFIG_NETCONSOLE=y
711-CONFIG_SPL_DM=y 713-CONFIG_SPL_DM=y
712+CONFIG_DM_ETH=y 714+CONFIG_DM_ETH=y
@@ -761,10 +763,10 @@ index 02e62e2..8d64be4 100644
761+# CONFIG_BOOTARGS is not set 763+# CONFIG_BOOTARGS is not set
762+# CONFIG_USE_BOOTARGS is not set 764+# CONFIG_USE_BOOTARGS is not set
763diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h 765diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
764index ba0952c..fd1da2b 100644 766index 4d7baa7..fd1da2b 100644
765--- a/include/configs/microblaze-generic.h 767--- a/include/configs/microblaze-generic.h
766+++ b/include/configs/microblaze-generic.h 768+++ b/include/configs/microblaze-generic.h
767@@ -1,205 +1,173 @@ 769@@ -1,207 +1,173 @@
768-/* SPDX-License-Identifier: GPL-2.0+ */ 770-/* SPDX-License-Identifier: GPL-2.0+ */
769-/* 771-/*
770- * (C) Copyright 2007-2010 Michal Simek 772- * (C) Copyright 2007-2010 Michal Simek
@@ -780,6 +782,8 @@ index ba0952c..fd1da2b 100644
780-/* MicroBlaze CPU */ 782-/* MicroBlaze CPU */
781-#define MICROBLAZE_V5 1 783-#define MICROBLAZE_V5 1
782- 784-
785-#define CONFIG_SYS_BOOTM_LEN (64 * 1024 * 1024)
786-
783-/* linear and spi flash memory */ 787-/* linear and spi flash memory */
784-#ifdef XILINX_FLASH_START 788-#ifdef XILINX_FLASH_START
785-#define FLASH 789-#define FLASH
@@ -959,6 +963,9 @@ index ba0952c..fd1da2b 100644
959-#endif /* !SPIFLASH */ 963-#endif /* !SPIFLASH */
960-#endif /* !FLASH */ 964-#endif /* !FLASH */
961- 965-
966-#define XILINX_USE_ICACHE 1
967-#define XILINX_USE_DCACHE 1
968-
962-#if defined(XILINX_USE_ICACHE) 969-#if defined(XILINX_USE_ICACHE)
963-# define CONFIG_ICACHE 970-# define CONFIG_ICACHE
964-#else 971-#else
@@ -1026,9 +1033,6 @@ index ba0952c..fd1da2b 100644
1026- "serial=setenv stdout serial;"\ 1033- "serial=setenv stdout serial;"\
1027- "setenv stdin serial\0" 1034- "setenv stdin serial\0"
1028-#endif 1035-#endif
1029-
1030-/* Enable flat device tree support */
1031-#define CONFIG_LMB 1
1032+#define CONFIG_SYS_USR_EXCEP /* user exception */ 1036+#define CONFIG_SYS_USR_EXCEP /* user exception */
1033+#define CONFIG_SYS_HZ 1000 1037+#define CONFIG_SYS_HZ 1000
1034+ 1038+
@@ -1129,5 +1133,5 @@ index ba0952c..fd1da2b 100644
1129- 1133-
1130-#endif /* __CONFIG_H */ 1134-#endif /* __CONFIG_H */
1131-- 1135--
11322.7.5 11362.7.4
1133 1137