coreboot-kgpe-d16/src/arch/i386
Stefan Reinauer 9fe4d797a3 coreboot used to have two different "APIs" for memory accesses:
read32(unsigned long addr) vs readl(void *addr)
and
write32(unsigned long addr, uint32_t value) vs writel(uint32_t value, void *addr)

read32 was only available in __PRE_RAM__ stage, while readl was used in stage2.
Some unclean implementations then made readl available to __PRE_RAM__ too which
results in really messy includes and code.

This patch fixes all code to use the read32/write32 variant, so that we can
remove readl/writel in another patch.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5022 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2010-01-16 17:53:38 +00:00
..
boot Clean up amd/dbm690t and kontron/986lcd-m some more (not 2009-12-18 16:43:30 +00:00
include coreboot used to have two different "APIs" for memory accesses: 2010-01-16 17:53:38 +00:00
init * Explicitly add __PRE_RAM__ where it should be added. 2010-01-05 13:03:02 +00:00
lib coreboot used to have two different "APIs" for memory accesses: 2010-01-16 17:53:38 +00:00
llshell rename linuxbios_* files, too. 2008-01-18 16:16:45 +00:00
smp Add CONFIG_GENERATE_* for tables so that the user can select which tables not 2009-10-15 13:35:47 +00:00
Config.lb This removes the uses of the buildrom utility and the coreboot.strip 2009-10-04 12:30:44 +00:00
Kconfig - Makefile.romccboard.inc supports tinybootblock romcc boards, too. 2010-01-08 11:26:02 +00:00
Makefile.bigbootblock.inc Tiny Bootblock, step 1/n. 2009-12-23 12:52:56 +00:00
Makefile.inc Tiny Bootblock, step 1/n. 2009-12-23 12:52:56 +00:00
Makefile.tinybootblock.inc Kconfig builds all boards now. 2010-01-06 09:14:08 +00:00