PKGBUILDs/alarm/uboot-odroid/0002-odroid-x-support.patch

40 lines
1.1 KiB
Diff
Raw Normal View History

2018-02-13 02:06:38 +00:00
From 3903318b827a5d75830cde1cd7087294257fa298 Mon Sep 17 00:00:00 2001
2015-02-07 04:36:44 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Fri, 6 Feb 2015 05:40:56 -0700
Subject: [PATCH 2/2] odroid-x support
---
board/samsung/odroid/odroid.c | 2 +-
include/configs/odroid.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/samsung/odroid/odroid.c b/board/samsung/odroid/odroid.c
2018-02-13 02:06:38 +00:00
index 0df96c1a3d..3aa8d6c5b5 100644
2015-02-07 04:36:44 +00:00
--- a/board/samsung/odroid/odroid.c
+++ b/board/samsung/odroid/odroid.c
2016-07-19 00:43:40 +00:00
@@ -57,7 +57,7 @@ void set_board_type(void)
2015-02-07 04:36:44 +00:00
const char *get_board_type(void)
{
- const char *board_type[] = {"u3", "x2"};
+ const char *board_type[] = {"u3", "x"};
return board_type[gd->board_type];
}
diff --git a/include/configs/odroid.h b/include/configs/odroid.h
2018-02-13 02:06:38 +00:00
index caa1b03a22..c2ee43f2e1 100644
2015-02-07 04:36:44 +00:00
--- a/include/configs/odroid.h
+++ b/include/configs/odroid.h
2016-12-03 03:00:51 +00:00
@@ -22,7 +22,7 @@
2015-02-07 04:36:44 +00:00
#define CONFIG_MACH_TYPE 4289
-#define CONFIG_NR_DRAM_BANKS 8
+#define CONFIG_NR_DRAM_BANKS 4
#define CONFIG_SYS_SDRAM_BASE 0x40000000
#define SDRAM_BANK_SIZE (256 << 20) /* 256 MB */
#define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE
--
2018-02-13 02:06:38 +00:00
2.16.1
2015-02-07 04:36:44 +00:00