[oe-commits] org.oe.dev merge of '96413855622926bccdbbfe20ecfe75876ce63806'

rwhitby commit openembedded-commits at lists.openembedded.org
Sat Jul 7 18:03:36 UTC 2007


merge of '96413855622926bccdbbfe20ecfe75876ce63806'
     and 'c506dccde8011523567684ad6f95b95ffc334a5a'

Author: rwhitby at nslu2-linux.org
Branch: org.openembedded.dev
Revision: eeb734a87c690a455488894bd874c0c20ada064b
ViewMTN: http://monotone.openembedded.org/revision.psp?id=eeb734a87c690a455488894bd874c0c20ada064b
Files:
1
packages/linux/linux/simpad/linux-2.6.21-SIMpad-serial-and-gpio_keys.patch
packages/linux/linux/simpad/linux-2.6.21-pcmcia-device-to-platform-driver.patch
packages/efl1/etk_0.1.0.003.bb
packages/efl1/etk_0.1.0.004.bb
packages/qemu/qemu-0.9.0+cvs20070701
packages/gcc/gcc-cross-kernel-3.4.4_csl-arm-2005q3.bb
packages/gpe-scap/gpe-scap_1.3.bb
packages/linux/linux/simpad/linux-2.6.21-SIMpad-GPIO-MMC-mod.patch
packages/linux/linux/simpad/linux-2.6.21-SIMpad-battery-old-way-but-also-with-sysfs.patch
packages/linux/linux/simpad/linux-2.6.21-SIMpad-net-shared-irq.patch
packages/linux/linux/simpad/linux-2.6.21-SIMpad-pcmcia.patch
packages/linux/linux/simpad/linux-2.6.21-SIMpad-serial-gpio_keys-and-cs3-ro.patch
packages/linux/linux/simpad/linux-2.6.21-SIMpad-ucb1x00-ts-supend-and-accuracy.patch
packages/linux/linux/simpad/linux-2.6.21-SIMpad-usb-gadget.patch
packages/linux/linux-rp-2.6.21/connectplus-prevent-oops-HACK.patch
packages/openssl/openssl-0.9.7g/gnueabi-armeb.patch
packages/qemu/qemu-0.9.0+cvs20070701/arm_nptl-0.9.0.patch
packages/qemu/qemu-0.9.0+cvs20070701/configure-0.9.0.patch
packages/qemu/qemu-0.9.0+cvs20070701/pl110_rgb-r0-0.9.0.patch
packages/qemu/qemu-0.9.0+cvs20070701/qemu-0.9.0-gcc4.patch
packages/qemu/qemu-0.9.0+cvs20070701/qemu-amd64-32b-mapping-0.9.0.patch
packages/qemu/qemu-0.9.0+cvs20070701/qemu-sdl-cursor-0.9.0.patch
packages/qemu/qemu-native_0.9.0+cvs.bb
packages/qemu/qemu_0.9.0+cvs.bb
packages/arm-kernel-shim/arm-kernel-shim_1.5.bb
packages/ixp4xx/ixp4xx-npe-native-2.3.2/IxNpeMicrocode.h
packages/ixp4xx/ixp4xx-npe-native_2.3.2.bb
packages/ixp4xx/ixp4xx-npe_2.3.2.bb
packages/linux/ixp4xx-kernel.inc
packages/linux/linux/simpad/defconfig
packages/linux/linux/simpad/linux-2.6.21-SIMpad-cs3-simpad.patch
packages/linux/linux/simpad/linux-2.6.21-SIMpad-ucb1x00-switches.patch
packages/linux/linux-rp_2.6.21.bb
packages/linux/linux_2.6.21.bb
packages/openssl/openssl_0.9.7g.bb
packages/opie-icon-reload/opie-icon-reload/icon-reload.sh
packages/opie-icon-reload/opie-icon-reload.inc
packages/opie-icon-reload/opie-icon-reload_1.2.2.bb
packages/opie-taskbar/opie-taskbar-images.inc
packages/opie-taskbar/opie-taskbar-images_cvs.bb
packages/db/db3_3.2.9.bb
Diffs:

