summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-11-04 18:00:38 +0300
committerMichal Simek <michal.simek@xilinx.com>2020-11-20 12:42:53 +0300
commit6c5828dc4bdae40697f162645b76fe815bf548b3 (patch)
tree24f1f59272204c58f604699d644c2f1073c0a400 /include
parent7556fa09e0ec52a27e05206ada4aa5685e01f3c1 (diff)
downloadu-boot-6c5828dc4bdae40697f162645b76fe815bf548b3.tar.xz
microblaze: Get rid of xparameters.h
There is no need to use this file anymore. Include it in main config file and simplify logic based on it. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/microblaze-generic.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 05ea64b163..2cfcace7b0 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -8,7 +8,12 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#include "../board/xilinx/microblaze-generic/xparameters.h"
+/* Microblaze is microblaze_0 */
+#define XILINX_FSL_NUMBER 3
+
+/* Flash Memory is FLASH_2Mx32 */
+#define XILINX_FLASH_START 0x2c000000
+#define XILINX_FLASH_SIZE 0x00800000
/* MicroBlaze CPU */
#define MICROBLAZE_V5 1