Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

imx233: Make bootloader compile, fix up remanining warnings

Change-Id: Ie87d178c56455b93364dffa656ebbee9cd7a4bad

+8 -9
+1 -5
firmware/export/config/creativezenv.h
··· 25 25 explicitly if different */ 26 26 #define INPUT_SRC_CAPS SRC_CAP_MIC 27 27 28 - 29 - 30 28 /* define this if you have a colour LCD */ 31 29 #define HAVE_LCD_COLOR 32 30 ··· 161 159 #define CURRENT_MAX_CHG 200 162 160 163 161 /* Define this to the CPU frequency */ 164 - #define CPU_FREQ 454000000 162 + #define CPU_FREQ 200000000 165 163 166 164 /* Type of LCD */ 167 165 #define CONFIG_LCD LCD_CREATIVEZENV ··· 188 186 #define BOOTDIR "/.rockbox" 189 187 190 188 #define INCLUDE_TIMEOUT_API 191 - 192 -
+2 -2
firmware/target/arm/imx233/emi-imx233.c
··· 40 40 * Values from IMX233 manual, for Mobile DDR 7.5ns (133 MHz and 64MHz) 41 41 * Make sure the last value is written to register 40. */ 42 42 43 + #if IMX233_SUBTARGET >= 3700 43 44 static struct emi_reg_t settings_60M[15] ICONST_ATTR = 44 45 { 45 46 {4, 0x01000101}, /* DLL bypass mode, concurrent auto-precharge and bank split */ ··· 82 83 83 84 static void set_frequency(unsigned long freq) ICODE_ATTR; 84 85 85 - #if IMX233_SUBTARGET >= 3700 86 86 static void set_frequency(unsigned long freq) 87 87 { 88 88 /** WARNING all restriction of imx233_emi_set_frequency apply here !! */ ··· 217 217 info.size = 2 * (1 << (info.rows + info.columns)) * info.chips * info.banks; 218 218 #endif 219 219 return info; 220 - } 220 + }
+2 -2
firmware/target/arm/imx233/ssp-imx233.c
··· 8 8 * $Id$ 9 9 * 10 10 * Copyright (C) 2011 by Amaury Pouly 11 - * 11 + * 12 12 * This program is free software; you can redistribute it and/or 13 13 * modify it under the terms of the GNU General Public License 14 14 * as published by the Free Software Foundation; either version 2 ··· 262 262 { 263 263 (void) enable_pullups; 264 264 (void) bus_width; 265 + #ifdef VPIN_SSP2_CMD 265 266 unsigned clk_drive = PINCTRL_DRIVE_8mA; 266 267 unsigned dat_drive = PINCTRL_DRIVE_4mA; 267 - #ifdef VPIN_SSP2_CMD 268 268 /* SSP_{CMD,SCK} */ 269 269 imx233_pinctrl_setup_vpin(VPIN_SSP2_CMD, "ssp2_cmd", dat_drive, enable_pullups); 270 270 imx233_pinctrl_setup_vpin(VPIN_SSP2_SCK, "ssp2_sck", clk_drive, false);
+3
firmware/target/arm/imx233/system-target.h
··· 35 35 #define IMX233_CPUFREQ_454_MHz 454740000 36 36 #define IMX233_CPUFREQ_320_MHz 320000000 37 37 #define IMX233_CPUFREQ_261_MHz 261820000 38 + #define IMX233_CPUFREQ_200_MHz 200000000 38 39 #define IMX233_CPUFREQ_64_MHz 64000000 39 40 #define IMX233_CPUFREQ_24_MHz 24000000 40 41 ··· 44 45 #define CPUFREQ_MAX IMX233_CPUFREQ_454_MHz 45 46 #elif IMX233_SUBTARGET >= 3700 46 47 #define CPUFREQ_MAX IMX233_CPUFREQ_320_MHz 48 + #else 49 + #define CPUFREQ_MAX IMX233_CPUFREQ_200_MHz 47 50 #endif 48 51 #define CPUFREQ_SLEEP IMX233_CPUFREQ_64_MHz 49 52