#
# mt diff -r96413855622926bccdbbfe20ecfe75876ce63806 -reeb734a87c690a455488894bd874c0c20ada064b
#
# 
# 
# delete "packages/linux/linux/simpad/linux-2.6.21-SIMpad-serial-and-gpio_keys.patch"
# 
# delete "packages/linux/linux/simpad/linux-2.6.21-pcmcia-device-to-platform-driver.patch"
# 
# rename "packages/efl1/etk_0.1.0.003.bb"
#     to "packages/efl1/etk_0.1.0.004.bb"
# 
# add_dir "packages/qemu/qemu-0.9.0+cvs20070701"
# 
# add_file "packages/gcc/gcc-cross-kernel-3.4.4_csl-arm-2005q3.bb"
#  content [97a66b98a8afbc6569fe7455fd79084999b95d19]
# 
# add_file "packages/gpe-scap/gpe-scap_1.3.bb"
#  content [ea05f8ee476d853b1883d58d4bc62e8d23ba9041]
# 
# add_file "packages/linux/linux/simpad/linux-2.6.21-SIMpad-GPIO-MMC-mod.patch"
#  content [ca551aa3045d84582e156b7144204d62ce49b29a]
# 
# add_file "packages/linux/linux/simpad/linux-2.6.21-SIMpad-battery-old-way-but-also-with-sysfs.patch"
#  content [144c9a1b84bf9300432389042de4ae1a9075f2ef]
# 
# add_file "packages/linux/linux/simpad/linux-2.6.21-SIMpad-net-shared-irq.patch"
#  content [eaa3edf52f9c2a823faeb3c04479d0d50b4eb84e]
# 
# add_file "packages/linux/linux/simpad/linux-2.6.21-SIMpad-pcmcia.patch"
#  content [f082128b03b307610664cffc2a16f567cda491aa]
# 
# add_file "packages/linux/linux/simpad/linux-2.6.21-SIMpad-serial-gpio_keys-and-cs3-ro.patch"
#  content [686f95d155a2d43e0661cf0ebf7df8179119ab96]
# 
# add_file "packages/linux/linux/simpad/linux-2.6.21-SIMpad-ucb1x00-ts-supend-and-accuracy.patch"
#  content [834a32ea1cf2ddd45bc5bd00fd08f3ed7b112de7]
# 
# add_file "packages/linux/linux/simpad/linux-2.6.21-SIMpad-usb-gadget.patch"
#  content [a780022ac59ad2d8c217b327e2093eea81e2d2d9]
# 
# add_file "packages/linux/linux-rp-2.6.21/connectplus-prevent-oops-HACK.patch"
#  content [e7f07c5193600ba480642fd62dcae173b6b62189]
# 
# add_file "packages/openssl/openssl-0.9.7g/gnueabi-armeb.patch"
#  content [6667972d27eb2ab7dfbb6189e987578a7feb9a1e]
# 
# add_file "packages/qemu/qemu-0.9.0+cvs20070701/arm_nptl-0.9.0.patch"
#  content [fa979163dbd470ffee9444b3f5168b0c35b9294f]
# 
# add_file "packages/qemu/qemu-0.9.0+cvs20070701/configure-0.9.0.patch"
#  content [fceffd7c18b851e71a433041cc397a2a56712fd7]
# 
# add_file "packages/qemu/qemu-0.9.0+cvs20070701/pl110_rgb-r0-0.9.0.patch"
#  content [a095d4fd1f4206b6371c8b0483110d0106f05eaf]
# 
# add_file "packages/qemu/qemu-0.9.0+cvs20070701/qemu-0.9.0-gcc4.patch"
#  content [5c21fb185db6d68100a02dd8782d5e8304329e16]
# 
# add_file "packages/qemu/qemu-0.9.0+cvs20070701/qemu-amd64-32b-mapping-0.9.0.patch"
#  content [bedb60fceca71600d2454f44c6130698c46cfc1c]
# 
# add_file "packages/qemu/qemu-0.9.0+cvs20070701/qemu-sdl-cursor-0.9.0.patch"
#  content [979836b87e2526bc947a9653186995de7097926a]
# 
# add_file "packages/qemu/qemu-native_0.9.0+cvs.bb"
#  content [be8008e321f835b85973928579193998a5bae720]
# 
# add_file "packages/qemu/qemu_0.9.0+cvs.bb"
#  content [0821d24a983c6cbf7674530ba38f58b01322368e]
# 
# patch "packages/arm-kernel-shim/arm-kernel-shim_1.5.bb"
#  from [691bb266bc3a89e594d2718bda178991edd6718a]
#    to [1aa10be4fd793312e013b9a67176929f2d210191]
# 
# patch "packages/efl1/etk_0.1.0.004.bb"
#  from [874ac1e333ce9f41ebbe6ef5b46ae8e988187303]
#    to [f268a57f29e455ec9994f66eeb3c7394ed772463]
# 
# patch "packages/ixp4xx/ixp4xx-npe-native-2.3.2/IxNpeMicrocode.h"
#  from [15c8577df6dc6251306bcd9ff572530eaff73bfc]
#    to [fed099dff45f8ede7c01a82414c61991b7fb3918]
# 
# patch "packages/ixp4xx/ixp4xx-npe-native_2.3.2.bb"
#  from [1a48057dbc3a9fcb7fa92f416961ed8baa393b5d]
#    to [c9dde74cca70ebe27b0fb0d8d7129d675cd1fa7b]
# 
# patch "packages/ixp4xx/ixp4xx-npe_2.3.2.bb"
#  from [55465679e61e65694d073e2a9d8591a9a4c5ccf3]
#    to [919cd093ac19788e178bc05921f065073ddff758]
# 
# patch "packages/linux/ixp4xx-kernel.inc"
#  from [997dbde0491b1140eedbc3c08003e0bacac082d5]
#    to [5df5d3d8b85636bea02f6cffa26e60e0ef7a3395]
# 
# patch "packages/linux/linux/simpad/defconfig"
#  from [db78ce10226f67738cc6a072a5190e9edf027ce3]
#    to [9b2a926304e0d3f59c4cc79fc6222c11947ed80f]
# 
# patch "packages/linux/linux/simpad/linux-2.6.21-SIMpad-cs3-simpad.patch"
#  from [4b58fb12608fa60445bee6da494d33330aa5fd90]
#    to [b8c20e7d67cfc6ab25b65f426b9516aa37a393bc]
# 
# patch "packages/linux/linux/simpad/linux-2.6.21-SIMpad-ucb1x00-switches.patch"
#  from [380567e4ad356d3df12b22af4f4cc6b3454cdc90]
#    to [a5811a05717af2fd1ba8add14fa4ee70f3856169]
# 
# patch "packages/linux/linux-rp_2.6.21.bb"
#  from [cbbdd4376b6cb43e5460b02f28a25c2a29323db7]
#    to [a4ef82513766940d2b728b8089a10118cda3dc9a]
# 
# patch "packages/linux/linux_2.6.21.bb"
#  from [b173c031d2b38c69861aac233b95eb1254d0c9ed]
#    to [d6e50b673f16999146443b578b809addead0109d]
# 
# patch "packages/openssl/openssl_0.9.7g.bb"
#  from [ecf6ba1e576ef411971cc6af2005e2ecca94b6d8]
#    to [68560d0bda19a0b32c7f514bdb9cf445479e7406]
# 
# patch "packages/opie-icon-reload/opie-icon-reload/icon-reload.sh"
#  from [a1248833761b9745e1b2788dd6ec15eaf2d48337]
#    to [7cdcc4323c6c3af52a8bf59d27d1ba5c06990bf3]
# 
# patch "packages/opie-icon-reload/opie-icon-reload.inc"
#  from [3f5d81e3d57ca295eedaf901f2db0dddda8585bf]
#    to [e2b00f75ac078c9ce5c4f1533a929578568a1682]
# 
# patch "packages/opie-icon-reload/opie-icon-reload_1.2.2.bb"
#  from [b3c3f0eee0c1e20e63f1f40d650b617e4e8ab934]
#    to [b5121cb1d131c4e7469a666aa7f3d63c64856216]
# 
# patch "packages/opie-taskbar/opie-taskbar-images.inc"
#  from [d360a128f6873d3f280eb4f83502e056159dc8df]
#    to [bcc14b15dcb6f610fb2fb93ea7a22680e5dc7c34]
# 
# patch "packages/opie-taskbar/opie-taskbar-images_cvs.bb"
#  from [f3d0e51204ca5fdab33a587c2c7f69acfa799f9e]
#    to [364b475cbe870792af3b1c15affcecd9defe9c8e]
# 
============================================================
--- packages/gcc/gcc-cross-kernel-3.4.4_csl-arm-2005q3.bb	97a66b98a8afbc6569fe7455fd79084999b95d19
+++ packages/gcc/gcc-cross-kernel-3.4.4_csl-arm-2005q3.bb	97a66b98a8afbc6569fe7455fd79084999b95d19
@@ -0,0 +1,25 @@
+# This kernel compiler is required by the Freecom FSG-3 machine
+# Please talk to Rod Whitby before considering removing this file.
+
+DEFAULT_PREFERENCE = "-1"
+
+SECTION = "devel"
+# cut-down gcc for kernel builds
+# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
+
+require gcc-cross-initial_${PV}.bb
+
+PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"
+
+SRC_URI += "file://gcc-3.4.4-makefile-fix.patch;patch=1"
+
+do_install () {
+	:
+}
+
+do_stage () {
+	cd gcc
+	oe_runmake install-common install-headers install-libgcc
+	install -m 0755 xgcc ${CROSS_DIR}/bin/${TARGET_PREFIX}gcc-${PV}
+}
+
============================================================
--- packages/gpe-scap/gpe-scap_1.3.bb	ea05f8ee476d853b1883d58d4bc62e8d23ba9041
+++ packages/gpe-scap/gpe-scap_1.3.bb	ea05f8ee476d853b1883d58d4bc62e8d23ba9041
@@ -0,0 +1,13 @@
+DESCRIPTION = "GPE screenshot application"
+LICENSE = "GPL"
+PRIORITY = "optional"
+SECTION = "gpe"
+PR = "r0"
+
+RREPLACES = "gpe-screenshot"
+
+DEPENDS = "glib-2.0 gtk+ libgpewidget libglade libsoup"
+
+GPE_TARBALL_SUFFIX = "bz2"
+
+inherit gpe autotools
============================================================
--- packages/linux/linux/simpad/linux-2.6.21-SIMpad-GPIO-MMC-mod.patch	ca551aa3045d84582e156b7144204d62ce49b29a
+++ packages/linux/linux/simpad/linux-2.6.21-SIMpad-GPIO-MMC-mod.patch	ca551aa3045d84582e156b7144204d62ce49b29a
@@ -0,0 +1,1650 @@
+diff -uNr linux-2.6.21.vanilla/drivers/mmc/Kconfig linux-2.6.21/drivers/mmc/Kconfig
+--- linux-2.6.21.vanilla/drivers/mmc/Kconfig	2007-05-30 18:00:30.000000000 +0200
++++ linux-2.6.21/drivers/mmc/Kconfig	2007-05-30 18:26:18.000000000 +0200
+@@ -4,6 +4,12 @@
+ 
+ menu "MMC/SD Card support"
+ 
++config MMC_SPI_BLOCK
++	tristate "MMC support for SIMpad over GPIO"
++	help
++	  Say Y here to enable MMC block device over GPIO
++	  if you have done the MMC-Mod. For Module say M.
++
+ config MMC
+ 	tristate "MMC support"
+ 	help
+diff -uNr linux-2.6.21.vanilla/drivers/mmc/Makefile linux-2.6.21/drivers/mmc/Makefile
+--- linux-2.6.21.vanilla/drivers/mmc/Makefile	2007-05-30 18:00:30.000000000 +0200
++++ linux-2.6.21/drivers/mmc/Makefile	2007-05-30 18:26:18.000000000 +0200
+@@ -2,6 +2,8 @@
+ # Makefile for the kernel mmc device drivers.
+ #
+ 
++obj-$(CONFIG_MMC_SPI_BLOCK)	+= mmc_spi_block.o
++
+ #
+ # Core
+ #
+diff -uNr linux-2.6.21.vanilla/drivers/mmc/mmc_spi_block.c linux-2.6.21/drivers/mmc/mmc_spi_block.c
+--- linux-2.6.21.vanilla/drivers/mmc/mmc_spi_block.c	1970-01-01 01:00:00.000000000 +0100
++++ linux-2.6.21/drivers/mmc/mmc_spi_block.c	2007-05-30 18:30:58.000000000 +0200
+@@ -0,0 +1,1618 @@
++/*
++ * Copyright (c) Cl�ent Ballabriga, 2005 - GPL
++ * Copyright (c) Guylhem Aznar, 2005 - GPL
++ *
++ * Please check http://externe.net/zaurus/simpad-bluetooth reference design first.
++ *
++ * Based on Madsuk/Rohde work on a MMC driver for the WRT54G.
++ *
++ * This is an ugly hack of a driver. I am surprised if it ever works!
++ * So please use a real driver or contribute one to the 2.4/2.6 mmc framework
++ *
++ * mrdata: ported to 2.6
++ */
++
++#include <linux/module.h>
++#include <linux/init.h>
++
++#include <linux/sched.h>
++#include <linux/kernel.h>
++#include <linux/fs.h>
++#include <linux/errno.h>
++#include <linux/hdreg.h>
++#include <linux/kdev_t.h>
++#include <linux/blkdev.h>
++#include <linux/spinlock.h>
++#include <linux/time.h>
++#include <linux/delay.h>
++#include <linux/timer.h>
++
++#include <linux/platform_device.h>
++
++#include <asm/hardware.h>
++#include <asm/arch/simpad.h>
++#include <asm/arch/gpio.h>
++
++static int major = 121;
++
++#define DEVICE_NAME "mmc_spi"
++
++static int hd_sizes[1<<6];
++static int hd_blocksizes[1<<6];
++static int hd_hardsectsizes[1<<6];
++static int hd_maxsect[1<<6];
++static struct hd_struct hd[1<<6];
++
++static struct gendisk *mmc_disk;
++
++static struct platform_device *mmc_dev; /* the one and only instance */
++
++static spinlock_t mmc_spi_lock;
++
++/*
++ * *******************************************************************
++ *
++ *                This is the only configurable part.
++ *
++ * *******************************************************************
++ *
++ */
++
++// #define DEBUG 1
++// #define DEBUG_HD 1
++// #define CHECK_MEDIA_CHANGE  // for developement ONLY, not working yet
++
++/* Let that include where it is or compilation fails on INIT_REQUEST/CURRENT */
++
++
++/*
++ * If you are using different GPIOs in your hardware hack, you must
++ * first make sure they are unused for other functions and then
++ * configure them here.
++ *
++ * On the simpad I use spare pins from the UART1 (internal serial port -> DECT 20-polig):
++ * 
++ *   Funktion  PIN  ##  Original direction  GPIO  ##  SPI function                New direction  SD/MMC   
++ * - DCD       PIN  08  (in)                GPIO  23  DO  - new name: DI -> MISO  (in)           PIN  7  Data Out
++ * - DTR       PIN  11  (out)               GPIO  07  CS                          (out)          PIN  1  Chip Select
++ * - RI        PIN  14  (in)                GPIO  19  CLK                         (out)          PIN  5  Clock
++ * - DSR       PIN  16  (in)                GPIO  06  DI  - new name: DO -> MOSI  (out)          PIN  2  Data In
++ * 
++ *
++ * SPI: MISO = Master In / Slave OUT   MOSI = Master Out / Slave In
++ *
++ * Don't worry about in/out original function - the GPIOs will be
++ * reprogrammed.
++ */
++
++#define GPIO_SD_DI   23
++#define GPIO_SD_CS   7
++#define GPIO_SD_CLK  19
++#define GPIO_SD_DO   6
++
++// #define FAST_GPIO_SD_DI		GPIO_GPIO23
++// #define FAST_GPIO_SD_CS		GPIO_GPIO7
++// #define FAST_GPIO_SD_CLK		GPIO_GPIO19
++// #define FAST_GPIO_SD_DO		GPIO_GPIO6
++
++#define FAST_GPIO_SD_DI   GPIO_UART1_DCD
++#define FAST_GPIO_SD_CS   GPIO_UART1_DTR
++#define FAST_GPIO_SD_CLK  GPIO_UART1_RI
++#define FAST_GPIO_SD_DO   GPIO_UART1_DSR
++
++/*
++ * *******************************************************************
++ *
++ *               Do not change anything below !
++ *
++ * *******************************************************************
++ *
++ */
++
++/* GPIO states */
++#define LOW 0
++#define HIGH 1
++
++#define INPUT 0
++#define OUTPUT 1
++
++#define PRESENT 1
++#define ABSENT 0
++
++typedef unsigned int   uint32;
++typedef unsigned long  u32_t;
++typedef unsigned short u16_t;
++typedef unsigned char  u8_t;
++
++static struct timer_list mmc_timer;
++
++// static struct timeval s_zeit, e_zeit;
++
++/* start with no card */
++static int mmc_media_detect = 0;
++static int mmc_media_changed = 1;
++
++
++/////////////////////
++// prototypes
++static int mmc_open(struct inode *inode, struct file *filp);
++static int mmc_release(struct inode *inode, struct file *filp);
++static int mmc_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg);
++static void mmc_request(request_queue_t *q);
++
++
++/*
++ * *******************************************************************
++ *
++ *             Begin GPIO hardware access functions.
++ *
++ * *******************************************************************
++ *
++ */
++
++#define gpio_read(a)		((GPLR & a) ? 1 : 0)
++#define gpio_write_high(a)	GPSR = a
++#define gpio_write_low(a)	GPCR = a
++
++/* set MMC_Chip_Select to HIGH (MMC/SD-Card inaktiv) */
++#define MMC_Disable() gpio_write_high( FAST_GPIO_SD_CS)
++
++/* set MMC_Chip_Select to LOW (MMC/SD-Card aktiv) */
++#define MMC_Enable() gpio_write_low( FAST_GPIO_SD_CS)
++
++/*
++ * *******************************************************************
++ *
++ *             Begin SPI hardware access functions.
++ *
++ * *******************************************************************
++ *
++ */
++static int mmc_spi_media_detect(void)
++{
++// FIXME: add card detection/test by SPI
++
++    return 1;
++}
++
++static int mmc_spi_hardware_init(void)
++{
++	printk("\nmmc: GPIO init\n");
++
++	/* cut existing functions */
++	gpio_set_alternative_function(GPIO_SD_CLK, 0);
++	gpio_set_alternative_function(GPIO_SD_DI, 0);
++	gpio_set_alternative_function(GPIO_SD_DO, 0);
++	gpio_set_alternative_function(GPIO_SD_CS, 0);
++
++	/* remap directions and set state of spi pins */
++	gpio_direction_output(GPIO_SD_CLK, 0);
++	gpio_direction_input(GPIO_SD_DI);	
++	gpio_direction_output(GPIO_SD_DO, 0);
++	gpio_direction_output(GPIO_SD_CS, 0);
++
++	printk("mmc: initialising MMC\n");
++
++	/* Start */
++	MMC_Disable();
++	gpio_write_low( FAST_GPIO_SD_CLK);
++	gpio_write_high( FAST_GPIO_SD_DO);
++	return 0;
++}
++
++/* return what has been read, write the parameter */
++/* Clockrate round about 1,2 MHz                  */
++
++static unsigned char mmc_spi_readwrite(unsigned char data_out)
++{
++    unsigned char i;
++    unsigned char result = 0;
++
++    for(i = 0x80 ; i != 0 ; i >>= 1)
++    {
++        if (data_out & i)
++        {
++            gpio_write_high( FAST_GPIO_SD_DO);
++        }
++	  else
++        {
++            gpio_write_low( FAST_GPIO_SD_DO);
++        }
++
++        gpio_write_high( FAST_GPIO_SD_CLK);
++	
++        if (gpio_read( FAST_GPIO_SD_DI) == 1)
++        {
++            result |= i;
++        }
++
++        gpio_write_low( FAST_GPIO_SD_CLK);
++	
++    }
++
++    gpio_write_high( FAST_GPIO_SD_DO);
++
++    return (result);
++}
++
++/* return what has been read, write the parameter */
++/* Clockrate round 200 kHz                        */
++ 
++static unsigned char mmc_spi_readwrite_slow(unsigned char data_out)
++{
++    unsigned char i;
++    unsigned char result = 0;
++
++    for(i = 0x80 ; i != 0 ; i >>= 1)
++    {	
++        if (data_out & i)
++        {
++            gpio_write_high( FAST_GPIO_SD_DO);
++        }
++        else
++        {
++            gpio_write_low( FAST_GPIO_SD_DO);
++        }
++
++        udelay(10);
++
++        gpio_write_high( FAST_GPIO_SD_CLK);
++
++        udelay(10);
++
++        if (gpio_read( FAST_GPIO_SD_DI) == 1)
++        {
++            result |= i;
++        }
++
++        udelay(10);
++	
++        gpio_write_low( FAST_GPIO_SD_CLK);
++
++        udelay(10);
++	
++    }
++
++    gpio_write_high( FAST_GPIO_SD_DO);
++
++    udelay(10);
++
++    // printk("Send Byte = 0x%2X   Receive Byte = 0x%2X \n", data_out, result);
++
++    return (result);
++}
++
++/* return what has been read */
++
++static unsigned char mmc_spi_read_only(void)
++{
++    unsigned char i;
++    unsigned char result = 0;
++
++    for(i = 0x80 ; i != 0 ; i >>= 1)
++    {
++
++        gpio_write_high( FAST_GPIO_SD_CLK);
++	
++        if (gpio_read( FAST_GPIO_SD_DI) == 1)
++        {
++  %s
>>> DIFF TRUNCATED @ 16K


#
# mt diff -rc506dccde8011523567684ad6f95b95ffc334a5a -reeb734a87c690a455488894bd874c0c20ada064b
#
# 
# 
# patch "packages/db/db3_3.2.9.bb"
#  from [46ba4a004392e1afc79cfb28918a3015e5fe0435]
#    to [115720f4b9c70c58595f0ffbca0607cf4f7563ab]
# 
============================================================
--- packages/db/db3_3.2.9.bb	46ba4a004392e1afc79cfb28918a3015e5fe0435
+++ packages/db/db3_3.2.9.bb	115720f4b9c70c58595f0ffbca0607cf4f7563ab
@@ -11,7 +11,7 @@ PROVIDES += "${VIRTUAL_NAME}"
 # a build to select the desired one.
 PROVIDES += "${VIRTUAL_NAME}"
 
-SRC_URI = "ftp://sleepycat1.inetu.net/releases/db-${PV}.tar.gz \
+SRC_URI = "http://download-west.oracle.com/berkeley-db/db-${PV}.tar.gz \
 	   file://autofoo.patch;patch=1"
 S = "${WORKDIR}/db-${PV}/dist"
 B = "${WORKDIR}/db-${PV}/build_unix"






More information about the Openembedded-commits mailing list