From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Ludwig Date: Tue, 12 May 2009 10:12:03 +0200 Subject: [U-Boot] [PATCH 2/4] omap3: remove typedef for struct gpmc In-Reply-To: <4A087B7D.3020409@googlemail.com> References: <9558ad872d306e43c6605198c190d601c0c50c99.1242035389.git.mludwig@ultratronik.de> <09cd64b2360090e567714d756843eaf8bdf68cc5.1242035389.git.mludwig@ultratronik.de> <4A087B7D.3020409@googlemail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Dirk, > I wonder if you have the resources and like to convert all register > structs used by OMAP3 code and remove the typedef? > > Else we would have a mixture of typedefs and struct usage (see e.g. > above in sys_info.c). I would like to have it consistent, either the one > or the other way ;) What do you think? sounds reasonable, so already in the making. Patchset in reply to this mail. Again: - compile-tested on beagle, evm, over, pandora, zoom1 - boot-tested on own board - based on v2009.06-rc1 - applies on u-boot-arm/next but breaks zoom2 Please test on other platforms. best regards, Matthias Matthias Ludwig (4): omap3: embedd gpmc_cs into gpmc config struct omap3: remove typedefs for configuration structs omap3: replace all instances of gpmc config struct by one global omap3: use only fixed-size types inside ctrl_structs board/omap3/beagle/beagle.c | 6 +- board/omap3/evm/evm.c | 19 +- board/omap3/pandora/pandora.c | 8 +- cpu/arm_cortexa8/omap3/board.c | 16 +- cpu/arm_cortexa8/omap3/clock.c | 14 +- cpu/arm_cortexa8/omap3/interrupts.c | 2 +- cpu/arm_cortexa8/omap3/mem.c | 56 ++--- cpu/arm_cortexa8/omap3/sys_info.c | 13 +- drivers/mtd/nand/omap_gpmc.c | 41 ++-- include/asm-arm/arch-omap3/cpu.h | 476 ++++++++++++++++++----------------- include/asm-arm/arch-omap3/mem.h | 4 +- include/asm-arm/arch-omap3/omap3.h | 8 +- include/configs/omap3_beagle.h | 3 +- include/configs/omap3_evm.h | 3 +- include/configs/omap3_overo.h | 3 +- include/configs/omap3_pandora.h | 3 +- include/configs/omap3_zoom1.h | 3 +- 17 files changed, 337 insertions(+), 341 deletions(-)