[U-Boot] [PATCH] avr32: add grasshopper (ICnova AP7000) board

Reinhard Meyer u-boot at emk-elektronik.de
Thu Jun 30 10:36:39 CEST 2011


Dear Andreas Bießmann,
> The grasshopper board is a neat avr32 evaluation kit produced by In-Circuit
> GmbH.
> ...
> +struct mmu_vm_range mmu_vmr_table[CONFIG_SYS_NR_VM_REGIONS] = {
> +    {
> +        .virt_pgno  = CONFIG_SYS_FLASH_BASE >> PAGE_SHIFT,
> +        .nr_pages   = CONFIG_SYS_FLASH_SIZE >> PAGE_SHIFT,
> +        .phys       = (CONFIG_SYS_FLASH_BASE >> PAGE_SHIFT)
> +                    | MMU_VMR_CACHE_NONE,
> +    }, {
> +        .virt_pgno  = CONFIG_SYS_SDRAM_BASE >> PAGE_SHIFT,
> +        .nr_pages   = EBI_SDRAM_SIZE >> PAGE_SHIFT,
> +        .phys       = (CONFIG_SYS_SDRAM_BASE >> PAGE_SHIFT)
> +                    | MMU_VMR_CACHE_WRBACK,
> +    },
> +};
> +
> +static const struct sdram_config sdram_config = {
> +    /* Dual MT48LC16M16A2-7E (or equal) */
> +    .data_bits      = SDRAM_DATA_32BIT,
> +    .row_bits       = 13,
> +    .col_bits       = 9,
> +    .bank_bits      = 2,
> +    .cas            = 2,
> +    .twr            = 2,
> +    .trc            = 7,
> +    .trp            = 2,
> +    .trcd           = 2,
> +    .tras           = 4,
> +    .txsr           = 7,
> +    /* 7.81 us */
> +    .refresh_period = (781 * (SDRAMC_BUS_HZ / 1000)) / 100000,
> +};

This patch is infested with 4/8 space indentations. Please fix to use tabs...

Best Regards,
Reinhard


More information about the U-Boot mailing list