r1920 - trunk/src/target/u-boot/patches
laforge at sita.openmoko.org
laforge at sita.openmoko.org
Mon May 7 18:02:35 CEST 2007
Author: laforge
Date: 2007-05-07 18:02:26 +0200 (Mon, 07 May 2007)
New Revision: 1920
Removed:
trunk/src/target/u-boot/patches/uboot-arm920t_cp15_cmd.patch
Modified:
trunk/src/target/u-boot/patches/series
Log:
remove patch for 'arm920t cp15' command that was never fully working
Modified: trunk/src/target/u-boot/patches/series
===================================================================
--- trunk/src/target/u-boot/patches/series 2007-05-07 16:00:22 UTC (rev 1919)
+++ trunk/src/target/u-boot/patches/series 2007-05-07 16:02:26 UTC (rev 1920)
@@ -1,6 +1,5 @@
# just some local hacks
uboot-machtypes.patch
-uboot-arm920t_cp15_cmd.patch
ext2load_hex.patch
uboot-mokoversion.patch
Deleted: trunk/src/target/u-boot/patches/uboot-arm920t_cp15_cmd.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-arm920t_cp15_cmd.patch 2007-05-07 16:00:22 UTC (rev 1919)
+++ trunk/src/target/u-boot/patches/uboot-arm920t_cp15_cmd.patch 2007-05-07 16:02:26 UTC (rev 1920)
@@ -1,109 +0,0 @@
-This patch adds support for a new arm920 cp15 command to access
-coporocessor registers from the ocmmand line.
-
-Signed-off-by: Harald Welte <laforge at openmoko.org>
-
-Index: u-boot/common/Makefile
-===================================================================
---- u-boot.orig/common/Makefile 2007-02-26 14:11:57.000000000 +0100
-+++ u-boot/common/Makefile 2007-02-26 14:14:16.000000000 +0100
-@@ -27,7 +27,7 @@
-
- AOBJS =
-
--COBJS = main.o ACEX1K.o altera.o bedbug.o circbuf.o cmd_autoscript.o \
-+COBJS = main.o ACEX1K.o altera.o bedbug.o circbuf.o cmd_arm920.o cmd_autoscript.o \
- cmd_bdinfo.o cmd_bedbug.o cmd_bmp.o cmd_boot.o cmd_bootm.o \
- cmd_cache.o cmd_console.o \
- cmd_date.o cmd_dcr.o cmd_diag.o cmd_display.o cmd_doc.o cmd_dtt.o \
-Index: u-boot/common/cmd_arm920.c
-===================================================================
---- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ u-boot/common/cmd_arm920.c 2007-02-26 14:14:36.000000000 +0100
-@@ -0,0 +1,64 @@
-+/*
-+ * (C) Copyright 2006 by OpenMoko, Inc.
-+ * Author: Harald Welte <laforge at openmoko.org>
-+ *
-+ * See file CREDITS for list of people who contributed to this
-+ * project.
-+ *
-+ * This program is free software; you can redistribute it and/or
-+ * modify it under the terms of the GNU General Public License as
-+ * published by the Free Software Foundation; either version 2 of
-+ * the License, or (at your option) any later version.
-+ *
-+ * This program is distributed in the hope that it will be useful,
-+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+ * GNU General Public License for more details.
-+ *
-+ * You should have received a copy of the GNU General Public License
-+ * along with this program; if not, write to the Free Software
-+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
-+ * MA 02111-1307 USA
-+ */
-+
-+/*
-+ * Boot support
-+ */
-+#include <common.h>
-+#include <command.h>
-+#include <net.h> /* for print_IPaddr */
-+
-+DECLARE_GLOBAL_DATA_PTR;
-+
-+#if (CONFIG_COMMANDS & CFG_CMD_BDI)
-+
-+extern unsigned long read_p15_c1(void);
-+extern void write_p15_c1(unsigned long);
-+
-+int do_arm920 ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
-+{
-+ int i;
-+
-+ if (strcmp(argv[1], "cp15c1")) {
-+ printf("Usage:\n%s\n", cmdtp->usage);
-+ return 1;
-+ }
-+
-+ if (!strcmp(argv[2], "write")) {
-+ ulong val = simple_strtoul(argv[3], NULL, 16);
-+ printf("setting cp15c1 to 0x%08x\n", val);
-+ write_p15_c1(val);
-+ } else if (!strcmp(argv[2], "read"))
-+ printf("cp15c1 = 0x%08x\n", read_p15_c1());
-+
-+ return 0;
-+}
-+
-+/* -------------------------------------------------------------------- */
-+
-+U_BOOT_CMD(
-+ arm920, 4, 1, do_arm920,
-+ "arm920_cp15 - print cp15\n",
-+ NULL
-+);
-+#endif /* CFG_CMD_BDI */
-Index: u-boot/cpu/arm920t/cpu.c
-===================================================================
---- u-boot.orig/cpu/arm920t/cpu.c 2007-02-26 04:37:19.000000000 +0100
-+++ u-boot/cpu/arm920t/cpu.c 2007-02-26 14:13:31.000000000 +0100
-@@ -38,7 +38,7 @@
- #endif
-
- /* read co-processor 15, register #1 (control register) */
--static unsigned long read_p15_c1 (void)
-+unsigned long read_p15_c1 (void)
- {
- unsigned long value;
-
-@@ -55,7 +55,7 @@
- }
-
- /* write to co-processor 15, register #1 (control register) */
--static void write_p15_c1 (unsigned long value)
-+void write_p15_c1 (unsigned long value)
- {
- #ifdef MMU_DEBUG
- printf ("write %08lx to p15/c1\n", value);
More information about the commitlog
mailing list