2
* Palm LifeDrive Support
4
* Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
6
* SPDX-License-Identifier: GPL-2.0+
12
#include <asm/arch/pxa-regs.h>
13
#include <asm/arch/pxa.h>
16
DECLARE_GLOBAL_DATA_PTR;
19
* Miscelaneous platform dependent initialisations
24
/* We have RAM, disable cache */
28
/* arch number of PalmLD */
29
gd->bd->bi_arch_number = MACH_TYPE_PALMLD;
31
/* adress of boot parameters */
32
gd->bd->bi_boot_params = 0xa0000100;
35
writel(0x7, PWM_CTRL0);
36
writel(0x16c, PWM_PERVAL0);
37
writel(0x11a, PWM_PWDUTY0);
45
gd->ram_size = PHYS_SDRAM_1_SIZE;
49
void dram_init_banksize(void)
51
gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
52
gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
55
ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info)
57
info->portwidth = FLASH_CFI_16BIT;
58
info->chipwidth = FLASH_CFI_BY16;
59
info->interface = FLASH_CFI_X16;