Merge commit 'v2.6.37-rc2' into sched/core
[pandora-kernel.git] / arch / arm / mach-shmobile / board-ap4evb.c
index 32d9e28..d326054 100644 (file)
@@ -163,11 +163,13 @@ static struct mtd_partition nor_flash_partitions[] = {
                .name           = "loader",
                .offset         = 0x00000000,
                .size           = 512 * 1024,
+               .mask_flags     = MTD_WRITEABLE,
        },
        {
                .name           = "bootenv",
                .offset         = MTDPART_OFS_APPEND,
                .size           = 512 * 1024,
+               .mask_flags     = MTD_WRITEABLE,
        },
        {
                .name           = "kernel_ro",
@@ -581,6 +583,10 @@ static int fsi_set_rate(int is_porta, int rate)
                return -EINVAL;
 
        switch (rate) {
+       case 44100:
+               clk_set_rate(fsib_clk, clk_round_rate(fsib_clk, 11283000));
+               ret = SH_FSI_ACKMD_256 | SH_FSI_BPFMD_64;
+               break;
        case 48000:
                clk_set_rate(fsib_clk, clk_round_rate(fsib_clk, 85428000));
                clk_set_rate(fdiv_clk, clk_round_rate(fdiv_clk, 12204000));