2 * Palm Tungsten|C Support
4 * Copyright (C) 2009-2010 Marek Vasut <marek.vasut@gmail.com>
6 * SPDX-License-Identifier: GPL-2.0+
13 #include <asm/arch/pxa.h>
14 #include <asm/arch/regs-mmc.h>
16 DECLARE_GLOBAL_DATA_PTR;
19 * Miscelaneous platform dependent initialisations
24 /* We have RAM, disable cache */
28 /* Arch number of Palm Tungsten|C */
29 gd->bd->bi_arch_number = MACH_TYPE_PALMTC;
31 /* Adress of boot parameters */
32 gd->bd->bi_boot_params = 0xa0000100;
35 writel(0x5f, PWM_CTRL1);
36 writel(0x3ff, PWM_PERVAL1);
37 writel(892, PWM_PWDUTY1);
43 int board_mmc_init(bd_t *bis)
53 gd->ram_size = PHYS_SDRAM_1_SIZE;
57 void dram_init_banksize(void)
59 gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
60 gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;