How to merge the diff file in the git repositry

Subsystems: the rest

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

How to merge the diff file in the git repositry

From: vamsi <hidden>
Date: 2016-06-15 22:53:38

hii ,

i have a diff file.how to add these modifications to the git repositry


diff --git a/board/Maxim/maximasp_eek/board_init.S
b/board/Maxim/maximasp_eek/board_init.S

index ec57078..bd55877 100644
--- a/board/Maxim/maximasp_eek/board_init.S

+++ b/board/Maxim/maximasp_eek/board_init.S
@@ -13,7 +13,7 @@
#define ENABLE_DLL

 

#define GCR_SETUP      /* Modify GCR register */

-#define GCR_UBP                /* UCI bypass */

+#undef  GCR_UBP                /* UCI bypass */

#undef  GCR_PBEN       /* Enable pass bridge */

#undef  GCR_PBFB       /* Enable burst in pass bridge */

#undef  GCR_ADK                /* Use ADK bridge */
diff --git a/include/configs/maximasp-eek.h b/include/configs/maximasp-eek.h
index 897f4ab..c9e3965 100644

--- a/include/configs/maximasp-eek.h

+++ b/include/configs/maximasp-eek.h
@@ -23,13 +23,13 @@
#define __CONFIG_H

 

#define CONFIG_SYS_USE_DDR     /* Use DDR instead of PSRAM */

-#define CONFIG_SYS_SYNC_MEM    /* Synchronous memory */

+//#define CONFIG_SYS_SYNC_MEM  /* Synchronous memory */

 

/*

  * CPU Clock - 16x crystal (20 MHz -> 320 MHz, 24 MHz -> 384 MHz)

  */

-//#define CONFIG_SYS_CPU_CLOCK         384000000

-#define CONFIG_SYS_CPU_CLOCK           320000000

+#define CONFIG_SYS_CPU_CLOCK           384000000

+//#define CONFIG_SYS_CPU_CLOCK         320000000

 
/*

  * Physical Memory Map

regards

Git newbie

--
View this message in context: http://git.661346.n2.nabble.com/How-to-merge-the-diff-file-in-the-git-repositry-tp7490516p7490516.html
Sent from the git mailing list archive at Nabble.com.

Re: How to merge the diff file in the git repositry

From: Neal Kreitzinger <hidden>
Date: 2016-06-15 22:53:39

On 4/22/2012 8:38 PM, vamsi wrote:
quoted hunk
hii ,

i have a diff file.how to add these modifications to the git repositry


diff --git a/board/Maxim/maximasp_eek/board_init.S
b/board/Maxim/maximasp_eek/board_init.S

index ec57078..bd55877 100644
--- a/board/Maxim/maximasp_eek/board_init.S

+++ b/board/Maxim/maximasp_eek/board_init.S
@@ -13,7 +13,7 @@
#define ENABLE_DLL



#define GCR_SETUP      /* Modify GCR register */

-#define GCR_UBP                /* UCI bypass */

+#undef  GCR_UBP                /* UCI bypass */

#undef  GCR_PBEN       /* Enable pass bridge */

#undef  GCR_PBFB       /* Enable burst in pass bridge */

#undef  GCR_ADK                /* Use ADK bridge */
diff --git a/include/configs/maximasp-eek.h b/include/configs/maximasp-eek.h
index 897f4ab..c9e3965 100644

--- a/include/configs/maximasp-eek.h

+++ b/include/configs/maximasp-eek.h
@@ -23,13 +23,13 @@
#define __CONFIG_H



#define CONFIG_SYS_USE_DDR     /* Use DDR instead of PSRAM */

-#define CONFIG_SYS_SYNC_MEM    /* Synchronous memory */

+//#define CONFIG_SYS_SYNC_MEM  /* Synchronous memory */



/*

   * CPU Clock - 16x crystal (20 MHz ->  320 MHz, 24 MHz ->  384 MHz)

   */

-//#define CONFIG_SYS_CPU_CLOCK         384000000

-#define CONFIG_SYS_CPU_CLOCK           320000000

+#define CONFIG_SYS_CPU_CLOCK           384000000

+//#define CONFIG_SYS_CPU_CLOCK         320000000


/*

   * Physical Memory Map

regards

Git newbie

--
View this message in context: http://git.661346.n2.nabble.com/How-to-merge-the-diff-file-in-the-git-repositry-tp7490516p7490516.html
Sent from the git mailing list archive at Nabble.com.
Does the git-apply manpage tell you what you need?

v/r,
neal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help