From a46bb51df65b1d5dccc9dc3b86ab0047d459e284 Mon Sep 17 00:00:00 2001
From: joerg_wunsch <joerg_wunsch@81a1dc3b-b13d-400b-aceb-764788c761c2>
Date: Mon, 14 Aug 2006 22:00:47 +0000
Subject: [PATCH] Submitted by <chris@awaretechs.com>: * avrdude.conf.in
 (ATmega48, ATmega88, ATmega168): patch #5100: mega88 EEPROM support (extended
 for ATmega48 and ATmega168 - jw).

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@609 81a1dc3b-b13d-400b-aceb-764788c761c2
---
 ChangeLog       |  6 ++++++
 avrdude.conf.in | 41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index c06ee077..fc412090 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-14 Joerg Wunsch <j@uriah.heep.sax.de>
+
+	Submitted by <chris@awaretechs.com>:
+	* avrdude.conf.in (ATmega48, ATmega88, ATmega168): patch #5100:
+	mega88 EEPROM support (extended for ATmega48 and ATmega168 - jw).
+
 2006-08-14 Joerg Wunsch <j@uriah.heep.sax.de>
 
 	Submitted by <eolson@mit.edu>:
diff --git a/avrdude.conf.in b/avrdude.conf.in
index 42f62ef7..320aace6 100644
--- a/avrdude.conf.in
+++ b/avrdude.conf.in
@@ -5575,6 +5575,8 @@ part
     programlockpolltimeout = 5;
 
     memory "eeprom"
+        paged           = no;
+        page_size       = 4;
         size            = 256;
         min_write_delay = 3600;
         max_write_delay = 3600;
@@ -5590,6 +5592,16 @@ part
                           " a7  a6  a5  a4     a3  a2  a1  a0", 
                           "  i   i   i   i      i   i   i   i";
 
+	loadpage_lo	= "  1   1   0   0      0   0   0   1",
+			  "  0   0   0   0      0   0   0   0",
+			  "  0   0   0   0      0   0  a1  a0",
+			  "  i   i   i   i      i   i   i   i";
+
+	writepage	= "  1   1   0   0      0   0   1   0",
+			  "  0   0   x   x      x   x   x   x",
+			  " a7  a6  a5  a4     a3  a2   0   0",
+			  "  x   x   x   x      x   x   x   x";
+
 	mode		= 0x41;
 	delay		= 5;
 	blocksize	= 4;
@@ -5734,6 +5746,8 @@ part
     programlockpolltimeout = 5;
 
     memory "eeprom"
+        paged           = no;
+        page_size       = 4;
         size            = 512;
         min_write_delay = 3600;
         max_write_delay = 3600;
@@ -5749,6 +5763,16 @@ part
                           " a7  a6  a5  a4     a3  a2  a1  a0", 
                           "  i   i   i   i      i   i   i   i";
 
+	loadpage_lo	= "  1   1   0   0      0   0   0   1",
+			  "  0   0   0   0      0   0   0   0",
+			  "  0   0   0   0      0   0  a1  a0",
+			  "  i   i   i   i      i   i   i   i";
+
+	writepage	= "  1   1   0   0      0   0   1   0",
+			  "  0   0   x   x      x   x   x  a8",
+			  " a7  a6  a5  a4     a3  a2   0   0",
+			  "  x   x   x   x      x   x   x   x";
+
 	mode		= 0x41;
 	delay		= 5;
 	blocksize	= 4;
@@ -5903,6 +5927,8 @@ part
     programlockpolltimeout = 5;
 
     memory "eeprom"
+        paged           = no;
+        page_size       = 4;
         size            = 512;
         min_write_delay = 3600;
         max_write_delay = 3600;
@@ -5917,6 +5943,21 @@ part
                           " 0 0 0 x x x x a8",
                           " a7 a6 a5 a4 a3 a2 a1 a0",
                           " i i i i i i i i";
+
+	loadpage_lo	= "  1   1   0   0      0   0   0   1",
+			  "  0   0   0   0      0   0   0   0",
+			  "  0   0   0   0      0   0  a1  a0",
+			  "  i   i   i   i      i   i   i   i";
+
+	writepage	= "  1   1   0   0      0   0   1   0",
+			  "  0   0   x   x      x   x   x  a8",
+			  " a7  a6  a5  a4     a3  a2   0   0",
+			  "  x   x   x   x      x   x   x   x";
+
+	mode		= 0x41;
+	delay		= 5;
+	blocksize	= 4;
+	readsize	= 256;
         ;
 
     memory "flash"