coreboot-kgpe-d16/src/southbridge/nvidia/ck804
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
..
chip.h Remove drivers/pci/onboard. The only purpose was for option ROMs, which are 2009-11-06 23:42:26 +00:00
ck804.c Remove drivers/pci/onboard. The only purpose was for option ROMs, which are 2009-11-06 23:42:26 +00:00
ck804.h CK804 coding-style fixed based on an 'indent' run (trivial). 2008-10-02 18:19:17 +00:00
ck804_ac97.c CK804 coding-style fixed based on an 'indent' run (trivial). 2008-10-02 18:19:17 +00:00
ck804_early_setup.c White space change in preparation for a patch to unify handling of ck804. 2009-10-13 22:53:24 +00:00
ck804_early_setup_car.c Use CAR ck804 code with the s2892. 2009-10-14 02:38:24 +00:00
ck804_early_setup_ss.h CK804 coding-style fixed based on an 'indent' run (trivial). 2008-10-02 18:19:17 +00:00
ck804_early_smbus.c CK804 coding-style fixed based on an 'indent' run (trivial). 2008-10-02 18:19:17 +00:00
ck804_enable_rom.c This patch unifies the use of config options in v2 to all start with CONFIG_ 2009-06-30 15:17:49 +00:00
ck804_fadt.c This patch adds common elements for ck804-based boards. 2009-03-10 20:39:27 +00:00
ck804_ht.c CK804 coding-style fixed based on an 'indent' run (trivial). 2008-10-02 18:19:17 +00:00
ck804_ide.c CK804 coding-style fixed based on an 'indent' run (trivial). 2008-10-02 18:19:17 +00:00
ck804_lpc.c Apparently I'm not the only one who forgets which way the outb and 2009-07-10 15:05:35 +00:00
ck804_nic.c coreboot used to have two different "APIs" for memory accesses: 2010-01-16 17:53:38 +00:00
ck804_pci.c Move the v3 resource allocator to v2. 2009-07-02 18:56:24 +00:00
ck804_pcie.c CK804 coding-style fixed based on an 'indent' run (trivial). 2008-10-02 18:19:17 +00:00
ck804_reset.c Remove some warnings from the tyan s2895. 2009-10-30 02:08:07 +00:00
ck804_sata.c Remove warnings from compilation of the s2892 with and without CBFS. 2009-04-30 22:45:41 +00:00
ck804_smbus.c coreboot-v2: drop this ugly historic union name in v2 that was dropped in v3 2009-02-28 20:10:20 +00:00
ck804_smbus.h CK804 coding-style fixed based on an 'indent' run (trivial). 2008-10-02 18:19:17 +00:00
ck804_usb.c CK804 coding-style fixed based on an 'indent' run (trivial). 2008-10-02 18:19:17 +00:00
ck804_usb2.c CK804 coding-style fixed based on an 'indent' run (trivial). 2008-10-02 18:19:17 +00:00
Config.lb Add CONFIG_GENERATE_* for tables so that the user can select which tables not 2009-10-15 13:35:47 +00:00
Kconfig Eliminate special case id.inc/id.lds in favor of a configuration variable ID_SECTION_OFFSET 2009-11-27 16:55:13 +00:00
Makefile.inc Add CONFIG_GENERATE_* for tables so that the user can select which tables not 2009-10-15 13:35:47 +00:00
romstrap.inc CK804 coding-style fixed based on an 'indent' run (trivial). 2008-10-02 18:19:17 +00:00
romstrap.lds This patch unifies the use of config options in v2 to all start with CONFIG_ 2009-06-30 15:17:49 +00:00